ok, so im a newb ... please help

Using the Java SDK with TextPad

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

Post Reply
Malchavian

ok, so im a newb ... please help

Post by Malchavian »

im having trouble compiling some basic (HelloWorld) java code on my comp, and i know its a newbie question, but i cant figure out why it wont work...Im wonderin if any one out there has any ideas as to how i can get it to compile/run these codes??

My Comp is :

p3 700mhz , 256 RAM , WinMe , Textpad 4.5,

and I get an error saying:

C:\My Documents\Hello.java:1: 'class' or 'interface' expected
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
^
1 error

Tool completed with exit code 1


any ideas ??
Henrik Skafsgaard Larsen

Re: ok, so im a newb ... please help

Post by Henrik Skafsgaard Larsen »

It looks like you are trying to compile a html file?
Just a guess...

mvh / regards
Henrik S. Larsen
Evan Crawford

Re: ok, so im a newb ... please help

Post by Evan Crawford »

What does your code look like?

Evan
cathy mcmahon

Re: ok, so im a newb ... please help

Post by cathy mcmahon »

When i try to compile a programme using console reader it comes up as an error.what do i have to do to get it to work?
cathy mcmahon

Re: ok, so im a newb ... please help

Post by cathy mcmahon »

When i try to compile a programme using console reader it comes up as an error.what do i have to do to get it to work?
Post Reply