rozšířené-atributy.sh
author František Kučera <franta-hg@frantovo.cz>
Sat, 16 Dec 2023 20:13:13 +0100
branchv_0
changeset 39 ec0e970e0830
parent 15 984cba2864e5
child 44 c43c96b0ab1b
permissions -rwxr-xr-x
Make, Ant, Maven a Netbeans - různé způsoby sestavení aplikace
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@39
     8
VER="0.1-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} "${@}";