compiling classes

Using the Java SDK with TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
RPM

compiling classes

Post 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?
Post Reply