How to set classpath when class files are in .jar file?
SolutionFollowing example demonstrates how to set class path when classes are stored in a .jar or .zip file.
c:> java -classpath C:\java\myclasses.jar utility.testapp.mainResult
The above code sample will produce the following result.
Class path set.
java_environment_setup.htm
Print Page
Previous
Next
Advertisements
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4