Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: java.io.Console



ROBERT MURLEY wrote:
I am running on a MacBook running Leopard and using Xcode. I want to output to the console, but when I include this statement:
import java.io.Console;
I get a "cannot find symbol" error. Other java.io imports work ok. Does anyone know the problem?

Are you using Java 6? java.io.Console was not present prior to Java 6.

I'm running java version 1.5.0_13 - so that must be the problem.

Thanks.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >java.io.Console (From: ROBERT MURLEY <email@hidden>)
 >Re: java.io.Console (From: Chris Woods <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.