Operating System - HP-UX
1827245 Members
2906 Online
109716 Solutions
New Discussion

Re: -d64 does not work on JDK1.5.0.10

 
SOLVED
Go to solution
Don Morris_1
Honored Contributor

Re: -d64 does not work on JDK1.5.0.10

That's not a parameter, that's a function.

http://docs.hp.com/en/5992-3373/ch10s09.html
aycf
Advisor

Re: -d64 does not work on JDK1.5.0.10

updated to these but still didn't fix the -d64 issue. I am giving up now. :-(

max_thread_proc 3000
maxfiles 2048
maxfiles_lim 2048
Maxdsiz 2097152000
Nkthread 7219
Nproc 4116
Nsysmap 8232
Nsysmap64 8232
Shmmax 966367642
Dennis Handly
Acclaimed Contributor
Solution

Re: -d64 does not work on JDK1.5.0.10

>I am attaching the "goodtusc"

Was this 1.5.0.10? The path to java was different: /pwrcomptmp/...

>here's the badtusc.out with the error

The java engineer and I looked at it. It seems the working one does a mmap(2), the bad one uses read(2).

He also noticed that there are some bad symlinks in /usr/lib/pa20_64/ that point to /opt/java1.4/. This will fail if you are using 1.5.0.10! You need to remove these symlinks.

========================================================
readlink("/usr/lib/pa20_64/libverify.sl", "/opt/java1.4/jre/lib/PA_RISC2.0W/libverify.sl",
readlink("/usr/lib/pa20_64/libjava.sl", "/opt/java1.4/jre/lib/PA_RISC2.0W/libjava.sl"
readlink("/usr/lib/pa20_64/libzip.sl", "/opt/java1.4/jre/lib/PA_RISC2.0W/libzip.sl"
aycf
Advisor

Re: -d64 does not work on JDK1.5.0.10

Thank you very much,Dennis. That did it! For some reasons, those system libraries link to an old version of java.

Now, what I don't understand is how come -d64 works for the existing jdk1.5.0.4. It all just stopped working after I installed 1.5.0.10 and 1.5.0.14.
Dennis Handly
Acclaimed Contributor

Re: -d64 does not work on JDK1.5.0.10

>Thank you very much, Dennis. That did it!

You're welcome. Since you're new to the forums, please read the following about assigning points:
http://forums.itrc.hp.com/service/forums/helptips.do?#33

Note: Every reply is eligible for points, where the amount depends on how helpful they were in answering your many questions.

>what I don't understand is how come -d64 works for the existing jdk1.5.0.4. It all just stopped working after I installed 1.5.0.10 and 1.5.0.14.

I assume they have added functionality to 1.5.0.10 and then the 1.4 libverify.sl no longer liked it.
Dennis Handly
Acclaimed Contributor

Re: -d64 does not work on JDK1.5.0.10

Here is another thread that has probably made the same mistake as you but doesn't know it yet: ;-)
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1033062