You can lose that one, too. It is the 1.3 JDK, as I recall.

Look at the system values. There's one for setting the system default
JAVA_HOME environment variable.

The java command in qshell (which is what's called by RUNJAVA and all
the other ways of starting java) in the newer i5OS versions uses
JAVA_HOME to find the java runtime unless you do something specific to
change it. There is a document that specifies the order that various
places are searched. For instance, if you specify a java.properties file
in the java command, that will override the JAVA_HOME value. You may be
seeing this in your app server; it's startup may include a specific
designation. WAS is notorious for being very version-dependent, for
example, so they usually specify the JRE in their startup script.

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Ken
Sent: Wednesday, September 22, 2010 2:11 PM
To: Java Programming on and around the IBM i
Subject: Re: How to Set Java Version

So then you feel it would be safe (or reasonable anyways) to remove:
5761JV1 *COMPATIBLE IBM Developer Kit for Java
5761JV1 *COMPATIBLE Java Developer Kit 1.4
5761JV1 *COMPATIBLE Java Developer Kit 5.0
5761JV1 *COMPATIBLE J2SE 5.0 32 bit
5761JV1 *COMPATIBLE J2SE 5.0 64 bit

?


Opps I would keep 5761JV1 *COMPATIBLE IBM Developer Kit for Java.




On Wed, 2010-09-22 at 14:45 -0400, Joe Sam Shirah wrote:

Another option is you can remove other instances of the java
license program and it will default to what is available.

Yep. I always wonder why more people don't just do that. I
realize there was some software that declared it needed a specific
version (usually
1.4.2 if I recall correctly,) but if you're at 1.5 or above...


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: "Steve Hinrichs" <Steve.Hinrichs@xxxxxxxxxxxxxxx>
To: <java400-l@xxxxxxxxxxxx>
Sent: Wednesday, September 22, 2010 2:31 PM
Subject: Re: How to Set Java Version


Ken,

Which version of java 6 are you trying to use? I would recommend
license option 11, Java SE 6 32 bit. License option 10 for Java 6

(classic) does not exist at V7R1.

Documentation states that java.version=1.6 is ignored. The JDK
version is determined from the value of the JAVA_HOME environment
variable.

AddEnvVar EnvVar('JAVA_HOME')
Value('/QOpenSys/QIBM/ProdData/JavaVM/jdk60/32bit')
Level(*SYS) Replace(*Yes)

Another option is you can remove other instances of the java
license program and it will default to what is available.

Hope that helps.

Steve

_______________




A E Rose Logo






Ken McWilliams
A E Rose Information Service Ltd.
PO Box 3473


15A Alberta Avenue
Spruce Grove AB
T7X 3A7
Phone: 780 948-0012
Fax: 780 948-0052
E-Mail: ken.mcwilliams@xxxxxxxxxx








--
This is the Java Programming on and around the IBM i (JAVA400-L) mailing
list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx 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 thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 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.