How to connect to the project jar package for its class without any IDE, using only the command line? I'm going to connect the JNA to use external methods.
javac -cp lib\*; Sample.java
java -cp lib\*; Sample
Where folder "lib" contains jar library, "Sample" is main class
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.