problem running JChem

12-10-2005 09:24:39

Hi,





I am a new user and I am trying to run JChem Base. Unfortunately I don’t manage to open it.





I got the entire license for ChemAxon Academic Package.





When I run “jcman.bat” I got the windows with the JDBC driver, URL of database, property table…





I fill them as the example “connecting to a database” but I got an error message “java.lang.Class Not found exception” and everything stop.





I tried also to open a database from my C driver, but that doesn’t work either.








Any help will be great as I am not experimented in this environment.








By the way, I am trying also to run some other “bat” command on the jchem/bin/ directory, but apart of “msketch.bat” “mview.bat” and “mspace.bat”, the rest doesn’t work. Is it normal?

ChemAxon 9c0afc9aaf

12-10-2005 09:50:39

Hi,





The problem is that JChem cannot find the JDBC driver for the database.





You should include the JDBC driver .jar file into your CLASSPATH environment variable.





Under Windows XP:





Start menu -> Control panel -> System-> Advanced -> Environment variables





You should always include the file rather the containing directory, so if the name of the .jar file is classes12.jar and it's located under c:\lib, the CLASSPATH variable should contain "C:\lib\classes12.jar".





The JDBC driver comes with the database or can be dowloaded from the vendor.





Under Windows an other environment variable "JCHEMHOME" should also be set.


Please see this page on how to set this variable:


http://www.chemaxon.com/jchem/doc/admin/prepscripts.html





Please note that after modifying environment variables you should open a new console (command prompt), so the changes can take effect.





Let us know if you have further problems.





Best regards,





Szilard