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



Frances,
Thanks for the help.
I checked our System for the systemDefault.properties file, but was unable
to locate it.
Can you provide a sample file?
I checked IBM's website - Java system properties for Java 2 Software
Development Kit (J2SDK), Standard Edition, version 1.3
but I am unsure of the syntax needed for the System Properties.
Thanks








                      java400-l-request@m         To:      
java400-l@midrange.com
                      idrange.com                 cc:
                      Sent by:                    Subject: JAVA400-L digest, 
Vol 1 #506 - 3 msgs
                      java400-l-admin@mid
                      range.com


                      11/11/02 01:00 PM
                      Please respond to
                      java400-l






   1. Re: How to set the default Java version (Frances Stewart)
   2. Re: AS/400 and Java (Tomcat on AS400) (Mark Phippard)
   3. RE: AS/400 and Java (Tomcat on AS400) (SRamanujan@sungardfutures.com)

--__--__--

Message: 1
Subject: Re: How to set the default Java version
To: java400-l@midrange.com
From: "Frances Stewart" <francess@us.ibm.com>
Date: Sun, 10 Nov 2002 20:20:16 -0600
Reply-To: java400-l@midrange.com


There are a couple of different things you can do depending on who you want
to effect.

1). To affect just your compile, and only adjusting the javac command:
      javac -J-Djava.version=1.3 ...
      NOTE: You do not qualify the path name to javac - specifying the java
version to use via -J-Djava.version=1.3 picks up things correctly for you.

2). To affect just you compiles, without adjusting javac command each time:
       Create file SytemDefault.properties in directory
/home/yourUserProfile (or whatever directory is specified for your
user.home) and add the line "java.version=1.3"   (without the double
quotes).
       E.g.:
       mkdir '/home/yourUserProfile'     where yourUserProfile is your
As/400 user profile name
       edtf '/home/yourUserProfile/SystemDefault.properties
       java.version=1.3
       PF3 twice to save and exit

3). To effect everyone on the system, add (or change) the line
"java.version=1.3"   (without the double quotes) to file
/QIBM/UserData/Java400/SystemDefault.properties   (create the file using
editf if it does not exist).

For more information for items 1 and 2, see
http://publib.boulder.ibm.com/iseries/v5r1/ic2924/info/rzaha/config.htm
(System property configuration heading)  in the iSeries info center.


Frances Stewart
WebSphere Application Server for iSeries 400
IBM Rochester




                      magaziner_barry@j
                      pmorgan.com              To:
java400-l@midrange.com
                      Sent by:                 cc:
                      java400-l-admin@m        Subject:  How to set the
default Java version
                      idrange.com


                      11/10/2002 09:54
                      AM
                      Please respond to
                      java400-l





Can anyone advise how I can set the Default Java version on the AS400.
We have three versions: 1.1.8, 1.2 and 1.3 and it looks as if the default
version is 1.1.8.
I am compiling my programs under 1.3, using the command
/QIBM/ProdData/Java400/jdk13/bin/javac   ServletSample.java
When I execute a java program in QShell using the java command, I' getting
run-time errors
that would not occur under jdk 1.3.
When I check the version with the QShell command:  java -version, I see
1.1.8.
Thanks



This communication is for informational purposes only.  It is not intended
as
an offer or solicitation for the purchase or sale of any financial
instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made
herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.

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





End of JAVA400-L Digest





This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.