Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

J9

Revision as of 21:38, 23 April 2006 by Jeff (Talk | contribs) (Getting J9)

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.

Getting J9

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.

  1. go to the WEME trials site
  2. select any of the links in the right hand column of the WEME 6.1 table (the first table on the page)
  3. 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)
  4. verify that you are about to get the right thing and click "Continue"
  5. 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)
  6. be sure to read and then agree to the license
  7. 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.
  8. Download the Binary or Executable file as you choose (acutally I don't know what a .bin file is...)
  9. after the download completes, run the installer and follow the instructions etc etc.
  10. when the install completes there will be a zip file called something like weme-win-x86-ppro10_6.1.0.20060317-111429.zip 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. Of the ~46MB you downloaded, you actually only want that 8.5MB zip!
  11. unzip the J9 configuration zip file wherever you like

Running J9

J9 runs like any other Java system with the exception that the executables are called 'j9' and 'j9w' instead of 'java' and 'javaw'.

Configuring J9 into your IDE

Now that you have J9 on your system, you need to tell the Eclipse IDE about it. That is you need to install the JRE. Follow the instructions in the Eclipse help. Choose the "Standard VM" type and use the location into which you unzip'd J9 as the JRE home directory.

If you are doing plug-in development, there is no need to set this new JRE definition as the default, PDE will match up your execution environment automatically.

Foundation 1.1

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.

Back to the top