Tag Info

New answers tagged

1

1.Download java http://www.oracle.com/technetwork/java/javase/downloads/index.html 2.Open terminal type commant cd Downloads tar xzvf jdk-8u25-linux-x64.tar.gz sudo mkdir /usr/lib/jvm sudo mv ~/Downloads/jdk1.8.0_25/ /usr/lib/jvm/ sudo chown -R root:root /usr/lib/jvm/jdk1.8.0_25 sudo update-alternatives --install "/usr/bin/java" "java" ...


1

Installation of Oracle Java: Donwload the tarball from Oracle website unzip it by sudo tar -xvpzf fileName -C /installation_folder_name change the files permission and ownership add the following two lines in /etc/profile export JAVA_HOME=/home/abu/Java/jdk1.8.0_45/ export PATH=$JAVA_HOME/bin:$PATH restart the machine and check by java -version and ...


0

OpenJDK is more Open and thus also better to debug, fix and configure. It tends to be a bit slower though. Incompatibilities should not arise (anymore) - Android itself can be built using the OpenJDK.


0

I think that it depends on what you are going to be doing. There are probably some compatibility issues for random features. I have not ran into any myself but you may be better off using the JDK from Oracle. Webupd8[1] does a great job distributing the JDK via a PPA which makes it pretty easy to install on Ubuntu. ...


1

update-java-alternatives is actually pretty nice. So, to get it to work with my manual installation: copy jdk1.8.0_45 to /usr/lib/jvm cp .java-1.7.0-openjdk-amd64.jinfo .java-1.8.0-u45-amd64.jinfo ln -s jdk1.8.0_45 java-1.8.0-u45-amd64 Then I used vim for a search / replace: vim .java-1.8.0-u45-amd64.jinfo :%s/java-7-openjdk-amd64/java-1.8.0-u45-amd64 ...


0

See the ~/.java/deployment/security/exception.sites file.


0

This is because there is some 32 bit libraries are missing in your Ubuntu 64 bit. Run: apt-get install libc6-i386 you can reference to this for more information



Top 50 recent answers are included