How to set the CLASSPATH When Using "java -jar...."?
(Doc ID 1506481.1)
Last updated on JANUARY 06, 2020
Applies to:JDBC - Version 22.214.171.124 and later
Information in this document applies to any platform.
When using the following command it returns class not found exception jdbcdriver oracle driver even when the CLASSPATH environment variable is set.
> java -jar sms_send.jar
The following works when using CLASSPATH inline.
> java -classpath "sms_send.jar:/oracle/ias10/jdbc/lib/classes12.zip" main.Main
How to set this up to use CLASSPATH environment variable?
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document