Tag Info

New answers tagged

1

Actually all these PPAs are from third parties. Oracle does not provide any PPA, and the manual way of installing Oracle JDK 8 is explained in step by step manner in this article : Install Latest Oracle JDK in Ubuntu


0

Is JDK 8 required? I tend to get mostly everything to work with openjdk-7-jdk But then again, I have never worked with ant or python-for-android.


0

The WebUpd8 PPA is not updated any more. You can update java to 8u51 using a script. sudo apt-get install git curl git clone https://github.com/hanipouspilot/oracle-java8.git sudo sh oracle-java8/javains This is only for 64-bit Ubuntu. The problem is that Oracle changes links used in this script and I do not guarantee that I will update the script for ...


0

Your are seeing "environment does not meet all the requirements" error because Ubuntu is not a certified OS to install Oracle Database. Atleast in Production Env. I tried to install Oracle 12c Release 1 on Ubuntu 15.04 and it worked well. Following are the steps for reference Ensure that the /etc/hosts file must contain a fully qualified name for the ...


0

I tried to install Oracle 12c Release 1 on Ubuntu 15.04 and it worked well. Following are the steps for reference Ensure that the /etc/hosts file must contain a fully qualified name for the server. IP-address fully-qualified-machine-name machine-name Run following commands using root / root equivalent user sudo apt-get update sudo apt-get ...


0

Simply remove the folder sudo rm -r /usr/lib/jvm/java-8-oracle/jdk1.8.0_45 Still more you can not break. ;) Now purge it again sudo apt-get purge java-oracle8-installer After that, install it again via the outdated PPA or the script in @Pilot6 answer.


1

That repository is not updated. You can install Oracle java 8u51 by a script now. Run in terminal sudo apt-get install git git clone https://github.com/hanipouspilot/oracle-java8.git cd oracle-java8 sudo chmode +x javains sudo ./javains I hope they will update the ppa soon, and I will not have to maintain java installation for good.


0

This will automatically download the latest Oracle Java version for the currently running kernel's architecture, however as of now is missing the installation part (note: in the examples I've checked the current Java version against a custom text file in order to spoof the actual Java version) JavaUpdater.sh #!/bin/bash echo 'Checking for a new Java ...


1

Here is the script based on @A.B. answer. This script installs Oracle java 8 64-bit. On each run it checks version and updates java to the latest available. It can be placed to cron.daily or cron.weekly, to check for updates. #!/bin/sh J_INSTALL_DIR=/usr/lib/jvm/java-8-oracle URL=$(curl -s ...


6

The script works in conjunction with the WebUpd8 PPA. Therefore install Java by the PPA first. If there is a new version in the PPA, then this is installed via the package manager. In the meantime, the script can install a newer version, it there is a new version on the Oracle website. A few considerations Download a version via wget, eg: wget ...


0

This is probably a Vagrant/Windows problem, that you're encountering when attempting to install the RPM files from a shred folder. Copy the RPMs to a /oracle (or whatever) directory that's not in your shared directories, and the error should go away.


1

This is related to permissions: $ ls -ld /usr/local/ drwxr-xr-x 14 root root 4096 Sep 4 2014 /usr/local/ As you can see the directory /usr/local/ is owned by user root and group root so you are not able to just copy any file to this directory as a normal user. To overcome permissions you should use sudo: sudo cp ~/Downloads/java* /usr/local If you ...


0

You probably installed Oracle Java from WebUpd8 PPA. They did not update java to the latest release yet. You can do it manually. Download JDK from Oracle Site. You will need Linux x86 tar.gz file for 32-bit Ubuntu or x64 tar.gz file for 64-bit. Copy this file to /var/cache/oracle-jdk8-installer. Extract contents of the tar.gz archive to ...


2

I think it's caused by licence: OpenJDK is licensed under the GNU General Public License (GNU GPL) Oracle JDK is licensed under 'Sun License' To be honest, I would prefer to have Oracle Java in Ubuntu/Ubuntu-based since (unfortunately) some applications still demand it.


0

the problem is you don`t have installed packages needed for oracle in your system. i would recommend to use oracle universal installer, whic points you to packages needed when you try to install it. usually this problem can be easyly fixed by running “oracle-rdbms-server-11gR2-preinstall” package offered by “Oracle Public Yum” repository. Sadly we don't ...


0

You can use: which sqldeveloper to see where the executable script is installed. To make it easier to use, you can create a desktop icon. So create a file sqldeveloper.desktop anywhere you wish: cd /path/to/your/desktop/ nano sqldeveloper.desktop and populate it with: [Desktop Entry] Exec=sqldeveloper Terminal=false StartupNotify=true ...


20

Ubuntu has OpenJDK in its repository. It's the fully open-sourced version of the Oracle JDK, which contains some closed-source parts. It is a myth that OpenJDK is lower and less stable, but this was the past. Today (since version 7), they're pretty equal. OpenJDK is even the reference implementation for Java 7 and Java 8. It's a race between those two ...


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" ...



Top 50 recent answers are included