Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Unsupported major.minor version 49.0
Unsupported major.minor version 49.0 [message #70766] Mon, 15 May 2006 02:38 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
>
Previous Topic:TPTP Profiling of WTP Generic Servers
Next Topic:"java.exe has encountered a problem..." What am I doing wrong??? TPTP on Java 5.0?
Goto Forum:
  


Current Time: Wed May 08 01:14:01 GMT 2024

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

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

Back to the top