Using RMI plugin with WSAD 5.1 and JDK 1.4.x

This is the place where you can find answers to the most frequently asked questions

Using RMI plugin with WSAD 5.1 and JDK 1.4.x

Postby genady » Fri Sep 12, 2003 7:54 pm

The integration with WSAD 5.1 is a little more complicated that with eclipse, and I'm working on it now.
The basic problem is that WSAD uses its own proprietary JVM (called J9?)and this JVM is at 1.3.x level. This causes problems with 1.4.x projects as discussed at http://www.genady.net/forum/viewtopic.php?t=5

In order to develop 1.4.x projects in WSAD, follow the steps below:

1. Download and install JDK 1.4.2 from http://java.sun.com (if you haven't done so yet). Notice that it should be a JDK download and not a JRE download.
2. In the "Installed JREs" item in Java preferences (Window->Preferences) add the JDK you just installed.

3. Make your project use the JDK you just installed (in project preferences, go to "Java Build Path" and select the libraries tab. Remove the current JRE_LIB or JRE system library (whatever appears). Press "Add library" and select "JRE System Library". From the list of JREs pick the JDK you just installed)
4. Change your WSAD shortcut (right click on it in Window's Start Menu and select "Properties") and add the following argument in the "Target" field: "-vm <path to JDK 1.4.2>\bin\javaw.exe"
5. Find the wsappdev.ini file in the WSAD installation folder. Find the line that says "VMArgs=-Xj9" and comment it out (prefix it by #)

This should do the trick. If you have more questions or problems regarding the integration, please post your questions in this forum or look at http://www.genady.net/rmi/

Genady
genady
Site Admin
 
Posts: 397
Joined: Sat Aug 16, 2003 5:15 pm

Return to RMI FAQ

Who is online

Users browsing this forum: No registered users and 0 guests

cron