- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to set up java Environment variables and profi...
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
Discussions
Discussions
Discussions
Forums
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
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
тАО09-16-2006 07:49 AM
тАО09-16-2006 07:49 AM
How to set up java Environment variables and profiles?
I have downloaded java and the developer wants me to set up the environment vairables , class path etc its HP_UX 64 bit 11.0
So please let me know what I should be doing at my end.
I need the basic set up.
Thnks
Kum
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2006 09:19 AM
тАО09-16-2006 09:19 AM
Re: How to set up java Environment variables and profiles?
export PATH=$PATH:/new path
also you can add environment variables here. Does all users use ksh/sh or csh?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2006 09:40 AM
тАО09-16-2006 09:40 AM
Re: How to set up java Environment variables and profiles?
Can you please give me an example,
Thnks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2006 09:52 AM
тАО09-17-2006 09:52 AM
Re: How to set up java Environment variables and profiles?
You must use /etc/profile or related user's profile to set environment variable or paths
env variables can be set like that
JAVA_HOME=/opt/java1.4
export $JAVA_HOME
If you want to add Java path in to current path IT_2007's explanation is enough for you
Best Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2006 04:38 PM
тАО09-17-2006 04:38 PM
Re: How to set up java Environment variables and profiles?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2006 06:17 PM
тАО09-17-2006 06:17 PM
Re: How to set up java Environment variables and profiles?
Don't forget the points :)
Best Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2006 02:37 AM
тАО09-18-2006 02:37 AM
Re: How to set up java Environment variables and profiles?
or alternatively you may pass it to the -cp or -classpath option on invocation of the java interpreter (e.g. in wrapper scripts)
(see "man -M /opt/java1.4/man java")
Setting of environment variables is usually done in the user's dot files (e.g. .profile vs. .login) for the shell of the user that runs the java code on your system.
So the syntax depends on whether it is a bourne or c type shell (viz. export vs. setenv)