Follow the instructions provided in the download of Sun Java RTS to install it:
On Solaris OS you need to install both the JVM (package SUNWrtjv) and the Cyclic Driver (package SUNWrtjc).
On Linux you can untar the installation bundle wherever you like.
Ensure you configure the necessary execution permissions for your user account
(as per the installation instructions) and logout and back in again so that those
new permissions take affect.
Test the installation of Sun Java RTS:
Open a terminal window and enter: <INSTALL_DIR>/bin/java -version
The output should look similar to the following:
# ~/realtimejava > /opt/SUNWrtjv/bin/java -version
java version "1.5.0_16"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16_Java-RTS-2.2-b08_RTSJ-1.0.2)
Java Real-Time System HotSpot(TM) Client VM (build 1.5.0_16-b08, mixed mode)
Install JDK™ 6 (for use by Netbeans™)
Follow the instructions provided with the JDK™ download
Install the Netbeans™ 6 IDE
Follow the instructions provided with the Netbeans download
Start the Netbeans IDE and check the IDE comes up.
Add Sun Java RTS as a new "Java Platform" within the Netbeans IDE as follows:
From the menu select Tools then Java Platforms
Click Add Platform ... to start the "Add Platform" wizard
In step 1 of the wizard choose the platform folder for where Sun Java RTS is installed e.g. /opt/SUNWrtjv, then click
next
In step 2 of the wizard:
Set the name of the platform to Sun Java Real-Time System. (This is the name expected by the project files.)
Set the path for the Platform JavaDoc to the installed javadoc location e.g. /opt/SUNWrtjv/doc/rtsj-docs/
Click Finish
Install the Java RTS Netbeans Module as follows:
From the Netbeans menu select Tools then Plugins
Click the Downloaded tab, then click the Add Plugins... button
Navigate to your downloaded Sun Java RTS Netbeans module file, select it and click open. The Sun Java RTS Netbeans module is now listed in the set of downloaded modules. Click the tick-box next to the module and then click the install button. Follow the prompts to complete the installation.