2
  • 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!

Chiggiddi
  • 345

1 Answers1

6

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 http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

  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 https://github.com/neurobin/oraji

Have a great day, guys!

Anwar
  • 77,855
Chiggiddi
  • 345