Upraveno pro OpenJDK verze: 1.7.0_147-icedtea / 21.0-b17.
$ java -version
java version "1.7.0_147-icedtea"
OpenJDK Runtime Environment (IcedTea7 2.0) (7~b147-2.0-0ubuntu0.11.10.1)
OpenJDK 64-Bit Server VM (build 21.0-b17, mixed mode)
3 JAVA_HOME="/opt/jdk1.7.0";
4 JAVA_BIN="${JAVA_HOME}/bin/java";
5 SWING_LAF="-Dswing.defaultlaf=com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel";
6 JAR="java/rozsirene-atributy/dist/rozsirene-atributy.jar";
8 # For English localization uncomment this:
11 ${JAVA_BIN} ${SWING_LAF} -jar ${JAR} "${1}";