| 
 | 
| I have 3 files in my directory - larrymail.java 
(mine), mail.jar (sun's 1.1.3) and activation.jar (sun's 
1.0.1).  Shouldn't the command below have worked?  
larrymail compiles and runs with no errors on my pc. Obviously, I am very early in my AS400/Java 
learning curve.  Any help is appreciated. Thanks,  Larry (In QSH, all files in current 
directory) > javac larrymail.java -classpath 
.;mail.jar;activation.jar                                            
 larrymail.java:13: Package javax.mail not found in import. import javax.mail.*; ^ larrymail.java:14: Package javax.mail.internet not found in import. import javax.mail.internet.*; ^ larrymail.java:15: Package javax.activation not found in import. import javax.activation.*; ^ 3 errors /ljpjava/mail.jar: 001-0049 Syntax error on line 1: token word not expected, expecting token ")". /ljpjava/activation.jar: 001-0048 Syntax error on line 5: variable substitution not valid. $ | 
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.