aspose file tools*
The moose likes Java in General and the fly likes classpath problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "classpath problem" Watch "classpath problem" New topic
Author

classpath problem

sandeep kumar singh
Greenhorn

Joined: Aug 14, 2009
Posts: 5
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

Joined: Jun 06, 2002
Posts: 181
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?


love your job and not your company;
...because you never know when your company will stop loving you!
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14150
    
  18

Are the classes you are talking about organized in packages or not? The structure that you describe sounds unnecessarily complicated...


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: classpath problem