[4961] in java-interest

home help back first fref pref prev next nref lref last post

java-interest-digest V1 #57

daemon@ATHENA.MIT.EDU (John Mignault)
Wed Jan 24 11:15:34 1996

Date: Wed, 24 Jan 1996 09:40:37 -0500
From: John Mignault <jbm@jbm.dialup.access.net>
To: java-interest@java.sun.com
In-Reply-To: <199601240410.UAA17796@java0.javasoft.com>

> From: John Grant <jgrant@calstatela.edu>
> Date: Tue, 23 Jan 1996 10:52:10 -0800
> Subject: Getting started
> 
> I've installed the SDK and am trying to compile the Hello World applet
> in the tutorial but am getting the following error messages:
> 
> HelloWorld.java:1: Class or interface declaration expected.
> Import java.awt.Graphics;
> ^

Note the caret position in the error. It's 'import', not 'Import.'
Java is case-sensitive.

Your other two errors follow from this. The Graphics class isn't
getting imported.

> 
> John

--John Mignault
.sig in preparation
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post