×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




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
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:  how to compile 
(javac) in 1.4 when 1.2 is installed using qsh?             
                      idrange.com                                               
                                                      
                                                                                
                                                      
                                                                                
                                                      
                      09/25/2003 12:56 PM                                       
                                                      
                      Please respond to                                         
                                                      
                      Java Programming on                                       
                                                      
                      and around the                                            
                                                      
                      iSeries / AS400                                           
                                                      
                                                                                
                                                      
                                                                                
                                                      




Hi List

             Got a simple newby question.  Trying to compile (javac) a
module which
needs jvm 1.4 to compile.  I seem to be stuck with the 1.2.2 version (1.2,
and 1.4 are both installed).  I am at V5R2.  How do I tell my qsh session
which version to use when I compile?

             I have searched the archives, which mention only java command
not javac...

             Any help would be appreciated....

Regards
Rick

Rick DuVall
Systems Manager
Dealer's Auto Auction of Okc, Inc.
Rick@xxxxxxxxxx <mailto:Rick@xxxxxxxxxx>
(405) 947-2886




_______________________________________________
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 thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.