1.5.0_04

Hi all,

I am facing this problem that i am unable to run my application in JDK

1.5.0_04 but it works perfectly in JDK 1.4. What could be the reason?

This is the error message i got when running with JDK 1.5.0_04 :

Exception in thread "main" java.lang.UnsuportedClassVersionError:

RoundRobinFast <Unsupported major.minor version 49.0>

at java.lang.ClassLoader.defineClass0<Native Method>

at java.lang.ClassLoader.defineClass<Unknown Source>

at java.security.SecureClassLoader.defineClass<Unknown Source>

at java.net.URLClassLoader.defineClass<Unknown Source>

at java.net.URLClassLoader.access$100<Unknown Source>

at java.security.AccessController.doPriviledged<Native Method>

at java.net.URLClassLoader.findClass<Unknown Source>

at java.lang.ClassLoader.loadClass<Unknown Source>

at sun.misc.Launcher$AppClassLoader.loadClass<Unknown Source>

at java.lang.ClassLoader.loadClass<Unknown Source>

at java.lang.ClassLoader.loadClassInternal<Unknown Source>

I have tried reinstalling jCreator and JDK 1.5.0_04 again but problem

still exists. Can someone help me? I am using windows xp.

[1265 byte] By [ah_neo82a] at [2007-10-1 21:38:31]
# 1
have you even tried to search the forums?Are you too lazy or too stupid to do a few minutes of your own research?
jwentinga at 2007-7-13 3:33:07 > top of Java-index,Administration Tools,Sun Connection...
# 2

You are trying to run a Java class compiled with version 1.5.0 on a 1.4 JVM (not the other way around, as you're suggesting).

Compile with "-target 1.4" if you want your code to be able to run on version 1.4.

If you're wondering why jwenting gave you such a rude answer: this question is asked and answered here at least once a day, so you could have found the answer very easily if you had done a search for "UnsuportedClassVersionError", for example.

jesperdja at 2007-7-13 3:33:07 > top of Java-index,Administration Tools,Sun Connection...