Running a Java Program

后端 未结 5 1074
没有蜡笔的小新
没有蜡笔的小新 2021-01-21 06:38

I looked at some other SO questions, didn\'t find anything that solved my problem... I have a Main.java file (below) and a OthelloLib.jar file without associated source files.

5条回答
  •  梦毁少年i
    2021-01-21 07:11

    Have you set a reference to OthelloLib.jar or invoking the javacompiler with the library as a parameter?

    java -classpath .:OthelloLib.jar -g Main
    

提交回复
热议问题