Getting come compilation errors while compiling Java code
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Pallavi_Chaudhari
Posted On:   Monday, November 29, 2004 01:25 AM

We are trying to compile the Java code in oracle ( Oracle9i Release 9.2.0.1.0 - 64bit Production JServer Release 9.2.0.1.0 – Production) O.S. is sun solaris It gives the following errors LINE/COL ERROR -------- ----------------------------------------------------------------- 0/0 SendMail:25: Class Session not found. 0/0 SendMail:25: Class Session not found. 0/0 SendMail:25: Undefined variable or class name: Session 0/0 SendMail:29: Class MimeMessage not found. 0/0 SendMail:29: Class MimeMessage not found. 0/0 SendMail:34: Class InternetAddress not found. 0/0 SendMail:35: Class InternetAddress not fo   More>>

We are trying to compile the Java code in oracle ( Oracle9i Release 9.2.0.1.0 - 64bit Production JServer Release 9.2.0.1.0 – Production) O.S. is sun solaris

It gives the following errors

			
LINE/COL ERROR
-------- -----------------------------------------------------------------

0/0 SendMail:25: Class Session not found.

0/0 SendMail:25: Class Session not found.

0/0 SendMail:25: Undefined variable or class name: Session

0/0 SendMail:29: Class MimeMessage not found.

0/0 SendMail:29: Class MimeMessage not found.

0/0 SendMail:34: Class InternetAddress not found.

0/0 SendMail:35: Class InternetAddress not found.

0/0 SendMail:35: Undefined variable or class name: InternetAddress

0/0 SendMail:42: Class InternetAddress not found.

0/0 SendMail:43: Class InternetAddress not found.

0/0 SendMail:43: Undefined variable or class name: InternetAddress



LINE/COL ERROR

-------- -----------------------------------------------------------------

0/0 SendMail:52: Class InternetAddress not found.

0/0 SendMail:53: Class InternetAddress not found.

0/0 SendMail:53: Undefined variable or class name: InternetAddress

0/0 SendMail:62: Class InternetAddress not found.

0/0 SendMail:63: Class InternetAddress not found.

0/0 SendMail:63: Undefined variable or class name: InternetAddress

0/0 SendMail:68: Variable msg may not have been initialized.

0/0 SendMail:70: Class Multipart not found.

0/0 SendMail:70: Class MimeMultipart not found.

0/0 SendMail:73: Class MimeBodyPart not found.

0/0 SendMail:73: Class MimeBodyPart not found.



LINE/COL ERROR

-------- -----------------------------------------------------------------

0/0 SendMail:85: Class MimeBodyPart not found.

0/0 SendMail:85: Class MimeBodyPart not found.

0/0 SendMail:86: Class FileDataSource not found.

0/0 SendMail:87: Class FileDataSource not found.

0/0 SendMail:98: Class MimeBodyPart not found.

0/0 SendMail:98: Class MimeBodyPart not found.

0/0 SendMail:99: Class FileDataSource not found.

0/0 SendMail:100: Class FileDataSource not found.

0/0 SendMail:107: Variable msg may not have been initialized.

0/0 SendMail:111: Undefined variable or class name: Transport

0/0 SendMail:113: Class MessagingException not found.



LINE/COL ERROR

-------- -----------------------------------------------------------------

0/0 Info: 33 errors

   <<Less

Re: Getting come compilation errors while compiling Java code

Posted By:   David_Thornton  
Posted On:   Monday, November 29, 2004 02:51 PM

Looks very similar to this question in another forum posted by Sachin.

Re: Getting come compilation errors while compiling Java code

Posted By:   David_Thornton  
Posted On:   Monday, November 29, 2004 02:48 PM

Oracle 9i on Sun Solaris OS hardly sounds like a question for Java400. Maybe you should post this question on a more appropriate forum.


It looks as if you are missing some required classes (jar file) from your classpath.

About | Sitemap | Contact