rozšířené-atributy.sh
author František Kučera <franta-hg@frantovo.cz>
Mon, 25 Dec 2023 23:45:13 +0100
branchv_0
changeset 44 c43c96b0ab1b
parent 39 ec0e970e0830
permissions -rwxr-xr-x
back to the snapshot: 0.2-SNAPSHOT
franta-hg@7
     1
#!/bin/bash
franta-hg@7
     2
franta-hg@39
     3
#JAVA_HOME="/opt/jdk1.7.0";
franta-hg@39
     4
#JAVA_BIN="${JAVA_HOME}/bin/java";
franta-hg@39
     5
JAVA_BIN="java";
franta-hg@7
     6
SWING_LAF="-Dswing.defaultlaf=com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel";
franta-hg@39
     7
SWING_LAF="-Dswing.defaultlaf=javax.swing.plaf.nimbus.NimbusLookAndFeel";
franta-hg@44
     8
VER="0.2-SNAPSHOT"
franta-hg@39
     9
JAR="$(dirname $(realpath $0))/target/rozsirene-atributy-${VER}.jar";
franta-hg@7
    10
franta-hg@39
    11
${JAVA_BIN} ${SWING_LAF} -jar ${JAR} "${@}";