This commit is contained in:
milisbir 2018-09-28 18:02:13 +03:00
parent bb96367c07
commit cebc83efb3
2 changed files with 26 additions and 0 deletions

View File

@ -1,3 +1,5 @@
mps sil icedtea-web
install -d /usr/lib/mozilla/plugins
[ -f /sources/milis.git/talimatname/genel/j/jre/jre.sh ] && \
cp -f /sources/milis.git/talimatname/genel/j/jre/jre.sh /etc/profile.d/

View File

@ -0,0 +1,24 @@
# Begin /etc/profile.d/jre.sh
# Set JAVA_HOME directory
JAVA_HOME=/usr/lib/jre
# Adjust PATH
pathappend $JAVA_HOME/bin
AUTO_CLASSPATH_DIR=/usr/lib/java/lib
pathprepend . CLASSPATH
for dir in `find ${AUTO_CLASSPATH_DIR} -type d 2>/dev/null`; do
pathappend $dir CLASSPATH
done
for jar in `find ${AUTO_CLASSPATH_DIR} -name "*.jar" 2>/dev/null`; do
pathappend $jar CLASSPATH
done
export JAVA_HOME
unset AUTO_CLASSPATH_DIR dir jar
# End /etc/profile.d/jre.sh