Thanks Buck,

I will look into this


John


-----Original Message-----
From: Buck Calabro [mailto:kc2hiz@xxxxxxxxx]
Sent: Monday, December 21, 2015 2:47 PM
To: java400-l@xxxxxxxxxxxx
Subject: Re: Java error on 7.1 not on 6.1

On 12/21/2015 2:01 PM, John Allen wrote:

I have been running a java program on 6.1 for a year or so.

Now I try to run the program on 7.1 and I get this error:

(The java program finishes executing and works fine, but the message

is obviously unacceptable to the users)

Error:

The java.version property was detected as input. This property is
used
as output only and has no effect on JVM initialization.

There must be a setting I am missing somewhere but I don't know
where
to look/what to change

There was a thread on the RPG list in Feb 2013 that dealt with this.
Perhaps this will help:
http://archive.midrange.com/midrange-l/201302/msg00621.html

We used to have to use java.version in a .properties file in order to
set the Java version for our programs, but now we use the environment
variable JAVA_HOME.
https://www-304.ibm.com/support/docview.wss?uid=nas8N1017748

--
--buck

Visit wiki.midrange.com and register for an account. Edit a page that
helps you, and because it's public, you'll help someone else, too!

--
This is the Java Programming on and around the IBM i (JAVA400-L)
mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
http://archive.midrange.com/java400-l.


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