Operating System - Linux
1753964 Members
7720 Online
108811 Solutions
New Discussion юеВ

Re: Java 64 bit mode as default

 

Java 64 bit mode as default

Hallo
we use java 1.4.2 on our HP UX B.11.11 U 9000/800, which is in 64 bit mode.
Currently if we want to run java in 64 bit mode, we have to do this with the option -d64.
Is there any possibility to make this automatic, i.e. to run java automatically with 64 bit mode?
Thanks!
Kind regards
Sabine

2 REPLIES 2
Peter Godron
Honored Contributor

Re: Java 64 bit mode as default

Sabine,
quickest way is to create an alias for java which includes the -d64 option.

alias java64='javapath/java -d64'
Peter Godron
Honored Contributor

Re: Java 64 bit mode as default

Sabine,
if you are happy with the answer:
http://forums1.itrc.hp.com/service/forums/helptips.do?#28