j2se 5 installation problem

Need some help here.Installed program on XP compiler works When I run java get this messageException in thread "main" java.lang.NoClassDefFoundError: First ProgramAny help appreciated
[218 byte] By [balekmanonea] at [2007-10-2 0:29:11]
# 1

It's a class path issue.

Short version:

In your current directory, you have FirstProgram.java. You type the following: javac FirstProgram.java

java -cp . FirstProgram

Longer version: If you follow these steps exactly, it will work.

http://java.sun.com/docs/books/tutorial/getStarted/cupojava/win32.html

jverda at 2007-7-15 16:43:39 > top of Java-index,Java Essentials,Java Programming...
# 2
Everything A OK thanks a bundle
balekmanonea at 2007-7-15 16:43:39 > top of Java-index,Java Essentials,Java Programming...