Mark Morgan

Greenhorn
+ Follow
since Jul 19, 2005
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 Mark Morgan

My user name has been updated forthwith.

Also the execution issues have been sucessfully resolved.

Much obliged.
18 years ago
Unfortunately the error message is still being displayed as before, but thank you anyway for your consideration.
18 years ago
Note - I am an absolute Java beginner using Head First Java.

I installed the 1.5.0 JDK and assigned the relevant path environment variables.

I then created a simple Hello World .java code file (cutting the code from the JavaRanch beginners page). This file compiled sucessfully using the javac utility.

However when I come to run the "program" from the command line (i.e. java HelloWorld) an error message is returned:

Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld

I assume there is some configuration issue. Can anyone assist so that I can get up and running.

Thank you in advance.
18 years ago