Reviews
WebSphere TutorialsWebSphere V5.0 : Workbench Basics - Set workbench preferences
WebSphere V5.0 : Workbench Basics - Set workbench preferences
In this tutorial you will learn about, Workbench Basics, Set workbench preferences, Defining a classpath variable and Adding a new JRE definition.
Set workbench preferences
Workbench
The term Workbench refers to the desktop development environment. The Workbench aims to achieve seamless tool integration and controlled openness by providing a common paradigm for the creation, management, and navigation of Workbench resources.
Each Workbench window contains one or more perspectives. Perspectives contain views and editors and control what appears in certain menus and tool bars. More than one Workbench window can exist on the desktop at any given time.
Preferences
The workbench implements a generic preferences architecture that allows plug-ins to store user preference values and contribute a preference page to the workbench preferences dialog.
Open the Preferences dialog by clicking Window > Preferences. Select Workbench from the list of preferences categories on the left side of the Preferences dialog:





Defining a classpath variable
Classpath variables are stored global to the workbench; in other words, all projects in the workbench can share the classpath variables.
Classpath variables can be used in a Java Build Path to avoid a reference to the local file system. Using a variable entry, the classpath only contains a variable and the build path can be shared in a team.
To add or change a class path variable, follow these steps:
1. From the menu bar, select Window > Preferences.
.....Expand the Java category in the left pane, and select Classpath Variables.
2. This page allows you to add, edit, or remove classpath variables.

a. To add a new class path variable, click the New... button. The New Variable Entry page opens.
b. To edit an existing class path variable, select the variable in the Defined classpath variables list and click the Edit... button. The Edit Variable Entry page opens.
NOTE: The reserved class path variables, JRE_LIB, JRE_SRC, and JRE_SRCROOT cannot be edited in this page. To change them, change the default workbench JRE on the Installed JREs page (Window > Preferences > Java > Installed JREs).
3. Type a name for the variable in the Name field.
4. Type a path to be referenced by the variable in the Path field. You can also click the File or Folder buttons to browse the file system.

Click OK when you are done. The new or modified variable appears in the Defined class path variables list on the Preferences page.
Adding a new JRE definition
You can add any number of JRE definitions.
1. From the menu bar, select Window > Preferences.
2. In the left pane, expand the Java category and select Installed JREs.

3. Click the Add... button. The Add JRE dialog opens.
4. In the JRE type field, select the type of JRE you want to add from the drop-down list.
5. In the JRE name field, type a name for the new JRE definition. All JREs of the same type must have a unique name.
6. In the JRE home directory field, type or click Browse to select the path to the root directory of the JRE installation (usually the directory containing the bin and lib directories for the JRE). This location is checked automatically to make sure it is a valid path.
7. In the Javadoc URL field, type or click Browse to select the URL location. The location is used by the Javadoc export wizard as a default value and by the 'Open External Javadoc' action.
8. If you want to use the default libraries and source files for this JRE, select the Use default system libraries check box. Otherwise, clear it and customize as desired. Source can be attached for the referenced JARs as well.

9. Click OK when you are done.
______________
Author: Mikalai Zaikin. Please Click Here to visit Authors site for any updates and changes to the study notes.
WebSphere Tutorials
- WebSphere V5.0 : Building Expressions
- WebSphere V5.0 : Creating SQL statements
- WebSphere V5.0 : Applying DDL scripts to a remote database
- WebSphere V5.0 : Deploying to the database
- WebSphere V5.0 : Defining a table
- WebSphere V5.0 : Defining a database
- Working with Data in WebSphere
- WebSphere V5.0 : Debugging - JSP debugging
- WebSphere V5.0 : Debugging - Scrapbook Page
- WebSphere V5.0 : Debugging - View variables
- WebSphere V5.0 : Debugging - Step-through code
- WebSphere V5.0 : Debugging - Set breakpoints
- WebSphere V5.0 : Running Applications - Export J2EE applications
- WebSphere V5.0 : Running Applications - Run/operate server
- WebSphere V5.0 : Running Applications - Understand Session Manager
- WebSphere V5.0 : Running Applications - Configure data sources
- WebSphere V5.0 : Running Applications - Create server instance and server configuration
- WebSphere V5.0 : Web Development - Use Web Page Wizards
- WebSphere V5.0 : Web Development - Work with Web Application Deployment Descriptor
- WebSphere V5.0 : Web Development - Use content assist
- WebSphere V5.0 : Web Development - Use Page Designer to add and modify HTML and JSP content
- WebSphere V5.0 : Web Development - Understand classpath and module dependencies
- WebSphere V5.0 : Web Development - Create resources in appropriate J2EE locations
- WebSphere V5.0 : Web Development - Create a web project
- WebSphere V5.0 : Java Development - Use property dialogues
- WebSphere V5.0 : Java Development - Use hierarchy view
- WebSphere V5.0 : Java Development - Use task view
- WebSphere V5.0 : Java Development - Use search function
- WebSphere V5.0 : Java Development - Use content assist function and declarations
- WebSphere V5.0 : Java Development - Use refactoring features
- WebSphere V5.0 : Java Development - Use Outline View and Browsing View
- WebSphere V5.0 : Java Development - Create Java project, packages, classes, methods
- WebSphere V5.0 : Workbench Basics - Use the Help feature to aid in development activities
- WebSphere V5.0 : Workbench Basics - Import to and export from the workbench
- WebSphere V5.0 : Workbench Basics - Work with Perspectives
- WebSphere V5.0 : Workbench Basics - Set workbench preferences
- WebSphere V5.0 : Workbench Basics - Create J2EE projects







