J9 is the Java VM and classlibrary technology from IBM. It is highly versatile and is used as the basis for many of IBM's product offerings from embedded to enterprise. IBM has also made the J9 VM available to the Apache Harmony project for use in running their class libraries.
IBM offers a number of J9 configurations free for evalutation use. For Eclipse developers looking to compile or run bundles that require only the Foundation 1.0 classes, this is ideal.
The trial J9 configurations are shipped as part of the WebSphere Everyplace Micro Environment (WEME) 6.1 product. Follow the steps below to get WEME 6.1.
- go to the WEME trials site
- select any of the links in the right hand column of the WEME 6.1 table (the first table on the page)
- on the Trials and betas page choose the trial that applies to you. Here you are choosing between Linux and Windows (ensure you select version 6.1)
- verify that you are about to get the right thing and click "Continue"
- at this point you will be ask to login/register. This process is relatively harmless and in the end worthwhile (you are after all getting this JRE for free)
- be sure to read and then agree to the license
- finally you get to te download page. Here there are several choices so read the headings carefully. You want "CDC 1.0/Foundation 1.0/Personal Profile1.0 for Windows XP/X86" (or the corresponding one for Linux). This was the second section at the time of writing.
- Download the Binary or Executable file as you choose (acutally I don't know what a .bin file is...)
- after the download completes, run the installer and follow the instructions etc etc.
- when the download completes there will be a zip file in the install location. That is the J9 configuration you want. Ignore all the other _jvm stuff. That, ironically, is the JRE used to run the installer that "installed" the .zip file.
- unzip the J9 configuration zip file wherever you like
J9 runs like any other Java system with the exception that the executable is called 'j9' instead of 'java'.
You may have noticed Foundation 1.1 downloads available. You are free to use Foundation 1.1 but as of this writing, the J9 Foundation 1.1 configuration is not readily recognized by the Eclipse IDE. Using this configuration requires that you get and install the J9 Launching plugin from the JDT Debug page.