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?

Re: (Newb Question) Moving java project folders. 80 80

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.

Re: (Newb Question) Moving java project folders. 80 80

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.