jcman connection error

User e34a92cce5

14-07-2005 14:33:17

Hi,


I am on a Windows machine running jcman to connect to an Oracle database on a Linux box. I have my windows classpath that includes the directory to the Oracle client jar files. I get the following error message on connecting.





java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver


at java.net.URLClassLoader$1.run(Unknown Source)


at java.security.AccessController.doPrivileged(Native Metho


at java.net.URLClassLoader.findClass(Unknown Source)


at java.lang.ClassLoader.loadClass(Unknown Source)


at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Sourc


at java.lang.ClassLoader.loadClass(Unknown Source)


at java.lang.ClassLoader.loadClassInternal(Unknown Source)


at java.lang.Class.forName0(Native Method)


at java.lang.Class.forName(Unknown Source)


at chemaxon.util.ConnectionHandler.setConnected(ConnectionH


at chemaxon.util.ConnectionHandler.connect(ConnectionHandle


at chemaxon.jchem.gui.Connector.go(Connector.java:95)


at chemaxon.jchem.gui.JChemFrame.connect(JChemFrame.java:56


at chemaxon.jchem.JChemManager.init(JChemManager.java:89)


at chemaxon.jchem.JChemManager.main(JChemManager.java:106)

ChemAxon 9c0afc9aaf

14-07-2005 14:43:13

Hi Renju,





You should include classes12.jar into your CLASSPATH.





You can find this file at the following location:





<oracle_home>/jdbc/lib





Please also note that after editing environment variables you should open a new console for the changes to take effect.





Best regards,





Szilard

ChemAxon a3d59b832c

15-07-2005 06:06:31

Hi Renju,





Please note that the CLASSPATH must contain the jar itself, not only the directory.





All the best,


Szabolcs