Unsupported major.minor version 49.0 [message #70766] |
Mon, 15 May 2006 02:38 |
Eclipse User |
|
|
|
Originally posted by: ggaines.kyos.net
Hi all,
I've been beating my head over this one. I'm getting a "The java class
could not be loaded. java.lang.UnsupportedClassVersionError: (Unsupported
major.minor version 49.0)" when I have been trying to profile our code.
I've updated the java to 1.5.0_06 and removed all old versions, rebuilt my
eclipse platform and redownloaded the src code from the cvs - and only
when profiling do I get the error. The code runs fine in the eclipse
environment.
Unless I've got a version of the jdk hidden somewhere that is really
hidden, I don't see how I'm getting the major.minor version 49.0 problem.
I've checked throughout the eclipse environment - and it's using the
1.5.0_06 version of the jvm.
Any thoughts?
Thanks, George
|
|
|
Re: Unsupported major.minor version 49.0 [message #70779 is a reply to message #70766] |
Mon, 15 May 2006 13:59 |
Eclipse User |
|
|
|
Originally posted by: cindyjin.ca.ibm.com
Hi George:
I got the same error before,when I did the Junit testing on remote
machine. The problem is my eclipse platform is using 1.5.0_06 JVM, but
on the remote machine, the agent controller(RAC) is using the 1.4.2 JVM.
This problem is fixed by changing the Java Compiler compliance level
at the Eclipse working environment.
You can check whether the agent controller on the remote machine is
using 1.5.0_06 JVM as while. If it is not, you can to go to the Eclipse
Preferences->Java->Compiler at the JDK compliance panel chance complier
compliance level to the version of JVM used by RAC.
Hope this can help you.
Cindy
George Gaines wrote:
> Hi all,
> I've been beating my head over this one. I'm getting a "The java class
> could not be loaded. java.lang.UnsupportedClassVersionError:
> (Unsupported major.minor version 49.0)" when I have been trying to
> profile our code. I've updated the java to 1.5.0_06 and removed all old
> versions, rebuilt my eclipse platform and redownloaded the src code from
> the cvs - and only when profiling do I get the error. The code runs
> fine in the eclipse environment.
>
> Unless I've got a version of the jdk hidden somewhere that is really
> hidden, I don't see how I'm getting the major.minor version 49.0
> problem. I've checked throughout the eclipse environment - and it's
> using the 1.5.0_06 version of the jvm.
> Any thoughts?
>
> Thanks, George
>
|
|
|
Powered by
FUDForum. Page generated in 0.03443 seconds