× 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.



"MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx> wrote on 02/21/2018
03:06:33 PM:
On 2/21/2018 10:04 AM, dlclark@xxxxxxxxxxxxxxxx wrote:
"MIDRANGE-L"<midrange-l-bounces@xxxxxxxxxxxx> wrote on 02/21/2018
10:32:54 AM:
We are moving to 7.3, already did on development LPAR, going to do
this
on one production LPAR this weekend.

I understand that the default Java version at 7.3 is Java 8 32-bit.
But
there's a document,
https://www.ibm.com/support/docview.wss?uid=nas8N1019917, that says
that
___IBM recommends the 64-bit version___.

I asked about this, and was told that you risk running out of memory
with the 32-bit, hence, the recommendation.

OK, so how do we set this as the default for the system, not in
individual jobs, but for everything.
Notice *SYS and the JAVA properties environment variables,
below.

Work with Environment Vars (*SYS)

Type options, press Enter.
1=Add 2=Change 4=Remove 5=Display details 6=Print

Opt Name Value

QIBM_REX_FIND_SRCMBR '*BYMBRNAME'
CLASSPATH '/java/jdbc/sqljdbc4.jar:/opt/jvaga'

QIBM_RPG_JAVA_PROPERTIES '-Djava.version=1.6;-Djava.awt.head'

LANG '/QSYS.LIB/EN_US.LOCALE '

QIBM_MULTI_THREADED 'Y'

Even so, where did you set the environment variable for Java properties,

or was that done by the system automatcally?


We set it manually as follows. Looking at this now, I see we
really need to change this for a more recent version of the JVM. ;-)


ADDENVVAR ENVVAR(QIBM_RPG_JAVA_PROPERTIES)
VALUE('-Djava.version=1.6;-Djava.awt.headless=true
;-Dos400.awt.native=true;')
LEVEL(*SYS)


Sincerely,

Dave Clark

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.