java import external jar file
作者:互联网
file structure:
-rw-rw-r-- 1 mikeli mikeli 1147952 Aug 13 01:21 algs4.jar
-rw-rw-r-- 1 mikeli mikeli 146 Aug 31 00:43 TestAlgs4.java
mikeli@dell-pc:~/code/algo_java$ javac -cp ./algs4.jar TestAlgs4.java
mikeli@dell-pc:~/code/algo_java$ java -cp $CLASSPATH:algs4.jar TestAlgs4
output result successfully!
标签:rw,java,TestAlgs4,jar,external,algs4,import,mikeli 来源: https://www.cnblogs.com/lsjava/p/16641524.html