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



"Mike Pantzopoulos - (H/O)" wrote:

We are having trouble resolving to the LogManager Class in the
java/util/logging/ package when attempting to access it through an RPG
interface.

When we run a similar program in QSHELL it works.

Our Java programmer knows next to nothing about the iSeries and I have
an adequate, but limited knowledge of Java. In the RPG I have the
following test code:

The Java programmer thought that the JVM may be using an earlier JDK
however as far as I can tell, both the JVM and QSHELL are running the
same JDK. I found this with the following iSeries command:

JAVA *VERSION

Version JVM V5R3M0 JDK 1.4.2.


To see what version your RPG job is running, you could try the DMPJVM
command.  (You have to run it from a different job.)

It may say that the version being used is 1.3; if so, try adding the
QIBM_RPG_JAVA_PROPERTIES environment variable with value
'-Djava.version=1.4;' (don't forget the final semicolon).  You have to
set that envvar before your JVM gets started.

If you are on v5r3 or later, you can also add the java.version property
to your SystemDefaults.properties file (if you aren't already using this
file, see the info center for the various places you can put it).  You
would add this line:
   java.version=1.4


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