Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » CLASSPATH variablH on Microsoft Windows computer(Eclipse and CLASSPATH)
CLASSPATH variablH on Microsoft Windows computer [message #887130] Sat, 16 June 2012 04:44 Go to next message
Sam Bell is currently offline Sam BellFriend
Messages: 5
Registered: May 2012
Junior Member
With Java JDK and Eclipse on a Microsoft Windows computer,
is there a way to use CLASSPATH environment variable folders
for the class files to be used in Eclipse project, Please ?

In other words, From Eclipse Workspace/Project explorer,
is there a way to use Windows Enviroment variable CLASSPATH
folders as the source directory for class files,
without the need to create link to the directory or
without the need to add class folder from Project -> Properties ->
Java Build Path -> Libraries tab -> Add class folder etc....please ?

Thanks
Sam

Re: CLASSPATH variablH on Microsoft Windows computer [message #887353 is a reply to message #887130] Sat, 16 June 2012 13:05 Go to previous messageGo to next message
Sam Bell is currently offline Sam BellFriend
Messages: 5
Registered: May 2012
Junior Member
In other words, CLASSPATH is useful only for
command line (i.e. from DOS prompt) running of the Java programs.

In other words, CLASSPATH is NOT useful when running Java class files
from Eclipse IDE. Is this correct?

Can you please confirm if this is true or NOT.

Thanks
Sam
Re: CLASSPATH variablH on Microsoft Windows computer [message #888022 is a reply to message #887353] Sun, 17 June 2012 14:52 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

Yes, it is or no use. You might have more the one unrelated project within your IDE, or you might be working on a newer version of a library you have on your CLASSPATH. Either way, what your Java projects in Eclipse see should be completely isolated, controlled, and reproducible regardless of what that variable holds.

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:Viewing online Eclipse help on iPhone
Next Topic:Eclipse not opening
Goto Forum:
  


Current Time: Sat Apr 27 01:30:42 GMT 2024

Powered by FUDForum. Page generated in 0.08783 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top