This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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
Saloon Keeper
Posts: 7808
142
  • 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
Boost this thread!