Specify the Classpath
-classpath
option for the application. For example:- On Windows:
java -classpath <complete-path-to-tools.jar>;%CLASSPATH% -jar myApp.jar
- On Unix:
java -Xbootclasspath/a:<complete-path-to-tools.jar> -jar myApp.jar
-classpath
option for the application. For example:java -classpath
<complete-path-to-tools.jar>;%CLASSPATH% -jar
myApp.jar
java
-Xbootclasspath/a:<complete-path-to-tools.jar>
-jar myApp.jar