Which jdk?

hi , I am new to this area.
My Linux server is Enterprise Linux Enterprise Linux Server release 5.5 based on X86_64 server, and I have created a user 'weblogic' and under his name I have installed Jrockit "jrockit-jdk1.6.0_26-R28.1.4-4.0.1-linux-x64.bin" in /home/weblogic/
I also changed the weblogic user's .bash_profile like this :
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
JAVA_HOME=/home/weblogic/jrockit-jdk1.6.0_26-R28.1.4-4.0.1
PATH=$PATH:/$JAVA_HOME/bin/
export PATH
after changing, run the " source .bash_profile" and
I checked the java version using " java -version" but the display is :
java version "1.4.2"
gij (GNU libgcj) version 4.1.2 20080704 (Red Hat 4.1.2-48)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
instead I want this :
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Oracle JRockit(R) (build R28.1.4-7-144370-1.6.0_26-20110617-2130-linux-x86_64, compiled mode)
which step i am wrong? Thanks for your guide!!!

Please see an older thread about "alternatives --config java" to switch the current default version of your java.
how can i remove jdk1.4 install in oracle unbreakable linux.
Btw, Oracle products usually ship with their own version of java do not rely on your installed version of java.

Similar Messages

  • Jar file , which jdk version ?

    I have a question that i want to ask for a long time. Let say someone give you a jar file, how do we check which version of JDK it is compile ?

    You can get an easy, but approximate, answer by looking in the jar manifest:
    $ jar -xf somejar.jar META-INF/MANIFEST.MF
    $ cat META-INF/MANIFEST.MF
    Manifest-Version: 1.0
    Class-Path: someotherjar.jar
    Created-By: 1.6.0 (Sun Microsystems Inc.)
    Main-Class: Main
    The Created-By attribute says which JDK version created the jar file. However, that's not always the same as the version that was used to compile the classes. To get an exact answer, you'd need to look at the class file version number, and you'd have to do it for each class file since they don't all have to be the same. Gory details left as an exercise. Here's a reference to get you started:
    http://java.sun.com/docs/books/jvms/second_edition/html/ClassFile.doc.html#80959

  • WHICH JDK java hotspot I  need for weblogic 10.3.6  SOA 11.1.1.7 and OSB 11.1.1.7

    I used jrockit but somebody told me that It will be good to move to JDK 1.7.0.28 because jrockit will gone in future.
    WHICH JDK java hotspot I  need for weblogic 10.3.6  SOA 11.1.1.7 and OSB 11.1.1.7?
    and where can I download it?
    Thank you

    Hi,
    For WL 10.3.6, SOA/OSB 11.1.1.7 the Enterprise Deployment Guide has still jrockit sdk 1.6 as recommendation...
    http://docs.oracle.com/cd/E28280_01/core.1111/e12036/create_domain.htm#CCHBFCDC
    The roadmap is to converge jrockit and hotspot JVMs, completion of the convergence project is targeted for JDK 8.
    http://www.oracle.com/us/corporate/press/1854982
    Things are already changed for 12c, but for 11g I'd still go with jrockit...
    Cheers,
    Vlad

  • Which JDK version to use with sunOne 7 ?

    Hi all,
    Does anybody know which version of JDK (1.4.x) is the most appropriate to use in combination with release 7.0 of the appserver ?
    Is the appserver compatible with any 1.4.x release and should we take the most recent one ? (1.4.2_04)
    tx for any info on this.
    Roger.

    It is not mandatory that we should use 1.4.2_04,it wil work with any 1.4.x releases..
    -anand

  • Which BEA WLS version (+ service packs) used which JDK/JRockit-JDK version

    Hello,
    I'm looking for an overview about the JDK and JRockit JDK versions which are used in the different BEA WLS versions.
    Specialy im interested on all BEA WLS server versions (incl. the different Service Packs) starting with version 7.0.
    The overview should contain the following information if possible:
    - BEA WLS Version Number including SP
    - Plattform (Windows, HPUX, Solaris, ...)
    - JDK version
    - JRockit JDK version
    Here is an example (??? = I do not know currently):
    WLS vers. (incl. SP)|Plattf.|JDK vers.|JRockit vers.
    7.0.1 |Solaris|??? |???
    8.1.5 |Windows|1.4.2_08 |rockit81sp5_142_08
    9.2 MP1 |HPUX |??? |???
    Thanks a million if somebody could provide me those information. :-x
    Cheers,
    Markus Jessl

    Please check :
    http://edocs.bea.com/platform/suppconfigs/index.html
    Jin

  • Which JDK is JSF supported for?

    Is JSF Supported for JDK 1.3.1_03?

    I think it's more of a J2EE SDK support issue and I think (but am not sure) you need J2EE1.4.
    You may want to try this question on the Sun Java Studio Creator forum:
    http://swforum.sun.com/jive/forum.jspa?forumID=123
    Probably not the most appropriate forum, but more correct than this forum which is focused on the Sun Web Application Framework (JATO).
    craig

  • Netweaver SR3 on Linux Enterprise 10 - Which JDK Version

    Hello experts,
    we are facing problems installing Netweaver SR3 (Java) on Linux Enterprise. The problem is that the step Import Java Dump hangs and the installation does not continue. According to other forum threads one problem might be a wrong JDK version. We run Linux on 64 Bit AMD.
    Could anyone provide a link for the appropriate JDK version for Linux 64 Bit AMD or further informations (SAP Notes, except 716604)?
    Many thanks in advance.
    Marco

    Hi
    Check note [1172419 - Linux: Supported Java versions on the x86_64 platform|https://service.sap.com/sap/bc/bsp/spn/sapnotes/index2.htm?numm=1172419]
    Symptom
    You need to install a supported and certified Java VM on Linux x86_64 in order run SAP products based on SAP WebAS Java.
    Solution
    The currently required version of the IBM JDK 1.4.2 is SR12.
    Best regards, Michael

  • Which JDK do you use: 1.3.1_03 or 1.4.0?

    I just thought I'll ask this general question...
    Sorry, I'm just kind of bored...but am interested in what other people are using...

    Hi,
    I'm using both, if you are not using the new features of jdk1.4,
    you probably don't wana use jdk1.4. but it's faster then 1.3.1_03 and has print package which comes pretty handy.
    it also depends, what are developing appplication or applet. if i'm developing an application, i rather use jdk1.4 but if i was developing applets, i rather use 1.3 bez of compatibility with MAC.
    FEEL Free 2 AsK.

  • Which JDK/JRE is the best for 8i?

    After seeing so many people having problems with 8i I
    would like to ask what version of JDK/JRE works best??
    Thanks
    Lynx
    null

    Oh that! I forgot that there were problems with the 1.1.6 revs
    and glibc2.1! Thanks for the info.
    Have people been succesful with 1.1.7???
    Keehan
    Thorsten Heit (guest) wrote:
    : Keehan (guest) wrote:
    : : Just wondering peoples various experiences have been with
    : : different versions of the JDKs/JREs? Why would you say that
    : : 1.1.7 v 3 would be better other than the obvious fact that it
    : is
    : : a more current rev?? Thanks for your time and thoughts!
    : The problem is that earlier versions of the JDK/JRE don't work
    : on RH6 because RH6 uses the glibc-2.1 that isn't directly
    : compatible to the glibc-2.0 :-(
    null

  • Which JDK to install weblogic 10.3.3 in Linux 64 bit machine.

    I jave a Linux 64 bit box. I am trying to find out suitable java env for installing weblogic. JDK 64 bit, downloaded from Sun, is raising noClassDefFound for java/lang/object. Not sure if my platform is not correct or that .bin file is wrong. Can I use jrockit for installation?

    I tried installing 10.3.2 on 64 bit linux with the Sun JDK and had issues (smart update didn't work). I retried with JRockit and it installed just fine and smart update worked. I haven't created any domains though as I'm planning on installing OEM Grid 11g on it.

  • Which JDK version is required for NWDS v 7.01.07

    Hi,
    Can someone point me in the right direction to find out whcih JDK version is required for NWDS v 7.01.07.
    I currently have j2sdk1.4.2_19 installed but I am getting a build error when creating a new project from ESS of:
    No 'default' JDK defined, will use running VM.
    The TARGET variable for the shortcut and JAVA_HOME env variables are set.
    The JRE_SRCROOT variable in NWDS is empty.
    Regards,
    Rob

    In NWDS set default JDK version.
    Windows - preferences - java Installed JREs
    Select chk box for JRE you want.
    Hope this helps.

  • Which JDK doc to read up for more info on array ?

    The title says it all. I need to know what other properties does an array has. For instance, we can use "x_array.length" to find out no.of elements in x_array. Is there a property to tell how many dimension does the array has ? The ".length" only gives size of one dimension. To find the size of another dimension, I need to do something as below :-
    int two_D_array[][] = new int[20][30];
    out.printf("1) two_D_array size %d\n", two_D_array.length);
    out.printf("2) two_D_array size %d\n", two_D_array[0].length);
    Output :
    1) two_D_array size 20
    2) two_D_array size 30
    Is there any better way to improve the above codes ? Thank you.

    TKH wrote:
    The title says it all. I need to know what other properties does an array has. That's easy. There are none ;)
    Is there a property to tell how many dimension does the array has ? The ".length" only gives size of one dimension. To find the size of another dimension, I need to do something as below :-
    Nope, you can't know. Or rather you have to know when declaring the array so there's no way to change it on the fly.
    As a result there's no need to know...
    Something like
    int[] arr = getIntArr();
    private int[] getIntArr() {
        return new int[1][2][3][4][5] {};
    }won't even compile.

  • Sun.jdbc.rowset where go i get it n in which JDK version

    i saw some code in this forum regarding pagination where sun.jdbc.rowset is being imported..please help me . i get an error saying that sun.jdbc.rowset not found i am using jdk1.4.

    thanks i got the link from the forum
    You can find it at http://java.sun.com/developer/earlyAccess/jdbc/jdbc-rowset.html

  • EmCCR reports JAVA_HOME does not contain a valid JDK/JRE

    Greetings,
    I am seeing occasional emails from several OEM monitored targets reporting this issue. I have found a couple of support notes, 976112.1 & 832949.1 and understand the problem but am still unclear on a couple of things and hoping someone can assist me.
    1) how to set the $JAVA_HOME variable. jdk is installed in both the $ORACLE_HOME and $AGENT_HOME directories. Does it matter which jdk I use?
    2) The ccr directory is a subdirectory of the $ORACLE_HOME directory and the emCCR.jar file is also there. I assume that is the required jar file and so my $PATH must include that. Does that also mean the $JAVA_HOME variable should point there rather than at the $AGENT_HOME/jdk?
    3) Note 976112.1 suggests setting the $JAVA_HOME variable in then running setupCCR. I do not find a setupCCR but I do find a configCCR. I am not sure which is the correct executable to use. emCCR status shows I have 12.0.0.0.1 installed -
    iamdev1:product/11.2.0.2/dbhome_1/ccr/bin->./emCCR status
    Oracle Configuration Manager - Release: 12.0.0.0.1 - Production
    Copyright (c) 2005, 2013, Oracle and/or its affiliates.  All rights reserved.
    Start Date               04-Jan-2014 12:08:55
    Last Collection Time     21-Jan-2014 12:07:00
    Next Collection Time     22-Jan-2014 12:07:00
    Collection Frequency     Daily at 12:07
    Collection Status        idle
    Log Directory            /usr/local/oracle/product/11.2.0.2/dbhome_1/ccr/hosts/devon/log
    Registered At            12-Jun-2011 12:07:47
    Automatic Update         On
    Collector Mode           Connected
    4) I am also unclear as to which documentation I should follow.
    Any help or suggestions are greatly appreciated. Thank you.
    Bill Wagman

    Hi Solomon,
    Please cross check your settings with the following post about "configuring WLS (10.3.2) on Mac".
    http://forums.oracle.com/forums/thread.jspa?messageID=4008200&#4008200
    - Ram

  • A question about version of  JDK

    hello!
    My cpu is Turion x64 TL-50,but I use WinXp sp2 (32bit-version)
    then which jdk shall i download?windows-i586 or windows amd-64?
    jdk's version depends on os only?

    yep, 32 bit software normally run on 64 bit cpu (not XP 64 bit, the environment) unless ur using win 64.

Maybe you are looking for

  • HT1386 syncing multiple iPhones on same computer

    How can I sync two iPhones on the same laptop?  right now they are both treated as one.

  • Has the IOS update on my Ipod caused the Apple TV Remote App to have connection problems?

    I recently updated the software on my IPod Touch and now the Apple TV Remote App won't connect to the Apple TV.  Home Sharing is turned on for both my computer and Ipod.  ITunes and the IPod have both been updated.  Is there an issue with the new sof

  • Macbook pro screen replacing - cost

    Hello, perhaps someone can help... I need to change my Macbook pro 13" screen but i cannot find the product online. Do they sell just the screen? or i must take the whole computer and leave it there so that they replace it ? Any idea how much the scr

  • Newbie.  Can't get rollOver to work

    Hi, Using Director 12 trial. I've been off of Director for 12 years.  I used to know a little Lingo, but I've forgotten most of it.  Came back to Director to do a simple interactive menu that launches different QT movies.  All of the limited scriptin

  • Depreciation of revalued asset

    Hi Everybody, I am here to seek your advice regarding an issue in asset accounting. Let me delve into the problem directly. Very recently my client has undergone asset revaluation process.After revaluation my client wants that the depreciation should