I just looked at the Spreadsheet code and I see I add the environment
variable in the CLP.

ADDENVVAR ENVVAR(QIBM_RPG_JAVA_PROPERTIES) +


VALUE('-Djava.awt.headless=true;-Dos400.awt.native=true;-Xmx2048M;') +
REPLACE(*YES)



ADDENVVAR ENVVAR(JAVA_HOME)
VALUE('/QOpenSys/QIBM/ProdData/JavaVM/jdk50/32bit') +
REPLACE(*YES)



addlible poi36 *last

monmsg cpf0000



I assume I could create a wrapper for STRJVAGATE and do it that way?????

Darryl



On Mon, Aug 22, 2016 at 12:50 PM, Darryl Freinkel <dhfreinkel@xxxxxxxxx>
wrote:

I do not have any environment variables set for Java.

I do use the POI36 classes and that works well.

How and where would I add the environment variable for Java 1.5 so that it
would not kill the POI36 functions for spreadsheets?

Thanks

Darryl


On Mon, Aug 22, 2016 at 11:58 AM, <dlclark@xxxxxxxxxxxxxxxx> wrote:

"MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx> wrote on 08/22/2016
11:52:15 AM:
The system has Java 5.0 installed: 5722JV1 options *BASE, 5, 6, 7, 8, 10
and 11.

I assume when it runs that it selects the Java 5.0 JVM but do not know
how
to check for that.


Do you have an environment variable for your JAVA version? We use version
6 so we have the following.

Display Environment Var (*SYS)

Name . . . . . . . . . : QIBM_RPG_JAVA_PROPERTIES
Value . . . . . . . . . :
'-Djava.version=1.6;-Djava.awt.headless=true;-Dos400.awt.native=true;'


Sincerely,

Dave Clark
--
int.ext: 91078
direct: (937) 531-6378
home: (937) 751-3300

Winsupply Group Services
3110 Kettering Boulevard
Dayton, Ohio 45439 USA
(937) 294-5331




************************************************************
*********************************
This email message and any attachments is for use only by the named
addressee(s) and may contain confidential, privileged and/or proprietary
information. If you have received this message in error, please
immediately notify the sender and delete and destroy the message and all
copies. All unauthorized direct or indirect use or disclosure of this
message is strictly prohibited. No right to confidentiality or privilege
is waived or lost by any error in transmission.
************************************************************
*********************************
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.




--
Darryl Freinkel





This thread ...

Replies:

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

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