required packages
HI All,
I've been trying to compile some old programs that I wrote in college
and when I invoke gcj:
>gcj myfirst.java
I get the following errors:
myfirst.java:2: Class or interface `java.awt.Label' not found in import.
import java.awt.Label;
^
myfirst.java:5: Superclass `Applet' of class `myfirst' not found.
public class myfirst extends Applet{
^
myfirst.java:6: Type `Label' not found in declaration of field `label'.
private Label label;
^
3 errors
Can anyone tell me what packages I need to install (or maybe I need to
set a path variable)?
Any help would be greatly appreciated.
Thanks,
Andy
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Reply to: