General discussion

Locked

setting PATH variables in Solaris 8

By z_mazurc ·
Hi, having trouble with getting our JRE and Oracle to work correctly. I believe the issue resides in setting the PATH variable to point correctly to the new location of the recently installed JDK131. However, I'm not exactly sure how to set the PATH variable in Solaris 8. I figure it is either a command like 'set PATH=' or it is in a file. any help would be greatly appreciated.
chris

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

setting PATH variables in Solaris 8

by cpfeiffe In reply to setting PATH variables in ...

It depends on what shell you are using. Here are examples for the three most common shells.

sh (bourne)
PATH=newdir:$PATH;export PATH

ksh (korn)
export PATH=newdir:$PATH

csh (C)
setenv PATH "newdir:$PATH"

Using $PATH ensures that other necessary settings already in your path are reapplied.

You can also set this in the .profile or .cshrc file for users (including root and/or oracle) so when the user is logged in the path will be set.

Good luck.

Collapse -

setting PATH variables in Solaris 8

by z_mazurc In reply to setting PATH variables in ...
Collapse -

setting PATH variables in Solaris 8

by z_mazurc In reply to setting PATH variables in ...

This question was closed by the author

Back to Linux Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums