Operating System - HP-UX
1836987 Members
2340 Online
110111 Solutions
New Discussion

Re: java crashes on hp-ux 11.23

 
SOLVED
Go to solution
dictum9
Super Advisor

java crashes on hp-ux 11.23

This is on hp-ux 11.23
Not sure how to check the version.

./java -version
Illegal instruction(coredump)

Here is the software installed on it:


tmp#: swlist | grep -i java
B9788AA 1.3.1.17.00 Java2 1.3 SDK for HP-UX
B9789AA 1.3.1.15.01 Java2 1.3 RTE for HP-UX
T1456AA 1.4.2.07.02 Java2 1.4 SDK for HP-UX
T1456AAaddon 1.4.2.07.02 Java2 1.4 SDK -AA addon for HP-UX
T1457AA 1.4.2.07.02 Java2 1.4 RTE for HP-UX
T1457AAaddon 1.4.2.07.02 Java2 1.4 RTE -AA addon for HP-UX
Jdk13 1.3.1.15.01 Java2 1.3 SDK




Here is how it should work, an identical machine:

#: ./java -version
java version "1.5.0.02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0.02-_14_oct_2005_17_51) Java HotSpot(TM) Server VM (build 1.5.0.02 jinteg:10.14.05-23:46 IA64, mixed mode)

12 REPLIES 12
Grayh
Trusted Contributor
Solution

Re: java crashes on hp-ux 11.23

uname -a will give the OS version.

Applying this new patch - PHCO_27375 (s700_800 11.00 cumulative SAM/ObAM patch) might solve your issue.



Tim Nelson
Honored Contributor

Re: java crashes on hp-ux 11.23

your swlist shows three different versions of java

which directory are you in when you are executing ./java -version ???

Also, if you want java 1.5.xx as shown in your other example then you need to install it.

I am assuming whichever directory you are in the java exec you are using is no good. reinstall or upgrade..

dictum9
Super Advisor

Re: java crashes on hp-ux 11.23

That patch seems to be for something entirely different.

dictum9
Super Advisor

Re: java crashes on hp-ux 11.23

The diagnostic application from Quest installs its own version of Java.
Here are log files, one from a non-working machine where java dumps core and the second one from a working machine.
You can see the difference, look at the line:

checking: "1.5.0.02" against "1.4+": passed

BAD:

^[[7m========= Analyzing UNIX Environment =================================^[[0m
Setting UNIX (hp-ux) flavor specifics.
Importing UNIX environment into LAX properties.
Checking for POSIX awk.

^[[7m========= Analyzing LAX ==============================================^[[0m
LAX found............................ OK.
LAX properties read.................. OK.
^[[1mWARNING! DISPLAY variable not set. Will attempt to run installer in CONSOLE mode.^[[0m

^[[7m========= Finding VM =================================================^[[0m
^[[1mValid VM types.......................... 1.4+^[[0m Absolute LAX_VM path.................... /home/oracle/orasoft/Quest/Itanium/install.dir.18626/HPUX/resour
ce/jre/bin/java
^[[1mExpanded Valid VM types................. 1.4+ ^[[0m
checking: "" against "1.4+": failed (wrong version)




GOOD:

^[[7m========= Analyzing UNIX Environment =================================^[[0m
Setting UNIX (hp-ux) flavor specifics.
Importing UNIX environment into LAX properties.
Checking for POSIX awk.

^[[7m========= Analyzing LAX ==============================================^[[0m
LAX found............................ OK.
LAX properties read.................. OK.
^[[1mWARNING! DISPLAY variable not set. Will attempt to run installer in CONSOLE mode.^[[0m

^[[7m========= Finding VM =================================================^[[0m
^[[1mValid VM types.......................... 1.4+^[[0m Absolute LAX_VM path.................... /home/oracle/orasoft/Quest/Itanium/install.dir.126
4/HPUX/resource/jre/bin/java
^[[1mExpanded Valid VM types................. 1.4+ ^[[0m
checking: "1.5.0.02" against "1.4+": passed
* Using VM.....(lax.nl.current.vm)...... /home/oracle/orasoft/Quest/Itanium/install.dir.126
4/HPUX/resource/jre/bin/java
V. Nyga
Honored Contributor

Re: java crashes on hp-ux 11.23

Hi,

java1.5 if for 64bit engines only - can you verify this? (I don't know 11.23)
Is the swlist the same for both maschines?
Can you give us:

'uname -a'
'file /stand/vmunix'

Volkmar
*** Say 'Thanks' with Kudos ***
Dennis Handly
Acclaimed Contributor

Re: java crashes on hp-ux 11.23

>Volkmar: java1.5 is for 64bit engines only - can you verify this?

There are both 32 and 64 bit version of java.

>file /stand/vmunix

This is useless. All kernels on 11.23 and later are 64 bit. And "uname -a" would give more info.

>DMVamsi: Applying this new patch - PHCO_27375 (s700_800 11.00 cumulative SAM/ObAM patch)

Not hardly. It won't install on 11.23.
Tim Nelson
Honored Contributor

Re: java crashes on hp-ux 11.23

According to the swlist supplied he does not even have java 1.5 installed on the first (bad) machine.

tmp#: swlist | grep -i java
B9788AA 1.3.1.17.00 Java2 1.3 SDK for HP-UX
B9789AA 1.3.1.15.01 Java2 1.3 RTE for HP-UX
T1456AA 1.4.2.07.02 Java2 1.4 SDK for HP-UX
T1456AAaddon 1.4.2.07.02 Java2 1.4 SDK -AA addon for HP-UX
T1457AA 1.4.2.07.02 Java2 1.4 RTE for HP-UX
T1457AAaddon 1.4.2.07.02 Java2 1.4 RTE -AA addon for HP-UX
Jdk13 1.3.1.15.01 Java2 1.3 SDK

dictum9
Super Advisor

Re: java crashes on hp-ux 11.23

So what does this mean?



^[[1mExpanded Valid VM types................. 1.4+ ^[[0m
checking: "" against "1.4+": failed (wrong version

V. Nyga
Honored Contributor

Re: java crashes on hp-ux 11.23

The script failed to install java1.5 - that's what I meant - maybe your java version is not allowed for the maschine.
Ok - I've seen this only at 11.0, but it looks like when you look with swinstall in a depot where are not the right version of patches ... you see nothing.

Dennis - could it be?

V.
*** Say 'Thanks' with Kudos ***
V. Nyga
Honored Contributor

Re: java crashes on hp-ux 11.23

Sorry - a new idea :-)
Try to install java1.5 from hp source:
http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXJAVAHOME

Put it or a link where quest want it.

Else you have to check why the script failed ...

V.
*** Say 'Thanks' with Kudos ***
dictum9
Super Advisor

Re: java crashes on hp-ux 11.23


That is an idea.
Dennis Handly
Acclaimed Contributor

Re: java crashes on hp-ux 11.23

>V: I've seen this only at 11.0, but it looks like when you look with swinstall in a depot where are not the right version of patches ... you see nothing. Dennis - could it be?

swlist should list all version but swinstall will only show/install the ones compatible the machine.