rozšířené-atributy.sh
author František Kučera <franta-hg@frantovo.cz>
Fri, 30 Dec 2011 12:37:30 +0100
branchv_0
changeset 17 bdae9cab5797
parent 15 984cba2864e5
child 39 ec0e970e0830
permissions -rwxr-xr-x
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)
franta-hg@7
     1
#!/bin/bash
franta-hg@7
     2
franta-hg@7
     3
JAVA_HOME="/opt/jdk1.7.0";
franta-hg@7
     4
JAVA_BIN="${JAVA_HOME}/bin/java";
franta-hg@7
     5
SWING_LAF="-Dswing.defaultlaf=com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel";
franta-hg@7
     6
JAR="java/rozsirene-atributy/dist/rozsirene-atributy.jar";
franta-hg@7
     7
franta-hg@15
     8
# For English localization uncomment this:
franta-hg@15
     9
# LANG="en_US.utf8";
franta-hg@15
    10
franta-hg@7
    11
${JAVA_BIN} ${SWING_LAF} -jar ${JAR} "${1}";