${log.root}/lowem.log
Inflation, Investing and Everything


All | Musings | Tech | Java | Biz | Energy | Env

AddThis Feed Button
20070327 Tuesday March 27, 2007

IBM J9 JDK in Eclipse

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
c:\weme-6.1.1\lib\jclFoundation11\classes.zip to c:\weme-6.1.1\jre\lib\rt.jar

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.
JVMEXEX013E Internal VM error: Failed to create Java VM
JVMEXEX014I Run C:\weme-6.1.1\bin\java.exe -help for usage

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
2. Baltic Dry Index falls 93% as shipping rates plunge, signalling global economic collapse
3. Singapore SIBOR rate falls to 1.31%, lowest since Nov 2004
4. Singapore SIBOR interest rates fall to 1.5%, lowest since Dec 2004
5. Live spot gold price quotes chart on COMEX
6. 2010 Honda Civic Hybrid preliminary specifications released
7. Fuel prices seen stoking Malaysia inflation in 2008
8. How to insert currency exchange rates into Google Spreadsheets

Featured articles on lowem.log :

1. ABC Guide to Beating Inflation in Singapore and Elsewhere
2. Singapore inflation rate hits new 26-year high of 7.5% in Apr 2008
3. Baltic Dry Index falls 93% as shipping rates plunge, signalling global economic collapse
4. 67000 China factories closed in H1 2008 as global economic collapse takes hold
5. 2010 Honda Civic Hybrid preliminary specifications released
6. Peakoiler buys 2008 Honda Civic Hybrid FD3
7. NYMEX crude oil recovers from $32.40 low after 2.2 mbpd OPEC production cut announced
8. Singapore SIBOR rate falls to 0.94% in Nov 2008, lowest since Jul 2004





archives
search
sponsored links





bookmarks

about
my profile
contact me

personal
biow
ken
wenn

sites
photo gallery
wiki

blogroll
reviewem
sgenergycrisis
theenergycollective

forums
goldclubasia.com
peakoil.com


navigation
decals

Click for Singapore, Singapore Forecast





rss feed for lowem.log

Get Firefox!

powered by
hosted by