[5945] in java-interest
R: help with compiler error
daemon@ATHENA.MIT.EDU (Gian Luca Farina Perseu)
Tue Mar 5 20:16:44 1996
Date: Tue, 05 Mar 96 08:54:19 0100
From: Gian Luca Farina Perseu <ticgf1@comune.torino.it>
To: Brian Serviss <cn1019@coastalnet.com>, java-interest@java.Eng.Sun.COM
Brian wrote :
>I guess I'm a little new to Java. Anyway, when I compile the example program from "60 >minute guide to Java" the following error pops up:
>docfooter.java:6: Warning: Public class DocFooter must be defined in a file called >"DocFooter.java".
>public class DocFooter extends Applet{
> ^
>1 error
The solution is simple: Javac is CASE SENSITIVE so your .java file docfooter MUST BE renamed as DocFooter.java as it was called in " public class DocFooter extends Applet{ "
Bye.
Gian Luca Farina Perseu
email: perseu@comune.torino.it
www: http://www2.comune.torino.it/~ticgf1
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com