|
Shannon, You can set the version through a SystemDefault.properties file, or by specifying a property when you start java with -Djava.version=1.x. You should only need to manipulate your classpath to add things like the tools.jar or some other optional part of the JDK. To get the current version you might try something like: String version = System.getProperty("java.version"); David Morris >>> sodonnell@xxxxxxxxxxxxxxx 7/7/2003 11:48:25 AM >>> Hi, Probably a dumb question.... I have three JDK's on my V5R1 system (JDK118, JDK12, JDK13). How do I determine which JDK is being used? By what I set in the CLASSPATH, right? The reason I ask....is because I'm using some software from Verisign to do a Credit Card authorization from the AS/400. One of the things I need to do is to set the security provider(s), in my java.security file under the /QIBM/ProdData/Java400/jdk13/lib/security/java.security or..../QIBM/ProdData/Java400/jdk12/lib/security/java.security.....or...../QI BM/ProdData/Java400/jdk118/lib/security/java.security . I've set this information in all three versions of that file (the "shotgun" approach to programming...) and yet, when I run the app, I still get an error telling me that the security informaiton (that specific information) has not yet been set. So...I'm wondering if the reason it can't see my updates to the java.security file is due to a CLASSPATH problem, or possibly something else. I know this is probably vague...but hoping for a suggestion or two I might try anyway! Thanks! Shannon O'Donnell
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.