diff options
author | Dylan Carlson <absinthe@gentoo.org> | 2003-05-26 10:49:15 +0000 |
---|---|---|
committer | Dylan Carlson <absinthe@gentoo.org> | 2003-05-26 10:49:15 +0000 |
commit | dd3cabd88e09eab702c47be74fa7bf2a3623ae28 (patch) | |
tree | aab0c98a738f75bb07bc12abc28b9a54cb0081c1 /dev-util/netbeans/files | |
parent | License fix to sun-bcla-j2ee and added run script for 3.4.1; closes #18928. (diff) | |
download | historical-dd3cabd88e09eab702c47be74fa7bf2a3623ae28.tar.gz historical-dd3cabd88e09eab702c47be74fa7bf2a3623ae28.tar.bz2 historical-dd3cabd88e09eab702c47be74fa7bf2a3623ae28.zip |
License fix to sun-bcla-j2ee and added run script for 3.4.1; closes #18928.
Diffstat (limited to 'dev-util/netbeans/files')
-rw-r--r-- | dev-util/netbeans/files/netbeans | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-util/netbeans/files/netbeans b/dev-util/netbeans/files/netbeans new file mode 100644 index 000000000000..94aa1ae67630 --- /dev/null +++ b/dev-util/netbeans/files/netbeans @@ -0,0 +1,26 @@ +# Author: Dylan Carlson +# May 2003 +# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/files/netbeans,v 1.1 2003/05/26 10:49:11 absinthe Exp $ + +JAVA_HOME=`/usr/bin/java-config --jdk-home` +if [ -z "${JAVA_HOME}" ] ; then + JAVA_HOME=`/usr/bin/java-config --jre-home` +fi + +if [ ! -f ${JAVA_HOME}/bin/java ] ; then + echo " " + echo "I tried using the following Java Runtime:" + echo "${JAVA_HOME}/bin/java" + echo " " + echo "Java Runtime missing. Please run java-config(1) and ensure" + echo "your environment is configured properly." + exit 1 +else + echo " " + echo "Using Java Runtime:" + echo "${JAVA_HOME}/bin/java" + echo " " + echo "Using CLASSPATH:" + echo "${CLASSPATH}" + echo " " +fi |