EdgarWallace Posted February 27, 2014 Share Posted February 27, 2014 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. Quote Link to comment
ironicbadger Posted February 27, 2014 Share Posted February 27, 2014 I have compiled this for my repo but just not got round to adding it yet! I'd advise against installing base-devel unless you have too in a VM like this. Up to you of course... Nice action figuring this out. Don't be tempted to try out packer which does this for you will you? Sent from my Nexus 5 using Tapatalk Quote Link to comment
EdgarWallace Posted February 27, 2014 Author Share Posted February 27, 2014 openHAB is one of my killer apps so I had to do it. This is by no means anything against your excellent VM. I just enjoy learning; still a way to go Quote Link to comment
Recommended Posts
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.