Dino Yan

Greenhorn
+ Follow
since Oct 15, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Dino Yan

Thanks for all the help guys! i was able to run the file.
15 years ago
Marc, that worked. Thanks a lot!

What should i set the class path to.

C:\javaE is where i am storing all my java files

C:\java\jre..\ is where i have java installed.
15 years ago
Thanks Campbell, really appreaciate your quick response.

I think it compiled correctly as i see the HelloWorldApp.class file.
but when i execute it, it says java HelloWorldApp it give me the error
As you suggested i checked for spell errors and i didn't see any.

Also other than setting PATH should i be configuring something more?
15 years ago
I am new to Java. I installed JDK and tried to execute a simple HelloWorldApp example (as suggested in the Sun.java tutorial) and i get this below error. can any one help?

Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorldApp
Caused by: java.lang.ClassNotFoundException: HelloWorldApp
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
15 years ago