0

Hey!

I started using java this year and I finished a java project but when I try moving it somewhere else in my directory it does not execute anymore. My project directory tree goes like this (I am using eclipse)...

(ignore the "-")

/Root
- /bin
-- JavaProgram.class
-- JavaProgramMain.class

- /src
-- JavaProgram.java
-- JavaProgramMain.java

- .classpath
- .project

I thought you could move the root of the project folder wherever as long as the files remain in their same locations inside the root directory. Any help?

Edited by BLUEC0RE: Editing look of directory tree

2
Contributors
2
Replies
3
Views
6 Years
Discussion Span
Last Post by BLUEC0RE
0

How do u run the program? using java command from comamnd line or using some IDE?
check the classpath. It seems a classpath related problem.

0

I'm using Eclipse. I guess I'll to look into classpath because I have no clue how to use java other than how to program.

Edited by BLUEC0RE: missed a word

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.