Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I can't install java properly, please help

 
Kaif Ahmed
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello there,

I've been trying to get the java SDK up and running on my system but it just refuses to work properly.

I installed the SDK and everything ended up in C:\program files\java\ with the subdirectories "jdk1.5.0_04", "jre1.5.0_01", "jre1.5.0_02", "jre1.5.0_04".

Then I... er ... kind of didn't know what to do. Bit of googling later and I'm told that I need to change some PATH variable. I think I did it correctly. I then tried to run my first program (which is the "I rule the world" app from the rather excellent book "Head first Java").

And, well, this is what I get...




I have no idea what to do, please help. Cheers.

(By the way, sorry to be such a big n00b, I come from the land of Delphi programming, be gentle with me )
 
Kudret Serin
Ranch Hand
Posts: 167
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java is case-sensitive.
You must write

Cheers
 
Kaif Ahmed
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oops! Silly me.

Thanks for the help.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic