• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error running a program from The Java Tutorial

 
Ricky James
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I was trying to compile a program Password.java from The Java Tutorial but it gives me the following errors ( I have Java 5 on my system and all the other programs compile properly):



Can anybody explain what this error means?

Would be really grateful.

Thanks
Ricky
[ May 28, 2007: Message edited by: Ricky James ]
 
Kel Michaels
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe that java.io.Console is new as of Java 6.
 
Ricky James
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Kel Michaels:
I believe that java.io.Console is new as of Java 6.


Thanks for the reply Kel.

Even I thought that this must be the case but wasn't sure.

Ricky
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic