- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- .profile is missing
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2010 08:28 AM
11-08-2010 08:28 AM
.profile is missing
I have installed java1.5.20 on a HP_UX 11.23 (ia64) server. I now need to point the appropriate user account to the path of the new version. However there is no .profile file in the user account I need to change and so when I echo the JAVA_HOME it still points and uses the previous version.
Where else could this VAR be called from if it does not have a .profile file?
R,
D.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2010 08:34 AM
11-08-2010 08:34 AM
Re: .profile is missing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2010 08:41 AM
11-08-2010 08:41 AM
Re: .profile is missing
> However there is no .profile file in the user account I need to change
So, does the account in question use the C-shell ('/usr/bin/csh')? If so, look at '.cshrc' or '.login' and add something like:
setenv JAVA_HOME thehomeofjava
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2010 08:45 AM
11-08-2010 08:45 AM
Re: .profile is missing
The only listed file (included hidden files) within the user home dir is .sh_history.
The previous path is not listed in the /etc/profile.
R,
D.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2010 09:48 AM
11-08-2010 09:48 AM
Re: .profile is missing
> The only listed file (included hidden files) within the user home dir is .sh_history.
So if the login shell is '/usr/bin/sh' (the default as specified in '/etc/passwd') then copy a "virgin" '.profile' from:
# /usr/newconfig/etc/skel
...and add:
export JAVA_HOME=javaliveshere
Be sure to log out and then log back in to test.
Regards!
...JRF...