wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes error running a program from The Java Tutorial Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "error running a program from The Java Tutorial" Watch "error running a program from The Java Tutorial" New topic
Author

error running a program from The Java Tutorial

Ricky James
Ranch Hand

Joined: Mar 26, 2007
Posts: 83
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

Joined: Nov 28, 2006
Posts: 5
I believe that java.io.Console is new as of Java 6.
Ricky James
Ranch Hand

Joined: Mar 26, 2007
Posts: 83
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: error running a program from The Java Tutorial
 
Similar Threads
Console class in Java [scjp 6]
Basic Doubts
LoginBean doesn't compile
Console class
search long string for several strings