Howto install latest Oracle Java JDK (32-Bit) to Linux Xubuntu 14.04 (64-Bit) easiest way [duplicate]

  • I have managed to install the latest Openjdk version of Java JDK via:i386 suffix so far.
    • But my JavaFX app depends on the Oracle JDK to run properly
    • I have only successfully installed the 64-Bit of Oracle Java JDK via ppa:webupd8Team/java
    • But how can I install the 32-Bit Version of Oracle JDK?

I thank you for taking your time to read this message and trying to help me in finding a solution. Very much appreciated!

3

1 Answer

The easiest solution I have found so far is using a great tool called Oraji which automatically does the configuration for you. Here is the brief excerpt from the install instruction created by the Oraji developer:

  1. Download latest official 32-Bit Oracle JDK. File name should be jdk-... -linux-i586.tar.gz from

  2. Install Oraji on Ubuntu:

    sudo add-apt-repository -y ppa:neurobin/ppa
    sudo apt-get update
    sudo apt-get install oraji
  3. Java Installation Instruction:

    Run in terminal:

    sudo oraji '/path/to/the/jdk_or_jre_archive'

    or run

    sudo /path/to/oraji /path/to/the/jdk_or_jre_archive

    after giving the oraji script execution permission if you didn't install the script.

That's it. Now if you want to populate JAVA_HOME and other environment variables run source /etc/profile or logout and login.

For more info like Uninstall, Changing JDK version, just follow this nice tutorial by Oraji developers

Have a great day, guys!

5

You Might Also Like