- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- oracle 9i Install and JDK
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
тАО12-01-2004 09:01 PM
тАО12-01-2004 09:01 PM
oracle 9i Install and JDK
I'm in the process of installing Oracle 9i on my HP-UX 11.11 system. Using the InstallPrep.sh script from Oracle to test whether various things are in place and OK, the script does a JDK verification test. The output is:
JDK version is 31
JDK version installed must be 1310
Please download (32bit word size version when available) from the OS vendors web site at:
http://www.hp.com/products1/unix/java
JDK test failed
I'm confused about what exactly JDK is (find lots of SDK, RTE stuff though), where to install it, or even what I need to download to get through this test. I downloaded sdk13105_bundle.tar - but this isn't the right thing as it still failed the test.
Any ideas?
Thanks
Dale
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2004 09:12 PM
тАО12-01-2004 09:12 PM
Re: oracle 9i Install and JDK
As far as I remember, you have to install RTE
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2004 09:15 PM
тАО12-01-2004 09:15 PM
Re: oracle 9i Install and JDK
JDK is Java Developers Kit. See at SAM what version you have:
#SAM -> Software Management -> List Software -> List Installed Software -> View -> Change Software View -> Start With Products. JDK is listed in alphabetical order.
Best Regards,
Eric Antunes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2004 09:33 PM
тАО12-01-2004 09:33 PM
Re: oracle 9i Install and JDK
Thanks - my JDK set-up is:
Jdk -> 1.3.1.05.00 Java2 1.3 SDK
Yet it still fails the check for JDK which is 1.3.1.02
Confused!
Regards
Dale
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2004 09:53 PM
тАО12-01-2004 09:53 PM
Re: oracle 9i Install and JDK
Exact link for download (1.3.1.14 for PA-RISC) should be :
http://www.hp.com/products1/unix/java/java2/sdkrte1_3/downloads/license_rte_1-3-1-14_pa-risc.html
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2004 10:00 PM
тАО12-01-2004 10:00 PM
Re: oracle 9i Install and JDK
$ORACLE_BASE/local/java/jre
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2004 10:11 PM
тАО12-01-2004 10:11 PM
Re: oracle 9i Install and JDK
OK - thanks for the reponses.
I wil download and install from the link. I will also look into the $PATH variable. Under my 8.1.7 install I have nothing after $ORACLE_BASE called 'local'. So Java's probably not even installed.
Will work through the help, and update and hopefully assign point :o)
Regards
Dale
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2004 08:21 PM
тАО12-02-2004 08:21 PM
Re: oracle 9i Install and JDK
......now I have problems with the linking stage! Specifically:
/usr/ccs/bin/make -f ins_plsql.mk install ORACLE_HOME=/oracle/product9i/9.2.0
results in the error:
ld: Mismatched ABI (not an ELF file) for -llibcl.sl
Fatal error.
*** Error exit code 1
I've no doubt there's a missing patch somewhere, even though I've got the server pretty much up to date. Oh well - no pain no gain!
Thanks
Dale
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2004 09:51 PM
тАО12-02-2004 09:51 PM
Re: oracle 9i Install and JDK
Check this thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=200224
You may have the same bits issue: Oracle 9i is 64 bits compiled? And you HP-UX version??
Regards,
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2004 10:08 PM
тАО12-02-2004 10:08 PM
Re: oracle 9i Install and JDK
11.11:
drserver.oracle.LIVE > : uname -a
HP-UX drserver B.11.11 U 9000/871 2005557050 unlimited-user license
So O/S is 64 bit, and 9.2.0.1 RDBMS is 64-bit only.
My $ORACLE_HOME/lib contains 64 bit files, and the $ORACLE_HOME/lib32 32 bit.
I can find no reference in the .profile that points the PATH or any other environment variable to the 32 bit files, but my make.log for the relink shows:
Created /oracle/product9i/9.2.0/lib/libclntst9.a
Extracting from /oracle/product9i/9.2.0/lib32/libclient9.a ...
Extracting from /oracle/product9i/9.2.0/lib32/libcommon9.a ...
Extracting from /oracle/product9i/9.2.0/lib32/libcore9.a ...
so I'm not sure why there's a reference to 32 in there! Will read the thread you found....
Thanks
Dale
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2004 11:11 PM
тАО12-02-2004 11:11 PM
Re: oracle 9i Install and JDK
What is O/S bit version:
#getconf KERNEL_BITS
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2004 11:18 PM
тАО12-02-2004 11:18 PM
Re: oracle 9i Install and JDK
64
I've checked my required patchset revisions and either what Oracle want - or higher. I've set PATH, LD_LIBRARY_PATH and SHLIB_PATH as required:
drserver.oracle.LIVE > : echo $PATH
.:/oracle/product9i/9.2.0/bin:/usr/bin:/usr/sbin:/usr/ccs/bin:/usr/bin/X11:/usr/lib:/usr/ccs/lib:/bin:/etc:/usr/ucb:/usr/contrib/bin:/opt/java1.3/bin
drserver.oracle.LIVE > : echo $LD_LIBRARY_PATH
/oracle/product9i/9.2.0/lib:/oracle/product9i/9.2.0/jdbc/lib:/usr/dt/lib:/usr/openwin/lib:/usr/ccs/lib
drserver.oracle.LIVE > : echo $SHLIB_PATH
/oracle/product9i/9.2.0/lib32.
I have 2Gb RAM, swap is:
drserver.root > : swapinfo -q
5488792
So I've eliminated the requirements - just checking the kernal settings...
Regards
Dale
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2004 02:42 AM
тАО12-03-2004 02:42 AM
Re: oracle 9i Install and JDK
1. There are two Java specifications:
a. Java 1
b. Java 2
2. Further, there are "sub"-specifications:
a. Java 1
o Java 1.1.X
b. Java 2
o Java 1.2.X
o Java 1.3.X
o Java 1.4.X
where, Java 1.2, 1.3 amd 1.4 are Java 2 versions, and the Xs are
levels of HP bug-fixes.
3. Within the Java 2 specifications, Java 1.3 includes all Java 1.2
features, etc.
4. Further, there are two "classes" of products:
SDK System Development Toolkit
RTE Runtime Environmnet
Where,
a. SDK includes:
o compiler
o developers "toolkit"
o debugger
o run-time library
b. RTE includes:
o run-time library only
5. The SDK includes the RTE.
You need the SDK to develop and run.
You only need the RTE if you only going to run pre-compiled object
binaries.
6. You can tell what product you have, by doing a swlist:
sabramsd@acadv07:/opt$ swlist | grep -i java
B5456CA C.01.18.01 HP-UX Development Kit for Java*
B5458DA C.01.18.04 HP-UX Runtime Environment for Java*
B8110AA 1.2.2.08.00 Java 2 SDK for HP-UX (700/800), PA1.1 + PA2.0 Add On
B9788AA 1.3.0.01 Java 2 SDK 1.3 for HP-UX (700/800), PA1.1 + PA2.0 Add On
B9789AA 1.3.0.01 Java 2 RTE 1.3 for HP-UX (700/800), PA1.1 + PA2.0 Add On
7. You can also look in /opt:
$ cd /opt
$ ll -d java*
dr-xr-xr-x 9 bin bin 1024 Jul 15 2000 java V. 1.1
drwxrwxrwx 8 bin bin 1024 Oct 3 13:50 java1.2 V. 1.2
drwxrwxrwx 7 bin bin 1024 Oct 22 17:11 java1.3 V. 1.3
8. So what we should do is install only the latest:
B9788AA 1.3.0.01 Java 2 SDK 1.3 for HP-UX (700/800), PA1.1 + PA2.0 Add On
swinstall -s bkmstr01:/swdepot/11.0/products B9788AA
9. You can download the latest JDK / SDK from the hp java website:
http://www.hp.com/products1/unix/java/
10. To actually run java you must set your path:
export PATH=$PATH:/opt/java1.3/bin/
# java -version
java version "1.3.1.10"
Java(TM) 2 Runtime Environment, Standard Edition (build
1.3.1.10-030630-10:50)
Java HotSpot(TM) Server VM (build 1.3.1 1.3.1.10-
_30_jun_2003_11_52 PA2.0, mixed mode)
11. Here is what we run at WABTEC:
saroot@wcshps07:/usr/bcv/scripts# swlist | grep -i java
B8111AA 1.2.2.14.02 Java 2 RTE for HP-UX (700/800), PA1.1 + PA2.0 Add On
B9098AA 1.2.2.14.02 Java 2 Plugin for HP-UX (700/800)
B9788AA 1.3.1.10.07 Java2 1.3 SDK for HP-UX
B9789AA 1.3.1.09.05 Java2 1.3 RTE for HP-UX
T1455AA 1.3.1.09.05 Java2 1.3 Netscape Plugin for HP-UX
saroot@wcshps07:/usr/bcv/scripts# export PATH=$PATH:/opt/java1.3/bin
saroot@wcshps07:/usr/bcv/scripts# java -version
java version "1.3.1.10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1.10-030630-10:50)
Java HotSpot(TM) Server VM (build 1.3.1 1.3.1.10-_30_jun_2003_11_52 PA2.0, mixed mode)
12. Install it like this:
saroot@wcshps08:/home/saroot# swlist -s acshps05 -l depot
# Initializing...
# Target "acshps05" has the following depot(s):
/var/adm/swdepots/JetAdmin
/var/adm/swdepots/QPK1100.60.4
/var/adm/swdepots/A51258A_B.11.00.10
/var/adm/swdepots/EMCPower.HP.3.0.2
/var/adm/swdepots/EMCPower.HP.2.1.0_b108
/var/adm/swdepots/Performance
/var/adm/swdepots/SDK1.3
saroot@wcshps08:/home/saroot# swlist -s acshps05:/var/adm/swdepots/SDK1.3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2004 03:04 AM
тАО12-03-2004 03:04 AM
Re: oracle 9i Install and JDK
Very comprehensive - I think I'll need to re-read that to fully digest. Checking my server:
drserver.root > : swlist | grep -i java
B8110AA 1.2.2.11.01 Java 2 SDK for HP-UX (700/800), PA1.1 + PA2.0 Add On
B8111AA 1.2.2.11.01 Java 2 RTE for HP-UX (700/800), PA1.1 + PA2.0 Add On
B8752AA 1.2.1.03.00 HP 3D Technology API for Java(tm) Development Kit*
B9098AA 1.2.2.11.01 Java 2 Plugin for HP-UX (700/800)
B9788AA 1.3.1.05.00 Java2 1.3 SDK for HP-UX
B9789AA 1.3.1.14.00 Java2 1.3 RTE for HP-UX
T1455AA 1.3.1.05.00 Java2 1.3 Netscape Plugin for HP-UX
Oracle want me to install 9.2.0.6 - even though link will fail - before we can progress.......
I guess you never stop learning!
regards
Dale
P.S. Will update ASAP - thanks again for all help received.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2004 04:18 AM
тАО12-03-2004 04:18 AM
Re: oracle 9i Install and JDK
This looks like you have two versions installed. Make sure that environment JAVA_HOME ponits to the correct one with
$JAVA_HOME/bin/java -version
May be the environment setting is mixed up
Volker