Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Java Development User Guide
Previous Page Home Next Page

Classpath Variables Preferences

Configurable 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. The value of such variables is configured on the Java > Build Path > Classpath Variables preference page.

 

Command

Description

New...

Adds a new variable entry. In the resulting dialog, specify a name and path for the new variable. You can click the File or Folder buttons to browse for a path. 

Edit...

Allows you to edit the selected variable entry. In the resulting dialog, edit the name and/or path for the variable. You can click the File or Folder buttons to browse for a path. 

Remove

Removes the selected variable entry. 

Reserved class path variables

Certain class path variables are set internally and can not be changed in the Classpath variables preferences:

  • JRE_LIB: The archive with the runtime JAR file for the currently used JRE.
  • JRE_SRC: The source archive for the currently used JRE.
  • JRE_SRCROOT: The root path in the source archive for the currently used JRE.

These variables are deprecated and should not be used anymore. Instead use a JRE System Library.

Related concepts

Classpath variables

Related reference

Installed JREs


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire