Skip to main content



      Home
Home » Newcomers » Newcomers » How do I define a classpath?
How do I define a classpath? [message #123774] Tue, 13 December 2005 00:30 Go to next message
Eclipse UserFriend
Originally posted by: eclipse.NOSPAM.disley.plus.com

I'm used to command line or Sun JDK building. How do I simply define a
classpath for my Java project in Eclipse? I have been defining all my
libraries as external Jars but this just gives me a large list of items
inside the project. Is this right?

Confused in newbie-ness,
Diz
Re: How do I define a classpath? [message #123922 is a reply to message #123774] Tue, 13 December 2005 09:50 Go to previous message
Eclipse UserFriend
Originally posted by: charlest.otii.com

dizzley wrote:
> I'm used to command line or Sun JDK building. How do I simply define a
> classpath for my Java project in Eclipse? I have been defining all my
> libraries as external Jars but this just gives me a large list of items
> inside the project. Is this right?
>
> Confused in newbie-ness,
> Diz
>
Right click on a Project. Go Properties->Java Build Path. The Projects
tab is for selecting other Projects the current Projects depends on -
i.e. needs the class files. The Libraries tab is for adding external
jars or creating and adding Eclipse libraries (which are a collection of
jars).

When you're done setting it up you can look at the .classpath file in
the Project root directory to see what you've done. But don't edit this
file directly.

charlie
Previous Topic:Need Information About Eclipse
Next Topic:Adding servlet to existing project
Goto Forum:
  


Current Time: Fri Jun 27 11:15:30 EDT 2025

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

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

Back to the top