954,554 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

(Newb Question) Moving java project folders.

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?

BLUEC0RE
Light Poster
40 posts since Jan 2010
Reputation Points: 10
Solved Threads: 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.

java_programmer
Junior Poster
124 posts since May 2006
Reputation Points: 10
Solved Threads: 17
 

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.

BLUEC0RE
Light Poster
40 posts since Jan 2010
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: