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 | 5d1c455de4068587d4ec67e4a0e8edc34c267e02 (patch) | |
tree | b7baf42b6c631ccdb89059538bb44843c922a585 /dev-util/netbeans/files | |
parent | License fix to sun-bcla-j2ee and added run script for 3.4.1; closes #18928. (diff) | |
download | gentoo-2-5d1c455de4068587d4ec67e4a0e8edc34c267e02.tar.gz gentoo-2-5d1c455de4068587d4ec67e4a0e8edc34c267e02.tar.bz2 gentoo-2-5d1c455de4068587d4ec67e4a0e8edc34c267e02.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 |