- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sh: jar: not found.
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
тАО03-29-2006 09:45 PM
тАО03-29-2006 09:45 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2006 09:59 PM
тАО03-29-2006 09:59 PM
Re: sh: jar: not found.
add the Java bin directory to the envirenmont (PATH) of the oracle user.
in my case java1.4
/opt/java1.4/bin
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2006 10:00 PM
тАО03-29-2006 10:00 PM
Re: sh: jar: not found.
Check the JAVA_PATH envirnoment variable.
Check the oracle start scripts.
swlist -l product | grep -i java
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
тАО03-29-2006 10:04 PM
тАО03-29-2006 10:04 PM
Re: sh: jar: not found.
Oracle install uses the java distribution brought in with the CD/DVD.
I think your Oracle CD is not not mounted with the correct RR-option so the filename cannot be found.
Try
cd
find . -type f -name 'JAR*' -print
If the find gives you results:
There are many many threads in the forum concerning CD + Rockridge - search!
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2006 10:05 PM
тАО03-29-2006 10:05 PM
Re: sh: jar: not found.
sh: jar: not found.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2006 10:06 PM
тАО03-29-2006 10:06 PM
Re: sh: jar: not found.
=> usually in /opt/java1.*/bin/jar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2006 10:07 PM
тАО03-29-2006 10:07 PM
Re: sh: jar: not found.
=> usually in /opt/java1.*/bin/jar
# /usr/sbin/swlist | grep -i -E "java.*sdk"
B9788AA 1.3.1.13.01 Java2 1.3 SDK for HP-UX
T1456AA 1.4.2.04.00 Java2 1.4 SDK for HP-UX
c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2006 10:10 PM
тАО03-29-2006 10:10 PM
Re: sh: jar: not found.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2006 10:11 PM
тАО03-29-2006 10:11 PM
Re: sh: jar: not found.
xxx[]/home/oracle> jar
ksh: jar: not found
xxx[]/home/oracle> export PATH=$PATH:/opt/java1.4/bin
xxx[]/home/oracle> jar
Usage: jar {ctxu}[vfm0Mi] [jar-file] [manifest-file] [-C dir] files ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2006 10:14 PM
тАО03-29-2006 10:14 PM
Re: sh: jar: not found.
sh: jar: not found
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2006 10:20 PM
тАО03-29-2006 10:20 PM
Re: sh: jar: not found.
# /opt/java1.4/bin/jar
Check the jar file
# file /opt/java1.4/bin/jar
jar: PA-RISC1.1 shared executable dynamically linked -not stripped
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2006 10:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2006 10:36 PM
тАО03-29-2006 10:36 PM
Re: sh: jar: not found.
#file /opt/java1.4/bin/jar
/opt/java1.4/bin/jar: PA-RISC1.1 shared executable dynamically linked -not stripped
#jar
sh: jar: not found.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2006 10:38 PM
тАО03-29-2006 10:38 PM
Re: sh: jar: not found.
# export PATH=$PATH:/opt/java1.4/bin
# jar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2006 10:44 PM
тАО03-29-2006 10:44 PM