|
You are absolutely correct. I had thought there was a setting for javac, but I was wrong. I did find a -target setting, but that setting seems to only control the actual format of the bytecodes that are generated by the compiler. Sorry for the confusion. ---------------------------------------------------------------------- Chris DeLashmutt Senior R&D Analyst LeasePlan USA 1165 Sanctuary Pkwy., Alpharetta, GA 30004 Phone: 678-202-8695 Fax: 678-566-8551 ---------------------------------------------------------------------- "Rick DuVall" <R_C_DuVall@daaokc. To: "Java Programming on and around the iSeries / AS400" com> <java400-l@xxxxxxxxxxxx> Sent by: cc: java400-l-bounces@m Subject: RE: how to compile (javac) in 1.4 when 1.2 is installed using qsh? idrange.com 09/25/2003 02:10 PM Please respond to Java Programming on and around the iSeries / AS400 Thanks Chris, I tried that without success. I finally re-tried the SystemDefault.properties thing and realized I didn't have my property fully Left Justified in the file - Left justifying things fixed it. I appreciate the response! Regards Rick Rick DuVall Systems Manager Dealer's Auto Auction of Okc, Inc. Rick@xxxxxxxxxx <mailto:Rick@xxxxxxxxxx> (405) 947-2886 You need to pass in system property to the javac program in QSH. You would do something like this: javac -Djava.version=1.4 YourJavaSource.java Then you need to do something similar if you want to run it: java -Djava.version=1.4 com.test.YourJavaSource ---------------------------------------------------------------------- Chris DeLashmutt _______________________________________________ This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/java400-l or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/java400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.