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
javacommand
% 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