File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

classpath problem

sandeep kumar singh

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,inner folder contains a program named

My current working directory is 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: 15033

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 8 API documentation
subject: classpath problem
It's not a secret anymore!