rozšířené-atributy.sh
author František Kučera <franta-hg@frantovo.cz>
Fri Dec 30 12:37:30 2011 +0100 (2011-12-30)
changeset 17 75b7d41b7428
parent 7 48d5fdb68798
child 39 12cc8aa876c9
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}";