如何安装&运行colororacle?

时间:2014-05-10 10:02:27

标签: d3.js jar data-visualization

ColorOracle是适用于Window,Mac和Linux的免费色盲模拟器。它有助于检查色觉障碍人士的UI色彩设计。

其可执行文件是.jar。 如何安装运行colorOracle?

enter image description here

2 个答案:

答案 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