Changes to Plug-in Project Classpath
NutShell
To make sure you can compile your code successfully, you must add the following lines to the project's classpath,
where RSE_HOME is the folder where you installed the product:
- RSE_HOME/com.ibm.etools.systems.core_5.0.0/runtime/clientserver.jar
- RSE_HOME/com.ibm.etools.systems.core_5.0.0/runtime/systems.jar
- RSE_HOME/com.ibm.etools.systems.core_5.0.0/runtime/mofrt.jar
- RSE_HOME/com.ibm.etools.systems.logging_5.0.0/runtime/systemslogging.jar
Step-By-Step Details
Right-click on your project.Select Properties, and then select the
Libraries tab. You will now add the RSE jar files you
need to reference, in order to compile the code successfully:
-
Press the Add Variable button on the right of the list, to open the
New Variable Classpath Entry dialog.
-
Press the New button to open the New Variable Entry dialog.
Specify "RSE_HOME" for the Name and "c:/WDSC/iSeries/eclipse/plugins"
for the Path, where "c:/WDSC" is the folder where you installed the Eclipse-based product you are running.
Press OK to return to the New Variable Classpath Entry dialog.
- Press the Extend button to get the Variable Extension dialog.
Find the folder com.ibm.etools.systems.core_5.0.0/runtime, expand it, and select system.jar.
Press OK to return to the Libraries tab, and select No on the warning message.
- Press the Add Variable button to get the New Variable Classpath Entry dialog again, and select the RSE_HOME variable.
Press Extend and select the mofrt.jar file in the same
com.ibm.etools.systems.core_5.0.0/runtime folder.
Press OK to return to the Libraries tab.
- Repeat the previous step, for systems.jar and clientserver.jar.
- Repeat the previous step, but this time select folder com.ibm.etools.systems.logging_5.0.0/runtime,
and file systemslogging.jar.
Press OK to return to the Libraries tab.
- Press OK to close the Properties for
RSESamples dialog.
