Meaningless Drivel is fun!*
The moose likes Linux / UNIX and the fly likes problem with classpath :( Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "problem with classpath :(" Watch "problem with classpath :(" New topic
Author

problem with classpath :(

Praful Thakare
Ranch Hand

Joined: Feb 10, 2001
Posts: 613
Hello friends here i m again with problem this time it's with
CLASSPATH im using an thin driver for oracle so my registration is in following fashon
Class.forName("oracle.jdbc.drive.OracleDriver");
but i m gettin run time exception cannot find class OracleDriver.class well i have confirmed my class file is in
/usr/local/oracle/jdbc/driver/OracleDrive.class
so i have set classpath as follows
CLASSPATH=$CLASSPATH:/usr/local
and i also tried with CLASSPATH=/usr/local
but it;s not working and i have linux7.0
so plzzzzzzzzzzzz help me on this
..praful


All desirable things in life are either illegal, banned, expensive or married to someone else !!!
Michael Burke
Ranch Hand

Joined: Jul 29, 2000
Posts: 103
try export CLASSPATH.
Praful Thakare
Ranch Hand

Joined: Feb 10, 2001
Posts: 613
Thanx Michael Burke
Michael Burke
Ranch Hand

Joined: Jul 29, 2000
Posts: 103
Your welcome, I guess it worked? I'm new to Linux myself.
 
Don't get me started about those stupid light bulbs.
 
subject: problem with classpath :(
 
Similar Threads
Java and ORACLE XE connectivity Problem
Tomcat error when running startup.sh
is there something wrong with my classpath?
ORA-24327
Connection Exception