Newbie: -classpath option of java does not load the content of the jar file
- From: Guy <guyharel13@xxxxxxxxx>
- Date: Tue, 26 Jun 2007 13:42:03 -0700
I have the following command:
java j -classpath ojdbc14.jar
The file "ojdbc14.jar" is in my current directory. If I use the
verbose mode, I can see that the odbc package is not getting loaded.
If I un-jar the content of ojdbc14.jar in my current directory and run
in verbose mode, I can see it is being loaded:
Start...
[Loaded java.lang.Package from C:\Program Files\Java\jre1.5.0_10\lib
\rt.jar]
[Loaded java.sql.Driver from C:\Program Files\Java\jre1.5.0_10\lib
\rt.jar]
[Loaded oracle.jdbc.driver.OracleDriver from file:/C:/_t/Java/
Why do I need to un-jar the package ?
Thanks
.
- Follow-Ups:
- Prev by Date: Re: Recording an ISO-639-1 language code
- Next by Date: Re: how does windows find java.exe?
- Previous by thread: how does windows find java.exe?
- Next by thread: Re: Newbie: -classpath option of java does not load the content of the jar file
- Index(es):