User 08c3042b5d
02-09-2010 01:48:41
Hi there,
Good day!
I am a new chemaxon user. I tried using the jchemmanager but, receive the following error message,
Exception in thread “main” java.lang.UnsupportedClassVersionError:
I have attached the snapshot of the error. I have also installed the JVM but, could not understand why i receive this error.
Immediate support would be highly appreciated.
Thanks,
Subha
ChemAxon aa7c50abf8
02-09-2010 07:25:52
Hi Subha,
You're using a Java version earlier than Java 5. JChem requires Java 5 or later.
Regards,
Peter
User 08c3042b5d
02-09-2010 07:33:23
Hi Peter,
I have the java 6 update 21 installed in my system.But, still i receive the same error.Is there anything specific i need to do after updating java?
Thanks,
Subha
ChemAxon aa7c50abf8
02-09-2010 07:49:37
Either remove earlier Java versions from your system or make sure that the parent directory of java(w).exe of the Java 6 version (C:\Program Files\Java\jdk1.6.0_20\bin on my system) comes first in the PATH environment variable.
(On my system I set JAVA_HOME to C:\Program Files\Java\jdk1.6.0_20 and my account's PATH variable starts with %JAVA_HOME%\bin.)
Regards,
Peter
User 08c3042b5d
06-09-2010 08:31:09
Hi Peter,
Good Day!
Sorry for the trouble,but, i have checked everything you have mentioned, JAVA_HOME set to C:\Program Files\Java\jdk1.6.0_21 and the PATH environment variable is placed second, after the JAVA_HOME user variable.
I did check the jcman.bat and found that the last line is set JVMPATH=%z%, Do i need to make any alterations in that?
Thanks,
Subha
User c1ce6b3d19
06-09-2010 13:59:27
Subha,
We would like to confirm what java version the JCMAN application is trying to use.
After starting jcman.bat, there is a command window with the error (as shown in your first post). After you receive this error, can you please type "java -version" into this same command window and tell us the result.
Thanks,
Jonathan Lee
User 08c3042b5d
07-09-2010 02:04:57
Hi Jonathan Lee,
Good day!
It says java version "1.4.2_06"
Java<TM> 2 Runtine Environment, Standard Edition <build 1.4.2_06-b03>
Java HotSpot<TM> Client VM <build 1.4.2_06-b03, mixed mode>
Thanks,
Subha
User c1ce6b3d19
07-09-2010 08:19:43
Subha,
It looks like the version of java that is being used is a version of Java 4 (i.e. 1.4.2)
Your problem or similar problems have been solved before:
https://www.chemaxon.com/forum/viewpost15140.html
Please read the forum post and double check the paths on your PATH variable. One thing that I didn't understand from a previous post is
"the PATH environment variable is placed second, after the JAVA_HOME user variable".
Perhaps explaining this part might help us further debug your issue.
If you would rather skip debugging your path problems, I might suggest downloading a JChem version that includes bundled Java. You may find it here:
http://www.chemaxon.com/download/jchem/jchem-for-java/
Best Regards,
Jon
User 08c3042b5d
07-09-2010 08:37:38
Hi Jon,
Good Day!
Thanks for that. I have reinstalled jchem with java.It works now.
Thanks again and Best Regards,
Subha