Jump to content

java help


ashozzy2

Recommended Posts

Hi all,

 

Recetnly have been trying to learn Java and i started on a tutorial on sun. How ever i have a common problem and ive tried their solution and it doesnt work.

 

 

 

I compile my application into the .class then when i type in:

 

C:\java2\bin>java HelloWorldApp

 

 

 

i get the no class defination file.

 

 

 

I set the directory to the right place and it still says that.

 

 

 

Also my class file for somereason has become a java file that when i try to alter it into open with standard binary it says corrupt file. Any ideas on what i should do?

 

 

 

thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.