Page 1 of 1

compiling classes

Posted: Tue Oct 01, 2002 4:32 am
by RPM
I used to use textpad to program in java all the time, but I had to format my computer and reinstall. When I try to compile the following, and anything similar, calling classes, I get an error. Can somebody please help me?

import Die;

public class Countdown
{
public static void main(String[] args)
{
System.out.println(\"Hello.\");
}
}

C:\Documents and Settings\Administrator\My Documents\Programming\Java\Test Stuff\Countdown.java:1: '.' expected
import Die;
^
1 error

Seems simple, huh?