|
Each JDK version is an option of the JV1 LPP. If you need to know in a program try the QSZRTVPR (Retrieve product information) API . It will return state of *INSTALLED for the product/option passed in. David Wall AS/400 Toolbox for Java "Mike Silvers" <msilvers@hbs-inc To: <java400-l@midrange.com> .com> cc: Sent by: Subject: Re: Determining if java is installed and what level? java400-l-admin@m idrange.com 12/19/2001 10:08 AM Please respond to java400-l GO LICPGM Option 10 It will tell you what version of Java you have installed. Mike ================================ Mike Silvers AS/400 Senior Programmer/Analyst AS/400 IBM Certified RPG IV Developer AS/400 IBM Certified Expert Hainey Business Systems 8 E. Canal St Dover, PA 17315 Branch Office: (410) 397-8739 Phone: (800) 932-3380 Fax: (717) 292-9474 Web: http://www.hbs-inc.com ________________________________ Providing E-Commerce, EDI, AS/400 Development and related services nationwide. ================================ ----- Original Message ----- From: David Gibbs <dgibbs@mks.com> To: 'Midrange Mailing List' <MIDRANGE-L@midrange.com>; 'JAVA400 List' <JAVA400-L@midrange.com> Sent: Wednesday, December 19, 2001 10:13 AM Subject: Determining if java is installed and what level? > Folks: > > I'm trying to determine if a certain version of java is installed ... > without actually invoking java. > > Can anyone suggest an API or command that I can used to determine this? > > I thought about using the DSPSFWRSC command, but the resource ID for java > isn't the same between our V4R3 & V5R0 boxes, so that wouldn't be a good > test. > > Thanks! > > david > > -- > David Gibbs > Sr. Software Engineer > MKS, Inc. > 2500 S. Highland Ave, Suite 200 > Lombard, IL 60148 > (630) 495-2108 x5004 > > Need a laugh (we all do these days): visit http://www.userfriendly.org > > _______________________________________________ > This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list > To post a message email: JAVA400-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l > or email: JAVA400-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/java400-l. > > _______________________________________________ This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list To post a message email: JAVA400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l or email: JAVA400-L-request@midrange.com 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.