permaculture playing cards
The moose likes JDBC and Relational Databases and the fly likes how to set path? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "how to set path?" Watch "how to set path?" New topic

how to set path?

Allen Chan
Ranch Hand

Joined: Jun 07, 2002
Posts: 64
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:
subject: how to set path?
It's not a secret anymore!