26 lines
783 B
Plaintext
26 lines
783 B
Plaintext
|
#
|
||
|
# Copyright (c) 2007-2008, Mario Fetka <mario-fetka@gmx.at>
|
||
|
#
|
||
|
# Licensed under the GNU General Public License, v2
|
||
|
|
||
|
if [ ! -d "/var/novell/nici/`id -u`" ] ; then
|
||
|
/var/novell/nici/primenici
|
||
|
fi
|
||
|
|
||
|
if [ "`uname -m`" = "x86_64" ] ; then
|
||
|
export GENTOO_VM="emul-linux-x86-java-1.6"
|
||
|
echo "using emul-linux-x86-java-1.6 java VM"
|
||
|
else
|
||
|
export GENTOO_VM="sun-jdk-1.6"
|
||
|
echo "using sun-jdk-1.6 java VM"
|
||
|
fi
|
||
|
|
||
|
LD_LIBRARY_PATH="/usr/ConsoleOne/bin:/usr/ConsoleOne/lib:/usr/ConsoleOne/lib32:/usr/lib:/usr/lib32:/opt/novell/lib:/opt/novell/lib32:/opt/novell/eDirectory/lib:/opt/novell/eDirectory/lib32:$LD_LIBRARY_PATH"
|
||
|
export LD_LIBRARY_PATH
|
||
|
|
||
|
for jar in /usr/ConsoleOne/ConsoleOneExt/*.jar; do
|
||
|
classpath="$classpath:$jar"
|
||
|
done
|
||
|
CLASSPATH="$classpath:$CLASSPATH"
|
||
|
export CLASSPATH
|