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!!!!!!!!!!!