To use a different version of Java as the default runtime environment for a specific user, create a new STMF file on the IFS within the home directory for the user as follows:
/home/UserPrf/SystemDefault.properties
Note: Replace underscored values with appropriate values.
This file should contain one line (e.g. 1.4, but it can be any version that is installed on the system), i.e.: java.version=1.4
Save and exit the file and that User will now be using this specified version of Java.
Disclaimer: Vision Solutions makes every effort to provide accurate system management information and programming code; however the company cannot be held liable for the accuracy of information nor its compatibility in your own environment. Please review and test thoroughly before implementing. © Copyright 2008, Vision Solutions, Inc. All rights reserved. IBM, System i, iSeries, i5/OS and AS/400 are trademarks of International Business Machines Corporation. All other brands are property of their respective registered owners.
Showing posts with label Java. Show all posts
Showing posts with label Java. Show all posts
9/1/08 Change the default Java Runtime Environment for a specific user
Labels:
Java
6/30/08 See the version of Java your System i is running
To see the JDK that the System i you are working on uses by default, enter the command:
JAVA *VERSION.
Disclaimer: Vision Solutions makes every effort to provide accurate system management information and programming code; however the company cannot be held liable for the accuracy of information nor its compatibility in your own environment. Please review and test thoroughly before implementing. © Copyright 2008, Vision Solutions, Inc. All rights reserved. IBM, System i, iSeries, and AS/400 are trademarks of International Business Machines Corporation. All other brands are property of their respective registered owners.
Subscribe to:
Posts (Atom)