答案 0 :(得分:1)
运行部分的替代解决方案是使用Java -jar
选项:
java -jar ./colorOracle/ColorOracle.jar
摘自man java
页面:
-jar
Execute a program encapsulated in a JAR file. The first argument is the name of a JAR file instead of a startup class name. […./colorOracle/ColorOracle.jar]. See the Jar tool reference page and the Jar trail of the Java Tutorial @ http://java.sun.com/docs/books/tutorial/jar for information about working with Jar files and Jar-file manifests.
答案 1 :(得分:0)
在Linux上,通过终端:
cd ./path/to/myfolder
mkdir colorOracle
curl -o ./colorOracle/ColorOracleJar.zip -C - http://colororacle.org/ColorOracleJar.zip
unzip -n ./colororacle/ColorOracleJar.zip -d ./colorOracle
chmod a+x ./colorOracle/ColorOracle.jar
./colorOracle/ColorOracle.jar
对于其他操作系统,请参阅http://colororacle.org