![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sun to make Solaris more friendly - PC Pro | iBot | UNIX and Linux RSS News | 0 | 07-09-2007 06:20 PM |
| sun solaris 10 make error | sunrise | SUN Solaris | 9 | 05-29-2007 01:20 AM |
| solaris 9 php-4.3.4 make issue | xyyz | UNIX for Advanced & Expert Users | 2 | 02-06-2004 10:35 PM |
| solaris 9 openssl make problem with ld | xyyz | UNIX for Advanced & Expert Users | 1 | 02-03-2004 06:30 AM |
| make recovery tape for solaris | xiamin | Shell Programming and Scripting | 2 | 08-09-2002 03:00 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
How to make 64-bit JVM the default on Solaris 10
Hi,
I am running my application on a 64-bit Solaris 10 machine. Currently, my application uses JRE 1.6 32-bit version. I am trying to make it work with JRE 1.6 64-bit version. I successfully installed 64-bit java using the instructions here: How do I install Java for my Solaris x64 computer ? - 1.5.0 and am able to invoke 64-bit java using either Code:
$JAVA_HOME/bin/java -d64 Code:
$JAVA_HOME/bin/sparcv9/java How do I make the 64-bit java the default? I tried copying over the java executable from under $JAVA_HOME/bin/sparcv9 to $JAVA_HOME/bin. This seems to invokes the java 64-bit version correctly from within my application. However I do not know if this is the right thing to do or if it has adverse side effects. Any help/inputs will be greatly appreciated! Thank you so much. |
| Forum Sponsor | ||
|
|
|
|||
|
Hi Pupp,
Thank you for your response! I considered your suggestion - but as I said, since some scripts are common across platforms, if possible, I would like to avoid Solaris specific changes to them. Also the java executable for 64 bit is present directly under the sparcv9 directory. Usually the executables are supposed to be under $JAVA_HOME/bin, right? Last edited by AKiwi; 06-11-2008 at 02:58 PM. |
|||
| Google The UNIX and Linux Forums |