× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

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.