|
> > From: Patrick Townsend > > > > By the time your code gets loaded to the point where you can set the > > java.version property, hasn't it already loaded the JVM? Perhaps I'm > > confused about how this works? > > Patrick, it's on the load of the JVM: > > java -Djava.version=1.3 MyClass > I'm not sure if that's enough... won't you need the -Xbootclasspath too ? to point the Java application loader to an older set of JRE classes/jar files (i.e. rt.jar) ? Of course, it's probably safer if you invoke the 'java.exe' from the JRE of the version you want to run at instead... --phil
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.