Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

The system cannot find the path specified - Problems

843789Jul 18 2010 — edited Sep 14 2010
I am having an issue that I am hoping someone can help figure out for me.

I am currently learning Java, and am working with the Beginning Programming with Java for Dummies book second edition. I have downloaded and am running the Java 6 program and am using the JCreator 3.5Pro that was recommended to run the Practice files for the Dummies book.

I have the practice files here:
C/Program Files/Xinox Software/JCreatorV3/My Projects

While trying to compile one of the practice files, I get this error message:

--------------------Configuration: MyNewProject - JDK version 1.6.0_21 <Default> - <Default>--------------------
javac: file not found: src_mynewproject.txt (The system cannot find the path specified)

Process completed.

**When I try to execute, I get this error message:**

--------------------Configuration: MyNewProject - JDK version 1.6.0_21 <Default> - <Default>--------------------
java.lang.NoClassDefFoundError: EchoLine
Caused by: java.lang.ClassNotFoundException: EchoLine
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: EchoLine. Program will exit.
Exception in thread "main"
Process completed.


When I set up the new file, and the new class, I confirmed the file path.

I know most people will ask if I am absolutely certain I put in the code in properly, and yes I did. It was a matter of copying word for word, and punctuation. I did it 100% correctly. About 12 times. I have NO idea what this means, but I would REALLY REALLY appreciate any help on this.

Please keep in mind, I am slightly clueless, and really need to have any help dumbed down a bit. Lol.

As a side note, this isn't my first project, and I haven't had this problem before now.

thanks in advance. =)

Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 12 2010
Added on Jul 18 2010
10 comments
3,129 views