- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Java - Getting To First Base
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
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
тАО01-24-2006 02:58 AM
тАО01-24-2006 02:58 AM
At /opt/java1.4/bin/ almost all of the files there are 89784 in size.
Also, the command, #java -version, comes back with sh: java: not found.
I expect that I need to do a swinstall, I have had trouble finding installation instructions.
Help would be appreciated.
Solved! Go to Solution.
- Tags:
- Java
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2006 03:09 AM
тАО01-24-2006 03:09 AM
Re: Java - Getting To First Base
That's simply because it's not in your PATH. First try doing "/opt/java1.4/bin/java -version". If that fails then maybe you do need to install. You can download from here:
http://www.hp.com/products1/unix/java/
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2006 03:15 AM
тАО01-24-2006 03:15 AM
Re: Java - Getting To First Base
swlist -l product | grep -i java
If it's there you'll see a listing.
If the files are "there" and all have the same size it's probably because in the bin directory all of the files are "hard-linked" to the main executable. Is there a number when you do an "ls -al" as the second argument on most of the lines? Are the numbers all the same (like 20 or 30 or so)? Then they are linked together.
If they are hardlinked, then they share an inode. Try:
ls -ali * (this means list the inode number)
Do most of them have the same first number? Once again, if so, they are hard linked to the same file.
As far as why "java -version" doesn't work, it may not be in your path. From the "bin" directory mentioned above, try "./java -version)" instead. If that clears it up then you need to append the java/bin directory to your path (don't do this for root).
If in doubt, it wouldn't hurt to uninstall it and reinstall it - once you've nailed down which version you need to install and have found the java depot file for swinstall.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2006 03:17 AM
тАО01-24-2006 03:17 AM
Re: Java - Getting To First Base
You can download latest JDK from,
http://www.hp.com/products1/unix/java/?jumpid=go/java
After downloading, just do,
# swinstall -s
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2006 03:23 AM
тАО01-24-2006 03:23 AM
SolutionInstallation instructions for JDK5.0 is available at,
http://www.hp.com/products1/unix/java/java2/jdkjre5_0/infolibrary/jdk_rnotes_5.0.02.html
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2006 04:22 AM
тАО01-24-2006 04:22 AM
Re: Java - Getting To First Base
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2006 04:51 AM
тАО01-24-2006 04:51 AM