|
A straightforward way that can be used in any program, is faster and avoids unnecessary reflection is: com.ibm.as400.access.Copyright.version which you can use directly. It's the same thing AboutToolbox accesses. For example: System.out.println( com.ibm.as400.access.Copyright.version ); Joe Sam Joe Sam Shirah - http://www.conceptgo.com conceptGO - Consulting/Development/Outsourcing Java Filter Forum: http://www.ibm.com/developerworks/java/ Just the JDBC FAQs: http://www.jguru.com/faq/JDBC Going International? http://www.jguru.com/faq/I18N Que Java400? http://www.jguru.com/faq/Java400 ----- Original Message ----- From: "David Gibbs" <david@xxxxxxxxxxxx> To: <java400-l@xxxxxxxxxxxx> Sent: Thursday, January 22, 2004 1:27 PM Subject: Re: JT400 version on AS400 > > Ashish Kulkarni wrote: > >> how do i find out what version of JT400 is on AS400? > Patrick L Archibald wrote: > > qsh cmd('java -version') > > To find out what is loaded on your system > > JT400 is *NOT* the JVM. > > Running a java -version or JAVA *VERSION will return the configured > version of the JVM. > > To determine the JT400 version, I guess you could check the manifest > file in the jar. > > Sure would be nice if the JT400 developers could put a property file in > there that contains the version number. > > david >
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.