The SE Runtime means that you're running Java Standard Edition, rather than Enterprise Edition (AKA Servlets/JSP, which need an application server). You should be just fine with what you have installed right now! If you want to develop Java programs, just make sure that javac
is installed on your system.
EDIT
Also, make sure that javac is being provided by java-6-sun, otherwise you'll probably be using the GNU Java compiler which doesn't seem to be what you want.
If You got Juniper SA older than 7.3, then You need to install both 32 and 64 bit.
You need to launch java 32 bit to run network connect.
You need to install libxtst6:i386 package to run 32bit version of java on 64 bit system:
sudo apt-get install libxtst6:i386 libxrender1:i386 libxi6:i386 libncurses5:i386 libncursesw5:i386 libncurses-ruby:i386
(if it fails, then install whole ia32-libs package).
install 64 bit version in /usr/lib/java/jre/
install 32 bit version in /usr/lib/java32/jre/
then do following:
sudo mv /usr/lib/java/jre/bin/java{,.orig}
sudo gedit /usr/lib/java/jre/bin/java
file should look like this:
#!/bin/bash
if [ "$3" = "NC" ]
then
/usr/lib/java32/jre/bin/java "$@"
else
/usr/lib/java/jre/bin/java.orig "$@"
fi
Then You need to make it executive:
sudo chmod +x /usr/lib/java/jre/bin/java
Then use update-alternatives to install appropriate version of java:
sudo update-alternatives --install /usr/lib/mozilla/plugins/libnpjp2.so java_plugin /usr/lib/java/jre/lib/amd64/libnpjp2.so 10
sudo update-alternatives --install /usr/bin/java java /usr/lib/java/jre/bin/java 10
sudo update-alternatives --install /usr/bin/javaws javaws /usr/lib/java/jre/bin/javaws 10
If You have encrypted home folder, since 13.04 there is nosuid added to mount options, so You can move .juniper folder outside of encrypted home, ie: /opt an the create a symlink:
cd ~
mv .juniper /opt
ln -s /opt/.juniper .
Determine if You have installed java plugin in Firefox (in add-ons -> plugins).
If So, You should be ready to go.
I took recipe from that page: http://ubuntuforums.org/showthread.php?t=232607&page=51
But if You want to run openjdk, then follow those steps:
sudo apt-get install openjdk-7-jre icedtea-7-plugin openjdk-7-jre:i386 ia32-libs
sudo mv /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java{,.orig}
sudo gedit /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java
It shoul look like this:
#!/bin/bash
if [ "$3" = "NC" ]
then
/usr/lib/jvm/java-7-openjdk-i386/jre/bin/java "$@"
else
/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java.orig "$@"
fi
Make it executive:
chmod +x /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java
So far it worked for me.
Regards,
Mario.
Best Answer
Juniper used to require Oracle Java, due to a bug in OpenJDK.
Refer : https://github.com/flexiondotorg/oab-java6
to install java.