IBM's Rational Application Developer (iRAD) is a great integrated development environment that allows you to perform end-to-end development of Java, J2EE, Web, and portal applications. In this TechTip, I will illustrate how you can easily switch your Java Runtime Environment (JRE).
Perhaps you want to take advantage of some of the new APIs introduced by the newest version of Java (Java 1.5). In order to change JREs, right-click on the current JRE, and click Configure, as shown in Figure 1 below:
Figure 2: Click Alternate JRE in the Edit Library window.
Click on Installed JREs to display the Preferences window, which lists all the currently available JREs. The one you are currently using will appear with a checkmark in the box next to it (Figure 3):
Figure 5: The new JRE is now displayed in the Preferences window.
Select this JRE and click OK to exit. You can now run your program with the new JRE and take advantage of all the new APIs.
More Tips and Tricks
For a list of iRAD tips and tricks that you can use to make code development fun and easy, click on Help -> Tips and Tricks in the menu bar. Happy coding!