• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

classpath problem

 
sandeep kumar singh
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have to run a program
which is inside a folder test ,test contains another folder which is outer,outer contains another folder named inner and a program named as Outer.java,inner folder contains a program named Inner.java








My current working directory is test...how i will set the classpath to run this code.
 
manoj r patil
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you please re-frame your question?

If you are talking about inner class concept, I don't see any specific reason why it should be in the folders. Moreover from your code snippet, you are not using any package. So why are you talking about folders here?
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15205
36
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are the classes you are talking about organized in packages or not? The structure that you describe sounds unnecessarily complicated...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic