-
compile error
Hi,
I wrote my programm on Visual J++ like that:
import java.awt.*;
import java.applet.*;
public class Hello1 extends Applet
{
public void paint( Graphics g )
{
g.drawString( "Hello, World!", 50, 25 );
}
}
after compiling I got those three error
Undefined package 'lang'
Undefined package 'awt'
Undefined package 'applet'
I hope some help.
Thanks!!!!!!!!!!!
-
Re: compile error
It looks like you have the wrong class path for the location of the JDK. I
have not myself worked with Visual J++, so I do not no where to correct this.
But there must be some kind of setup for the JDK location in Visual, check
this location - if you can find it :-)
"JavaUser2002" <bagheri_azal@yahoo.se> wrote:
>
>Hi,
>
>I wrote my programm on Visual J++ like that:
>
>import java.awt.*;
>import java.applet.*;
>
>public class Hello1 extends Applet
>{
> public void paint( Graphics g )
> {
> g.drawString( "Hello, World!", 50, 25 );
> }
>}
>
>after compiling I got those three error
>
>Undefined package 'lang'
>Undefined package 'awt'
>Undefined package 'applet'
>
>I hope some help.
>
>Thanks!!!!!!!!!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|