- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: setup java enviornent
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-20-2006 04:48 AM
11-20-2006 04:48 AM
PATH=/usr/java/j2sdk1.4.2_02/bin:$PATH
Java Location:
/usr/java/j2sdk1.4.2_02/bin
export JAVA_HOME=/usr/java/j2sdk1.4.2_02
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2006 04:52 AM
11-20-2006 04:52 AM
SolutionSuggestions
1) Make arure there is something in the JAVA_HOME directory.
2) See that the java installation itself is not corrupt and has appropriate patches
3) Try compiling a simple java program like hello world to test your environment.
4) JAVA_PATH ? Seems I did this once.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2006 05:11 AM
11-20-2006 05:11 AM
Re: setup java enviornent
I tried but not work
I have a founding , when run "java -version" , it pop
Error occurred during initialization of VM
Unable to load native library: /usr/java/j2sdk1.4.2_02/jre/lib/i386/libjava.so: sy
mbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
can advise what is wrong ? thx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2006 05:26 AM
11-20-2006 05:26 AM
Re: setup java enviornent
I think you will need to define it as well... as java libraries...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2006 10:16 AM
11-20-2006 10:16 AM
Re: setup java enviornent
it is strange , CLASSPATH set to the java path , but stlll not work ... ,
I have another server , hv the same settings but it is work , can advise if I want to totally copy all the environment setting ( eg. $PATH , $SET , export ) from one server to another server ? thx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2006 03:39 PM
11-20-2006 03:39 PM
Re: setup java enviornent
you can run the "env" command on both servers and compare the outputs!
you will be able to identify the missing environment variables.
hope this helps!
kind regards
yogeeraj