dcsimg
Newbie Class path in Eclipse
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Shunjie_Liu
Posted On:   Thursday, February 23, 2006 10:13 AM

Hi, I have a newbie question here. How do I add classpath in eclipse ? I tried following the help but it didn't seem to work and red lines is shown still in my source code.

I have only 1 class file which I wish to add to the classpath
currently its in the source folder. How can I go about doing it ? Should I make it into a Jar or just add class folder ? It will show up on my package explorer right ?

Thank you

Re: Newbie Class path in Eclipse

Posted By:   David_Thornton  
Posted On:   Thursday, February 23, 2006 07:39 PM

Select the project in Package Explorer and then select properties either from the Project menu or the right click menu. On the property panel select "Java Build Path" and then click on the "Libraries" tab. On this tab click on the "Add Class Folder" button and then select the folder in which the class has been placed.
About | Sitemap | Contact