: MIDRANGE dot COM Mailing List Archive

Antwort: Different JDK versions on one AS/400


AddThis Feed Button


Hi Marco

To Compile with version 1.2:

javac -J-Djava.version=1.2




We have three JDK versions on our AS/400 (V4R5) installed.

5769JV1   *COMPATIBLE  Java Developer Kit 1.2
5769JV1   *COMPATIBLE  Java Developer Kit 1.1.8
5769JV1   *INSTALLED   Java Developer Kit 1.3

Running programms it picks automatically the 1.1.8 version.
I can use java -Dversion to change the JDK at runtime.

But I didn't find out how to use another version for compiling, nor how
the system part of the classpath can be changed to point to a different
JDK version.


Sepp Muegeli
DV Bern AG
____________________________________________________________
mailto:sepp.muegeli@dvbern.ch  /  http://www.dvbern.ch
X.400 Adresse:  G=sepp; S=muegeli; P=ibmmail; A=ibmx400; C=ch
Briefpost:  Sulgenauweg 40 ,  CH-3007 Bern
Tel: / Int. / Fax:  ++41+31 378 24 54  /  454  /  ++41+31 378 24 74









Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2007 by MIDRANGE dot 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 here. If you have questions about this, please contact

.

counter