IBM Support

How to set Java path for C shell (csh)

How To


Summary

How to set Java path for C shell (csh)?

Steps

Edit the startup file (~/.cshrc)

  1. Set Path
    set path=(
    /usr/java8_64/jre/bin $path)
  2. Save and close the file
  3. Load the startup file
    % source ~/.cshrc
  4. 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"}]

Document Information

More support for:
AIX

Component:
Java

Software version:
All Versions

Document number:
6849253

Modified date:
20 December 2022

UID

ibm16849253

Manage My Notification Subscriptions