ArchVM: Replacing openJDK -->> Oracle Java


Recommended Posts

Arch Linux comes with the open source OpenJDK. I would like to share an excellent site for those who have issues with the Arch JVM implementation (I had issues with openHAB) and have to use Oracle's proprietary version of Java instead: https://wiki.archlinux.org/index.php/java

 

Rather than installing the Oracle JDK in parallel with openJDK, I decided to remove openJDK and installed jdk7 instead.

 

Here is the AUR site with the package that you need: https://aur.archlinux.org/packages/jdk/ and here are that steps for installing it:

1.) install the base-devel package (sudo pacman -S base-devel)
2.) Download the tarball (upper right corner) and move it into your home directory
3.) Untar the package, change into the directory and run a "makepkg":
       tar -xvzf /<path>/example.tar.gz
       cd example
       makepkg
4.) The package that has been produced has to be installed via pacman:
       sudo pacman -U example.pkg.tar

 

That's all.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.