Tuesday March 27, 2007 | ${log.root}/lowem.log Inflation, Investing and Everything |
|
Instructions for setting up the Windows edition of the IBM J9 JDK for local development of mobile applications in Eclipse. 1. Install the IBM J9 JDK for Windows (aka WEME - "Websphere Everyplace Micro Environment"). 2. Look for, and unzip weme-win-x86-ppro11_6.1.1.20061110-161633.zip into an empty directory. I chose c:\weme-6.1.1 - just change the references below if you choose a different directory. 3. From Eclipse, go to Windows, Preferences, Java, Installed JREs and click Add. 4. Browse to the directory that was unzipped to earlier (c:\weme-6.1.1). 5. You will get an error message : "Target is not a JDK Root. Java executable was not found"
6. To fix that, copy c:\weme-6.1.1\bin\j9.exe to java.exe in the same directory 7. If you try Step #3 again, you will get another error message : "Target is not a JDK Root. System library was not found."
8. Not a problem : just create the directory c:\weme-6.1.1\jre\lib and copy 9. There should be no further complaints from Eclipse at this point. 10. Enter a name for the JRE, let's say, weme-6.1.1 11. Uncheck "Use default system libraries", click Add External Jars, and add the required libraries :
12. Select weme-6.1.1 as your default JRE, click OK, and your project will now re-compile under the J9 JDK.
13. If you try running your application, you will get this error message : JVMJ9VM011W Unable to load jclfoun10_23: The specified module could not be found. 14. Go back to Installed JREs and edit your weme-6.1.1 JRE 15. Under Default VM Arguments, add -jcl:ppro11
16. Your application should now run under the J9 JDK. You should be able to debug as well. 17. (optional) - If you would like to browse the JDK source code, add the source attachment settings :
- Skip the error messages above and enter all the required settings directly to save time. Just showing them here for my own reference. (2007-03-27 18:19:48 SGT)
[Java]
Permalink
Comments:
Post a Comment:
Comments are closed for this entry.
Most popular blog postings on lowem.log : 1. Singapore SIBOR rate falls to 0.94% in Nov 2008, lowest since Jul 2004 Featured articles on lowem.log : 1. ABC Guide to Beating Inflation in Singapore and Elsewhere |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||