File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes how to set path? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "how to set path?" Watch "how to set path?" New topic
Author

how to set path?

Allen Chan
Ranch Hand

Joined: Jun 07, 2002
Posts: 64
Hi,
here is my question for java path
the original path show as
PATH=C:\Program Files\NetworkSimplicity\ssh;C:\WINNT\system32;C:\WINNT;C:\WINNT\
System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\SecureCRT 3.0;C:\jdk1.3.1\bin;.;C:\MSSQL7\BINN
the path seems OK but I cannot run my java program to connect to remote oracle db (ora9i)
the error says
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
but if I set path=c:\jdk1.3.1;.;
everything works
what is the difference or what should I do to set the path, since it looks the same to me.
[ September 06, 2002: Message edited by: Allen Chan ]
[ September 06, 2002: Message edited by: Allen Chan ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to set path?
 
Similar Threads
javac works java doesn't?classpath:path
Using ANT to build j2ee tutorial examples
Using ANT to build j2ee tutorial examples
Using JSObject for Java to Javascript communication crashes browser
java -version