Skip to main content



      Home
Home » Newcomers » Newcomers » Eclipse 3.1 xdoclet module doesnŽt work with JDK 1.4
Eclipse 3.1 xdoclet module doesnŽt work with JDK 1.4 [message #126294] Wed, 28 December 2005 02:15 Go to next message
Eclipse UserFriend
Originally posted by: Joerg.Spilker.sla.niedersachsen.de

Hello,

iŽve eclipse 3.1 installed with JDK 1.4.2 und 1.5.0. Also JBoss 3.2.7 and
4.0.2 are installed. Default SDK is 1.5.0. JBoss 3.2.7 is running with JDK
1.4.2 and JBoss 4.0.2 with 1.5.0. IŽve some old J2EE 1.3 projects (JBoss
3.2.X based) which are developed with Eclipse 2.x and JDK 1.4.2. The
Default JDK for these projects is set 1.4.2 and also compatibility is set
to 1.4. IŽve JBoss IDE 1.5.0.RC1 installed.

However: Running xdoclet fails with the following error:

BUILD FAILED
java.lang.UnsupportedClassVersionError: xjavadoc/ant/XJavadocTask
(Unsupported major.minor version 49.0)

When i changed the JDK to 1.5.0 for the project, xdoclets runs without
problems and i can change back to 1.4.2. after the xdoclet call. Is there
any smoother solution?

Greetings, Jörg
Re: Eclipse 3.1 xdoclet module doesnŽt work with JDK 1.4 [message #133847 is a reply to message #126294] Wed, 01 February 2006 06:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dananjaya_marasinghe.yahoo.com

Hi

"Unsupported major.minor version 49.0" implies that the error has been
occured becasue that some of the features come with Eclipse 3.1 does not
compatible with
xdoclet 1.2.3 and jdk 1.4_... therefore going for jdk 1.5 ... is the only
solution I could find after going through lot of experiments.
Re: Eclipse 3.1 xdoclet module doesn [message #134042 is a reply to message #133847] Wed, 01 February 2006 12:22 Go to previous message
Eclipse UserFriend
If I remember my numbers correctly this means that you are attempting to use
1.5 compiled classfiles on a 1.4 VM.
Your libraries must be compatible with the runtime you are using.
Nothing really to do with Eclipse nor xdoclet.

HTH
Darins

"jguru" <dananjaya_marasinghe@yahoo.com> wrote in message
news:81a128393e3d3eaef45fe23046bc7c09$1@www.eclipse.org...
> Hi
>
> "Unsupported major.minor version 49.0" implies that the error has been
> occured becasue that some of the features come with Eclipse 3.1 does not
> compatible with
> xdoclet 1.2.3 and jdk 1.4_... therefore going for jdk 1.5 ... is the only
> solution I could find after going through lot of experiments.
>
>
Previous Topic:Scrapbook Limitiation
Next Topic:Show file path for what I am working on
Goto Forum:
  


Current Time: Mon Jul 07 12:05:57 EDT 2025

Powered by FUDForum. Page generated in 0.08961 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top