Click to See Complete Forum and Search --> : Java Runtime Error


cloud4288
11-22-2007, 06:17 AM
can anyone help me???...

I keep getting a UnsupportedClassVersionError everytime I execute a class...

but when I use an IDE it works perfectly...

can anyone tell me what's happening???...

nspils
11-22-2007, 01:27 PM
Do your Path and ClassPath environment variables point to your most current installation of the JDK/JRE? It may be that the IDE is pointing to the most current version (which supports the Class in question) while your "command line" environment does not invoke that supporting JDK/JRE.

Hack
11-25-2007, 06:53 AM
What is the code for the class that gives you the error?

cloud4288
12-04-2007, 06:33 AM
thanks, I found the problem...

It's because of the different versions of JRE installed...

I've solve it by directly calling java commands in their specific version...

thanks for the help... :)