|
Setting java.version only works with the old "classic" JVMs. i.e.
version 1.4 and below. (And one version 1.5, but not the newer ones)
For new JVMs, you need to control the version by setting the JAVA_HOME
environment variable.
ADDENVVAR ENVVAR(JAVA_HOME)
VALUE('/QOpenSys/QIBM/ProdData/JavaVM/jdk50/32bit')
Or whatever the JVM should be. Please also remember that this is a
job-level setting, so don't set it in the same program that executes
JDBCR4, this needs to be set at the start of the job before any Java is
executed. And it will be used by all programs that use Java within the
job.
-SK
On 2/20/2013 4:36 PM, Pete Helgren wrote:
There was just a thread on this on Midrange-L (around the 13th)--
WRKENVVAR QIBM_RPG_JAVA_PROPERTIES
I wasn't following the thread closely but you can set the JVM version
there (I think).
java.version=1.6 ?
Pete Helgren
www.petesworkshop.com
GIAC Secure Software Programmer-Java
On 2/20/2013 4:21 PM, James H. H. Lampert wrote:
I tried running the programs in batch, so that the STDOUT/STDERR output
would go to a spool file, where it wouldn't instantly scroll of my
screen, and so that I'd get detailed joblogs (and so I wouldn't have to
sign off and sign back on after each unsuccessful attempt.
I think I may have spotted something:
/QOpenSys/QIBM/ProdData/JavaVM/jdk50/32bit
Could it possibly be that this needs to run under Java 6?
If so, how do I specify that for JDBCR4?
--
JHHL
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.