- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- The JAVA_HOME environment variable is not defined ...
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
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
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
тАО08-31-2004 02:49 PM
тАО08-31-2004 02:49 PM
Try both ways in my ENV.
1) JAVA_HOME=/opt/java1.4/bin;export JAVA_HOME
2) JAVAHOME=/opt/java1.4/jre; export JAVAHOME
3) PATH=$PATH:$JAVA_HOME/bin; export PATH
When I run my program, it show the following:-
$ The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program.
$ which java
/opt/java1.4/bin/java
What can I do to make it work?
Thanks,
Sim
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2004 02:53 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2004 02:58 PM
тАО08-31-2004 02:58 PM
Re: The JAVA_HOME environment variable is not defined correctly
Hmm..I backtrack.. Try JAVA_HOME=/opt/java1.4.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2004 03:04 PM
тАО08-31-2004 03:04 PM
Re: The JAVA_HOME environment variable is not defined correctly
Tried both your methods but still get the same error.
regards,
Sim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2004 03:10 PM
тАО08-31-2004 03:10 PM
Re: The JAVA_HOME environment variable is not defined correctly
Thanks, I have managed to get it work by modifying my program script.
Thanks,
Sim