Using 64-bit java on Solaris 10 x86

Hello,
I just got a new X2100 server and installed Solaris 10 on it. Everything's running fine and I installed the most recent x86 64-bit jdk 1.5 update on it. However, I can't find any detailed info on how to set the amd64 java binaries and env as the default.
I had to manually prepend /usr/java/bin/amd64 to my path in order to get the 64-bit jvm to be recognized. And it does - when I type java -version it shows that it's the 64-bit server jvm. But, when I try to configure Resin 3.0.14, the configure output specifcally says there is no 64-bit java detected.
So there's gotta be something I'm not doing right. Any help or suggestions would be greatly appreciated.
Thanks,
-jason

On the x86 solaris 10 system I'm looking at there is
a client VM
/bin/java -client -version
java version "1.5.0_12"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
Java HotSpot(TM) Client VM (build 1.5.0_12-b04, mixed mode)
and a server VM
/bin/java -server -version
java version "1.5.0_12"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
Java HotSpot(TM) Server VM (build 1.5.0_12-b04, mixed mode)
For the client the 64bit VM is still in development. I don't
think there are dates established for that yet.
If you can use the server VM, then you need to down
load the 64bit binaries. Then you will see
/bin/java -server -d64 -version
java version "1.5.0_12"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_12-b04, mixed mode)
The downloads are at (look for the release you want)
http://java.sun.com/javase/downloads/index.jsp
Hope that helps.

Similar Messages

  • Applets load very slowly on 64bit Windows 7 using 64 bit Java

    Hi
    We have an applet that was very quick to load under windows XP. Some of our users are now using the 64 bit Windows 7 Operating system with 64 bit Java runtime environment and this applet takes up to 20 seconds to load.
    These machines have both the 32 bit and the 64 bit versions of Java loaded. JAVA_HOME is set to C:\Program Files (x86)\Java\jdk1.6.0_26 and the PATH has %JAVA_HOME%\bin;%JAVA_HOME%\jre\bin; at the start.
    I noticed on Windows XP that there was a Java Quick Starter service which is not present in Windows 7. I assume Windows 7 has it's own optimised java loader (which obviously insn't working) as the Control Panel -> Java -> Advanced -> Miscellaneos -> Java Quick Starter is greyed out.
    I've noticed that jqs.exe does not exist in the bin directory, and there is no C:\Program Files\Java\jre6\lib\deploy\jqs directory.
    So the bottom line is...How do I get my applet to load faster in 64 bit environments?
    Thank you in anticipation
    Richard

    JQS could not explain 20s startup. This must be something related to network - either config issue (e.g. DNS timeouts) or too many nework connections on launch?
    Enable tracing and java console, add
    deployment.trace.level=all
    to deployment.properties and see what is happening and where applet seem to stuck.
    Compare to 32 bit case.

  • How to upgrade oracle 32 to 64 bit on sun solaris x86 64 bit OS?

    Hi,
    I want to upgrade/convert 32 bit Oracle Database 10.2.0.2 to 64 bit database. Existing 32 bit database is RAC and it is running on Sun Solaris X86 64 bit OS.
    First, I want to know is it possible?
    If yes, then what are the exact steps?

    Hi,
    Such a migration can be done, just follow the steps in Metalink note 62290.1
    It is important to remember that 64-bit database requires more shared pool memory so you should increase your shared pool size.
    Liron Amitzi
    Senior DBA consultant
    [www.dbsnaps.com]
    [www.orbiumsoftware.com]
    Edited by: Liron Amitzi on Jul 1, 2009 3:08 PM

  • Install Java on solaris x86

    Hello - I am connected to one Solaris x86 machine remotely. It does not have GUI in it and only command line execution. I would like to install Java on this machine. Can you please provide me the link where I can get java and instructions to install it - I surfed in previous topics - But no result found
    Thank you!

    Java is built-in.
    Or you can download a new version from java.sun.com on a different machine and then sftp it over to the Solaris box.

  • 64-bit JRE for Solaris 10 x86

    I understand that this is not one of the supported configurations at this time. Could anyone comment if there are plans to support 64-bit Java on Solaris 10 x86?
    Cheers,
    ~george

    On the x86 solaris 10 system I'm looking at there is
    a client VM
    /bin/java -client -version
    java version "1.5.0_12"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
    Java HotSpot(TM) Client VM (build 1.5.0_12-b04, mixed mode)
    and a server VM
    /bin/java -server -version
    java version "1.5.0_12"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
    Java HotSpot(TM) Server VM (build 1.5.0_12-b04, mixed mode)
    For the client the 64bit VM is still in development. I don't
    think there are dates established for that yet.
    If you can use the server VM, then you need to down
    load the 64bit binaries. Then you will see
    /bin/java -server -d64 -version
    java version "1.5.0_12"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
    Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_12-b04, mixed mode)
    The downloads are at (look for the release you want)
    http://java.sun.com/javase/downloads/index.jsp
    Hope that helps.

  • SetDiagnosticDirectory(Diagnostics.java:54) [32-bit java on 64-bit machine]

    On 64-bit LucidLynx Linux, If I run Oracle SQL Developer using 64 bit java, all is fine.
    If I use 32-bit java, it doesn't start up and I get this fatal error:
    java.lang.IllegalArgumentException: Cannot create <pwd>/?/.sqldeveloper/system1.5.5.59.69/o.ide/diagnostics
         at oracle.javatools.logging.Diagnostics.setDiagnosticDirectory(Diagnostics.java:54)
         at oracle.ide.IdeCore.startupImpl(IdeCore.java:1293)
    <pwd> represents the current directory that I am in. That question mark appears as is.
    If I run this as `sudo`, it works, cause it gets past the "permissions" problem. (but that's a red herring).
    It should be trying to create the ".sqldeveloper/..." directory under my home directory, not in the present
    working directory, and certainly not with a question mark as another directory name.
    It appears that when using the 32 bit java (on a 64 bit machine), that whatever function
    Oracle is using/spawning to determine the user and its
    home directory, is failing, and the code just says, plop the diagnostics directory right here.
    How does one debug this?
    (I tried running `jdb` but setting break points doesn't seem to have an effect)
    ( Aside: on a 32-bit LucidLynx Linux machine, using 32-bit java, SQL Developer works fine.
    I have all the necessary 32-bit libs, as we use 32-bit Java on 64 bit machines for other apps as well.)

    I'm pretty new to java and this is the first
    first time i'm making a post here. I want to know, if
    i write a java program in a 32 bit environment will
    the same code work in a 64 bit Environment too. Does
    java abstract the architecture too?Only if there's a JVM available for the target environment.
    Note for example that Sun supports 64 bit AMD processors but not Intel. But when they do your Java code will work without changes.

  • ETA for Solaris x86-64 11g(R2)?

    Does anyone have a contact that has any knowledge of what platforms are truly being supported for the 11gR2 release?
    I'm having great difficulty getting an answer for Solaris x86-64 from our Oracle reps.
    Thanks,
    Bryan

    hamcdc wrote:
    For (as long as I can remember) Oracle releases have toggled in terms of "platform priority" between
    depending on the mood of the day...Solaris x86 doesn't strike me as particularly strategic from Oracle's perspectiveAnd that's fine Connor. We are running "big iron" (16 cores on one of the servers should qualify), although now in the x64 format instead of the overpriced Sparc versions we have phased out, after being told by Oracle that the planned to support the platform going forward.
    However, either Oracle is going to support this platform, as metalink shows but on which they have not delivered, or not. If they are dropping it, other than support what exists, we won't be happy, but at least we can make plans for the future. This is all we have:
    bq. Certify - Additional Info Oracle Database - Enterprise Edition Version 11gR1 64-bit On Sun Solaris x86-64 (64-bit) \\ Operating System: Sun Solaris x86-64 (64-bit) Version 10 \\ Oracle Database - Enterprise Edition Version 11gR1 64-bit \\ N/A Version N/A \\ Status: Projected \\ Product Version Note: \\ None available for this product. \\ Certification Note: \\ Schedule to be announced. \\ NOTE: This is the most current and accurate information. Do not log Service Requests to Support for additional information. When the date is known this note will be updated. \\ Certify Administrator - 2008
    They owe us, the customers an honest answer and timeframe. I think we've been more than patient.
    Bryan

  • Install error for Oracle 10g on Solaris x86 64-bit.  NETCA won't run

    Hi All,
    I'm installing Oracle 10.2.0.1 on Solaris x86 64-bit. I run the Oracle installer and all runs well until the NETCA portion of the install. It then errors (error file below). When i attempt to run NETCA outside of the installer i'm getting the same error output. I have verified my OS version and that all dependent packages are installed. I'm not sure what is causing this. Any help would be greatly appriciated.
    thanks, dave
    ERROR FILE:
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : 11 occurred at PC=0xFEEF24E8
    Function=strchr+0x8
    Library=/lib/libc.so.1
    Current Java thread:
         at oracle.net.common.NetGetEnv.getDNSDomain(Native Method)
         at oracle.net.ca.ConfigureProfile.setDefaultProfileParams(Unknown Source)
         at oracle.net.ca.InitialSetup.setupConfigObjects(Unknown Source)
         at oracle.net.ca.InitialSetup.<init>(Unknown Source)
         at oracle.net.ca.NetCA.main(Unknown Source)
    Dynamic libraries:
    0x8050000      /data1/oracle/oracle/jdk/jre/bin/java
    0xfefc0000      /lib/libthread.so.1
    0xfefd0000      /lib/libdl.so.1
    0xfeed0000      /lib/libc.so.1
    0xfea00000      /data1/oracle/oracle/jdk/jre/lib/i386/client/libjvm.so
    0xfee80000      /usr/lib/libCrun.so.1
    0xfee50000      /lib/libsocket.so.1
    0xfedc0000      /lib/libnsl.so.1
    0xfeda0000      /lib/libm.so.1
    0xfeeb0000      /usr/lib/libsched.so.1
    0xfe9a0000      /lib/libm.so.2
    0xfed50000      /lib/libscf.so.1
    0xfe980000      /lib/libdoor.so.1
    0xfe960000      /lib/libuutil.so.1
    0xfe940000      /lib/libmd5.so.1
    0xfe920000      /lib/libmp.so.2
    0xfe8e0000      /data1/oracle/oracle/jdk/jre/lib/i386/native_threads/libhpi.so
    0xfe890000      /data1/oracle/oracle/jdk/jre/lib/i386/libverify.so
    0xfe850000      /data1/oracle/oracle/jdk/jre/lib/i386/libjava.so
    0xfe830000      /data1/oracle/oracle/jdk/jre/lib/i386/libzip.so
    0xf1a00000      /usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3
    0xfc780000      /usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3
    0xf13c0000      /data1/oracle/oracle/jdk/jre/lib/i386/libawt.so
    0xf0f90000      /data1/oracle/oracle/jdk/jre/lib/i386/libmlib_image.so
    0xf0f30000      /data1/oracle/oracle/jdk/jre/lib/i386/motif21/libmawt.so
    0xf0d50000      /usr/dt/lib/libXm.so.4
    0xf0cf0000      /usr/openwin/lib/libXt.so.4
    0xf0cc0000      /usr/openwin/lib/libXext.so.0
    0xf1890000      /usr/openwin/lib/libXtst.so.1
    0xf0c30000      /usr/openwin/lib/libX11.so.4
    0xf0be0000      /usr/openwin/lib/libdps.so.5
    0xf0a90000      /usr/openwin/lib/libSM.so.6
    0xf0a70000      /usr/openwin/lib/libICE.so.6
    0xf0a30000      /data1/oracle/oracle/lib32/libnjni10.so
    0xefe00000      /data1/oracle/oracle/lib32/libclntsh.so.10.1
    0xefc60000      /data1/oracle/oracle/lib32/libnnz10.so
    0xf0a10000      /lib/libkstat.so.1
    0xefc40000      /lib/libgen.so.1
    0xefc20000      /lib/librt.so.1
    0xefbf0000      /lib/libaio.so.1
    0xefbd0000      /data1/oracle/oracle/lib32/libldapjclnt10.so
    Heap at VM Abort:
    Heap
    def new generation total 576K, used 343K [0xf1e00000, 0xf1ea0000, 0xf22e0000)
    eden space 512K, 55% used [0xf1e00000, 0xf1e467f8, 0xf1e80000)
    from space 64K, 96% used [0xf1e80000, 0xf1e8f798, 0xf1e90000)
    to space 64K, 0% used [0xf1e90000, 0xf1e90000, 0xf1ea0000)
    tenured generation total 1408K, used 338K [0xf22e0000, 0xf2440000, 0xf5e00000)
    the space 1408K, 24% used [0xf22e0000, 0xf2334ab8, 0xf2334c00, 0xf2440000)
    compacting perm gen total 4096K, used 3580K [0xf5e00000, 0xf6200000, 0xf9e00000)
    the space 4096K, 87% used [0xf5e00000, 0xf617f170, 0xf617f200, 0xf6200000)
    Local Time = Tue Aug 29 13:49:22 2006
    Elapsed Time = 225
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_05-b04 mixed mode)
    #

    I have the same problem on Linux Debian 3.0.
    My /etc/hosts looks like:
    127.0.0.1     localhost.localdomain     localhost
    #192.168.100.1     bt.lan.home     bt
    #192.168.100.5     jacek.lan.home     jacek
    # The following lines are desirable for IPv6 capable hosts
    ::1     ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhostsPlease help.

  • How to use 64-bit native libraries on Solaris?

    This question has probably been asked many times, but I couldn't find the answer in my searches.
    How can I get Java Web Start on a Solaris client (Solaris 10 in this case, with JRE 1.5, both 32-bit and 64-bit versions installed) to run a java application that includes a 64-bit native code library? The application runs fine when invoked directly on the workstation.
    The application downloads properly with Java Web Start, including the jar file that has the native shared object, but when the native library is loaded by the java application, I get a "wrong ELF class: ELFCLASS64" error.
    I assume that is because Web Start is invoking the 32-bit java VM, which can't load a 64-bit library. I tried configuring Java Web Start to use the 64-bit VM (by setting the path to java to ".../jre/bin/sparcv9/java" in the javaws console) but then I get an error that says "Can't load library: .../jre/lib/sparcv9/libdeploy.so".
    Does Java Web Start support the use of 64-bit native code libraries, and if so, what am I doing wrong?
    Thanks.

    So, it may be better to create links in $APP_HOME/bin/java that point to the binaries in /usr/jdk/version-you-want-to-use/bin/sparcv9 rather than copying binaries.
    To see current java links: (I edited all non-java-related links out of listing)
    -> ls -la /usr/bin/j*
    lrwxrwxrwx 1 root other 15 Oct 1 2007 /usr/bin/jar -> ../java/bin/jar
    lrwxrwxrwx 1 root other 21 Oct 1 2007 /usr/bin/jarsigner -> ../java/bin/jarsigner
    lrwxrwxrwx 1 root other 16 Oct 29 2007 /usr/bin/java -> ../java/bin/java
    lrwxrwxrwx 1 root other 17 Oct 1 2007 /usr/bin/javac -> ../java/bin/javac
    lrwxrwxrwx 1 root other 19 Oct 1 2007 /usr/bin/javadoc -> ../java/bin/javadoc
    lrwxrwxrwx 1 root other 17 Oct 1 2007 /usr/bin/javah -> ../java/bin/javah
    lrwxrwxrwx 1 root other 17 Oct 1 2007 /usr/bin/javap -> ../java/bin/javap
    lrwxrwxrwx 1 root other 18 Oct 29 2007 /usr/bin/javaws -> ../java/bin/javaws
    lrwxrwxrwx 1 root other 24 Oct 29 2007 /usr/bin/jcontrol -> ../java/jre/bin/jcontrol
    lrwxrwxrwx 1 root other 15 Oct 1 2007 /usr/bin/jdb -> ../java/bin/jdb
    lrwxrwxrwx 1 root root 30 Oct 1 2007 /usr/bin/jmplay -> ../jdk/packages/jmf/bin/jmp
    lay
    lrwxrwxrwx 1 root root 50 Oct 1 2007 /usr/bin/jnlp2pkg -> ../jdk/packages/org.jdesk
    top.jdic-0.8/bin/jnlp2pkg
    lrwxrwxrwx 1 root root 13 Oct 1 2007 /usr/bin/jsh -> ../../sbin/sh
    BTW, on my machine (SunFire v445, Solaris10, 64-bit)
    isainfo -v produces this:
    -> isainfo -v
    64-bit sparcv9 applications
    vis2 vis
    32-bit sparc applications
    vis2 vis v8plus div32 mul32
    So, what will this do for me?
    or even better $(JAVA_HOME)/bin/`isainfo -v`/Edited by: SolarisSAinPA on Jun 12, 2008 5:38 PM
    Added listing of java-related-links

  • 10.2.0.1 to 10.2.0.3 patchset for Solaris x86 64-bit

    I'm having difficulty in locating the patch (or patchset) to upgrade my 10.2.0.1 database to 10.2.0.3
    This is for the Solaris x86 64-bit platform.
    I'm using the metalink patches area but am baffled on how to find what I need.
    Any thoughts ?
    Thanks in advance
    Mark
    EDIT... I believe I found what I was looking for ... Patchset 5337014 ... took me a while but I believe this is the one.
    Edited by: markhooper on Aug 13, 2009 10:05 AM

    Yes. You found it. ;)

  • Cannot locate Security Provider SUNJCE on Solaris running 64-bit java

    Hi,
    I have a 64-bit java installation on Solaris sparcv9 system. The 64-bit java is installed under $InstallDir/jre/bin/sparcv9 and libs under $InstallDir/jre/lib/sparcv9. Everything works fine but 64-bit java ($InstallDir/jre/bin/sparcv9/java) cannot locate the SunJCE provider which is installed under $InstallDir/jre/lib/security.
    How do i install the Sun JCE provider so that 64-bit java can locate it?
    regards
    -Sarab

    I don't think that AES is supported in 1.4 . You
    could use Bouncy Castle.Would it be the case that it is supported in 1.4.2.06
    and not 1.4 perhaps?I don't know. To find out, list all the algorithms for the Sun provider.

  • Oracle RAC 10g on Solaris x86 using vmware

    Guys,
    I am practising 10g RAC installation on my laptop, wherein I have vmware workstation and
    solaris-x86 version 10 installed on it.
    I am trying to install Oracle 10g clusterware.
    I have followed the steps for clusterware installation.
    I am facing an errror on one of the node while running root.sh.
    On the first node, the root.sh runs fine.
    The following is the log.
    bash-3.00# ./root.sh
    WARNING: directory '/u01/app/oracle/product' is not owned by root
    WARNING: directory '/u01/app/oracle' is not owned by root
    WARNING: directory '/u01/app' is not owned by root
    WARNING: directory '/u01' is not owned by root
    Checking to see if Oracle CRS stack is already configured
    Setting the permissions on OCR backup directory
    Setting up NS directories
    Oracle Cluster Registry configuration upgraded successfully
    WARNING: directory '/u01/app/oracle/product' is not owned by root
    WARNING: directory '/u01/app/oracle' is not owned by root
    WARNING: directory '/u01/app' is not owned by root
    WARNING: directory '/u01' is not owned by root
    Successfully accumulated necessary OCR keys.
    Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
    node <nodenumber>: <nodename> <private interconnect name> <hostname>
    node 1: xsan001 xsan001-priv xsan001
    node 2: xsan002 xsan002-priv xsan002
    Creating OCR keys for user 'root', privgrp 'root'..
    Operation successful.
    Now formatting voting device: /dev/rdsk/c0d0s4
    Format of 1 voting devices complete.
    Startup will be queued to init within 30 seconds.
    Adding daemons to inittab
    Expecting the CRS daemons to be up within 600 seconds.
    CSS is active on these nodes.
    xsan001
    CSS is inactive on these nodes.
    xsan002
    Local node checking complete.
    Run root.sh on remaining nodes to start CRS daemons.
    =============================
    On the second node, the root.sh gives error.
    bash-3.00# ./root.sh
    WARNING: directory '/u01/app/oracle/product' is not owned by root
    WARNING: directory '/u01/app/oracle' is not owned by root
    WARNING: directory '/u01/app' is not owned by root
    WARNING: directory '/u01' is not owned by root
    Checking to see if Oracle CRS stack is already configured
    Setting the permissions on OCR backup directory
    Setting up NS directories
    Oracle Cluster Registry configuration upgraded successfully
    WARNING: directory '/u01/app/oracle/product' is not owned by root
    WARNING: directory '/u01/app/oracle' is not owned by root
    WARNING: directory '/u01/app' is not owned by root
    WARNING: directory '/u01' is not owned by root
    Successfully accumulated necessary OCR keys.
    Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
    node <nodenumber>: <nodename> <private interconnect name> <hostname>
    node 1: xsan001 xsan001-priv xsan001
    node 2: xsan002 xsan002-priv xsan002
    Creating OCR keys for user 'root', privgrp 'root'..
    Operation successful.
    Now formatting voting device: /dev/rdsk/c0d0s4
    Format of 1 voting devices complete.
    Startup will be queued to init within 30 seconds.
    Adding daemons to inittab
    Expecting the CRS daemons to be up within 600 seconds.
    Failure at final check of Oracle CRS stack.
    10
    Can you provide some sort of clue what could be done to resolve the above error?

    Refer to http://www.oracleracsig.org/ Under documents section select OS=Solaris. You will find a document on Oracle RAC on Solaris10 using Vmware.

  • Reg: Oracle 9i Enterprise Edition software for solaris x86 (32-bit)

    Hi,
    Where can i download the Oracle 9i Enterprise Edition software for solaris x86 (32-bit).
    Thanks in advance.
    Edited by: ora_man_8873786 on May 14, 2011 12:50 AM

    If you have a CSI you can always order the CD at My Oracle Support by submitting a SR.
    Sybrand Bakker
    Senior Oracle DBA

  • Is it possible to use 32-bit firefox with 64-bit java plugin?

    Is it possible to use 32-bit firefox with 64-bit java plugin?
    I'd like to use 32-bit firefox and I already install 64-bit java plugin.
    Is that a right choice not to install 32-bit java plugin?
    Will these cause problem?
    Thanks in advance.
    Regards,
    Sean

    Nope - you need the 32bit Java to go with the 32bit Firefox if you want Java to run

  • Possible/supported to use portal 7.1 with 64 bit java?

    Hi!
    Our portal machines in productive environment have 16 GB ram and I would like to use them. But 32 bit java does not support this. (Linux platform)
    So, the simple question is:
    Can I install a 64 bit JDK (e.g. 50 Update 12) and run portal with it?
    1) Does it work?
    2) Is it supported?
    Please note that I have no pressing urge to upgrade at the moment, 3GB heap seem to be sufficient for now but I just want to know. Also if there are future plans to allow this...
    Thanks, Chris

    Hello Martin,
    The E-commerce 5.0 guide for ERP, says that the minimum version supported is 4.6C with the specific patch level version. We had issues initially with the TREX 7.0 installation on 64 bit windows ( lot of modifications have to be done manually here).
    But now TREX 7.0 is working fine and i can see the replication happeing from R/3 4.6C. We are configuring the webshops and doing all the XCM settings currently so, would be able to tell in a days time, if  it works for us or not.(with 4.6C).
    Thanks,
    Dipender Singh

Maybe you are looking for