Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

For download expediency, use the latest JRE or JDK version found at www.bonsaiframework.com/downloads/  (hl)

Steps for JRE and JDK are both the same. Here is an example of a JDK JRE setup,

Note

Even on a 64-bit Operating System, 64-bit Java is not recommended at the moment due to significant loss in performance.

If you try and install 32-bit Java on 64-bit Ubuntu you will get the following error,

Code Block
languagebash
./jdkjre-6u22-linux-i586.bin
Unpacking...
Checksumming...
Extracting...
./jdkjre-6u22-linux-i586.bin: 113: ./install.sfx.7783: not found
Failed to extract the files.  Please refer to the Troubleshooting section of
the Installation Instructions on the download page for more information.

...

Code Block
languagebash
su - serveradmin # If you are not already serveradmin
cd ~ # Switch to the serveradmin home directory
chmod u+x jdkjre-6u22-linux-i586.bin
./jdkjre-6u22-linux-i586.bin

The result will be an uncompressed jdk jre directory using the same name as the package. In this example the folder name would be, jdk1jre1.6.0_22.

If you plan to use multiple versions of Java, we recommend keeping the folder name with the version number information and using symbolic links. If you are only using one version of Java, then simply rename the folder.

For the server example, we will rename the folder,

Code Block
mv jdk1jre1.6.0_22 java
Tip

You may be interested in how to Zero Footprint Java on Windows.