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



pekrzyz@xxxxxxxxxxxxxxx wrote:
> 
> >We have a v5r2 with JDK1.3 and 1.42 installed.
> >/QIBM/UserData/Java400/SystemDefault.properties contains an item
> >java.version=1.4.
> 
> >This seems to work. 'java -version' in qsh gives "java version "1.4.2""
> 
> When i tried that in qsh,  i get 1.3.1.  My understanding is that when
> you upgraded the os versions, that the default remained at 1.3 and did
> not change to the newer installed 1.4.2 version.
> 
> The ironic thing about this is that all the documentation states that you
> just need to set you own system.properties and this behavior should
> change.
> I have confirmed that this indeed does not work. In communicating with IBM
> they indicated that system.properties gets ignored in V5r2.
> 

Is the problem that javac isn't using the right version or that calling
from RPG isn't using the right version?  If it's RPG, then it's only the
java.version property that is ignored in the SystemDefault.properties
file.  You should do what Ashish suggested and use the
QIBM_RPG_JAVA_PROPERTIES environment variable set to
'-Djava.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.