This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to use files from different folder under same project in eclipse

 
nirjari patel
Ranch Hand
Posts: 386
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have created different projects in eclipse. I have java classes which are (i) in different folders under same project - How can I import files in a source java class from class files in another folder ?
and (ii) in different folders under different project - How can I import files in a source java class from class files in another project ?

Can I set classpath in eclipse ? I tried looking under java build path, but did not find anything explicit about classpath. I checked help section also, but that was of not much help.

 
Stephan van Hulst
Bartender
Pie
Posts: 5553
53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can rightclick on the project, go to Build path, and Configure build path. Then go to the projects tab and you can simply add the required project to the build path.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic