About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
How To
Summary
How to set Java path for C shell (csh)?
Steps
Edit the startup file (~/.cshrc
)
- Set Path
set path=(
/usr/java8_64/jre/bin$path)
- Save and close the file
- Load the startup file
% source ~/.cshrc
- Verify that the path is set by repeating the
java
command
% java -version
Additional Information
Note: If path is also set in the ~/.login file, the login path overrides ~/.chsrc file.
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB08","label":"Cognitive Systems"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG10","label":"AIX"},"ARM Category":[{"code":"a8m50000000L0G1AAK","label":"Java"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]
Was this topic helpful?
Document Information
Modified date:
20 December 2022
UID
ibm16849253
Manage My Notification Subscriptions