Adding update-alternatives call to set sun-java as default java in sun-java example hook.
This commit is contained in:
parent
daeec2c4ca
commit
f560e977a9
|
@ -26,3 +26,6 @@ DEBIAN_FRONTEND="dialog" apt-get install --yes sun-java6-bin sun-java6-demo \
|
||||||
# Ensure that /tmp has the right permissions; apparently sun-java5-doc tampers
|
# Ensure that /tmp has the right permissions; apparently sun-java5-doc tampers
|
||||||
# with it
|
# with it
|
||||||
chmod 1777 /tmp
|
chmod 1777 /tmp
|
||||||
|
|
||||||
|
# Set sun-java as default java
|
||||||
|
update-alternatives --set java /usr/lib/jvm/java-6-sun/jre/bin/java
|
||||||
|
|
Loading…
Reference in New Issue