Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

compile error

Status
Not open for further replies.

vintl

Technical User
Jun 9, 2000
72
MY
hullo.
when i compile the java file i get this error
mailSys.java:10: Package javax.mail not found in import.
import javax.mail.*;
^
mailSys.java:11: Package javax.mail.internet not found in import.
import javax.mail.internet.*;
^
2 errors

Mail.java:7: Package javax.swing not found in import.
import javax.swing.*;
^
Mail.java:8: Package javax.swing.border not found in import.
import javax.swing.border.*;
^
Mail.java:9: Package javax.swing.table not found in import.
import javax.swing.table.*;
^
Mail.java:12: Superclass JFrame of class Mail not found.
class JPSMailer extends JFrame {
^
Mail.java:681: Superclass JFrame of class MailFrame not found.
class MailFrame extends JFrame {
^
5 errors

anyone who why?i try in jdk1.1.8 with swing 1.1.1
and my friend also tried the jdk 1.3 but still get some error.anyone know why?
is there com.sun.java.swing this command? for jdk version 1.1.*
thanx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top