first java programe error

A forum to discuss Java programming related issues and concerns.
no avatar
Posts: 2
Joined: Sat Jun 15, 2013 10:57 pm

first java programe error

by irfankundi786 » Sat Jun 15, 2013 11:06 pm

i have installed java in win 7 at C:\Program Files (x86)\Java\bin path ...i saved my programe at this speicified path when i compiled the programe no error is return. in command prompt

C:\Program Files (x86)\Java\bin> javac
but when i run this programe as
C:\Program Files (x86)\Java\bin> java
could not find or load main class

Help me to correct the error

Return to JAVA Lobby