OPatch JDK Path

When OEM agent was installed it installed JDK as part of agent:, so there wasn't a need to install seperate JDK (path below)
C:\ora\oem00\app\oracle\product\10.2.0\agent10g\jdk
When I try to run the OPatch command it gives a "NoClassDefFoundError"
C:\ora\oem00\app\oracle\product\10.2.0\agent10g\5884103>C:\ora\oem00\app\oracle\
product\10.2.0\agent10g\OPatch/opatch apply
Exception in thread "main" java.lang.NoClassDefFoundError: C:\ora\oem00\app\orac
le\product\10/2/0\agent10g
OPatch failed with error code = 1
Any idea what needs to be done for the command to work. I know its something to do with classpath and path. Tried setting them to the location but didn't work. Appretiate any help.
Thank you

I wonder if Metalink Note:357221.1 is relevant.

Similar Messages

  • JDK path not valid...I have done everything, please advise?

    JDK path not valid...I have done everything, please advise?

    Look for parameter "SetJavaHome" in file ODI_HOME\oracledi\client\odi\bin\odi.conf.
    Is it correct? Do you have JDK (not JRE !!!) in that dirrection?
    I got this error when I used ODI 10 and I had spaces in JAVA_HOME. When I got path into doublequotes it was fixed.

  • JDK Path - AIX 4.3 - 41sp9

    Hi,
    i tryed to configure the JDK Path but it simple dont work. (Servlets with JRE work)
    AIX JDK 1.2.2 is fully installed (usr/java-dev2/).
    Can someone give me the right settings for:
    (Global Settings/Configure JRE/JDK Paths)
    JDK Path: ?
    JDK Runtime Libpath: ?
    JDK Runtime Classpath: ?
    i tryed different combination ... which dont work.
    Regards,
    M.Becker

    Hi,
    I have tested using IBM AIX 4.3 OS version and JDK 1.3 version it's works fine for me.
    Eg:-
    (# uname -a
    AIX AIXSLASH 3 4 000C9C4D4C00)
    # java -version
    java version "1.3.0"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
    Classic VM (build 1.3.0, J2RE 1.3.0 IBM build ca130-20010330 (JIT enabled: jitc))
    I would request you to do below steps and check .
    Global Settings/Configure JRE/JDK Paths
    JDK JDK Path: /usr/java130
    JDK Runtime Libpath:
    JDK Runtime Classpath:
    (Note: Libpath and Classpath leave blank)
    Shut down and restart the Admin server.
    I hope this will help you, If still you face problem let me know your last 50 lines of error and access log file.
    Thanks,
    Daks.
    Developer Technical Support
    Sun Microsystems
    http://www.sun.com/developers/support.

  • EP 7.0 Install Problem with JDK path

    I’m having a problem with installing EP 7.0 on Solaris. We had Solaris 8 and then performed a fresh install of Solaris 10. Solaris 10 had Java 1.5. When performing the EP install at the step to supply the JDK directory message stating 1.5.0 was not supported. I had to install JDK from 1.4. family. I stopped the install and UNIX group installed 1.4.2_13.  I now receive message that directory /usr/bin is not a valid JDK directory:the java executable is missing. The UNIX team told me this is the valid directory path. I am not sure what the exact problem is. I stopped the install and provided the environment variable JAVA_HOME=/usr/bin and the same problem. Has anyone come across this problem maybe my version is not correct. Any ideas on what could be wrong are greatly appreciated.
    Thanks
    Martin

    Hi Martin,
    why are you pointing JAVA_HOME variable to /usr/bin.
    JAVA_HOME must always point to the directory where JAVA installation resides.So for you it might be /j2sdk1.4.2_13 if the JAVA installation directory is j2sdk1.4.2_13.
    If this does not solve ur problem.
    Please let me know the exact step where u r facing with the problem.
    Hope it helps
    Cheers,
    Santhosh

  • % opatch apply   $PATH set question

    # % cd 5496862
    # Ensure that the directory containing the opatch script appears in
    # your $PATH;
    % opatch apply
    How i can setup this $PATH? what's the command, ORACLE_HOME & PATH are already set as
    export ORACLE_HOME=/oracle/product/9.2.0.8
    export PATH=$ORACLE_HOME/bin:$PATH

    Put the script somewhere in the existing path. For example at $HOME.

  • Jdk path problem...

    may i know how do i can set the PATH inside the linux FC2???
    i hav try to set the PATH like tis :-
    PATH=/home/seng/Desktop/java/jdk1.6.0/bin
    inside the bashsrc file
    but it not work, n make some problem to my PC now..

    when you set PATH=/home/seng/Desktop/java/jdk1.6.0/bin the previous entries in your PATH variable is lost. You shoud set it as PATH=%PATH%;=/home/seng/Desktop/java/jdk1.6.0/bin
    I think it will work if the path of the jdk bin is right.
    :)

  • JDK Path

    (Quick Introduction)Hello,
    I'm new to Java and the programming world, although I'm very fluent with PHP (a scripting language) I've felt somewhat unaccomplished, now I'm studying "information systems" then moving onwards to Computer Science (I'm still pretty hesitant about it).
    This is my first time here on the forums, if someone could provide me with more links starting with Java syntax and all its concepts that'd be great.
    The problem I'm having right now, the path works, but now commands like "ipconfig", "netstat" are broken. javac and java and other components are working fine, any what might be happening? What should I provide?

    To extend morgair post, your post should look something like
    Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\sun\jdk1_5\binYou can find the path setting on windows machines by issues the command :
    set in the CMD prompt.
    Edited by: maxim.veksler on 04:12 17/09/2008

  • How to give jdk location path in windows 7 for odi installation

    I downloaded a file ofm_odi_generic_11.1.1.5.0_disk1_1of1 and ofm_rcu_win_11.1.1.5.0_disk1_1of1 .
    In ofm_rcu_win_11.1.1.5.0_disk1_1of1 file i found java in bin under jdk.
    In my pc Path is D:\OdiHome\rcu\rcuHome\jdk\bin
    The above same path i gave but it was not taking any thing and asking same question specify jdk location.
    Kindly provide me the details how to make this success .Thanks in advance.

    Hi
    The path is now managed by Windows 7 and not the autoexec.bat or autoexec.nt files. To change the system environment variables, follow the below steps.
    1.From the desktop, right-click My Computer and click Properties.
    2.In the System Properties window, click on the Advanced tab.
    3.In the Advanced section, click the Environment Variables button.
    4.Finally, In Environment Variable window User variables in Techno
    Click on Add button and provide below information
    Variable Name: JAVA_HOME
    Value: D:\Oracle\Middleware\jdk160_24
    Again Click on Add button and enter below details
    Variable Name: path
    Value: %path%;D:\Oracle\Middleware\jdk160_24\bin;D:\Oracle\Middleware\jre160_24\bin
    Again Click on Add button and enter below details
    Variable Name: ODI_JAVA_HOME (same jdk location should provide in odiparam.bat file in ODI_HOME\oracledi\agent\bin location)
    Value: D:\Oracle\Middleware\jdk160_24
    Note: Better Don't gove jdk path from D:\OdiHome\rcu\rcuHome\jdk\bin. Please give jdk path from Drive:\Oracle\Middleware\jdk160_24 (*eg: D:\Oracle\Middleware\jdk160_24*) for more details see below URL
    URL: http://geekswithblogs.net/renso/archive/2009/10/21/how-to-set-the-windows-path-in-windows-7.aspx
    Regards,
    Phanikanth
    Edited by: Phanikanth on Dec 25, 2011 11:48 PM
    Edited by: Phanikanth on Dec 25, 2011 11:49 PM

  • 32 bit SDDM wants path to JDK home?

    I only have JRE - not JDK, which SDDM 32 bit supposedly works with. I've read the other suggestions on how to get around it wanting the JDK path.  I put the JRE path in the conf file,and added java home to the environment variables.  I read somewhere to use Datamodeler.bat which I couldn't find.  Can someone provide me with exact details of what I need to do (other than install JDK)? Thanks!

    Hi Marie,
    If you have a PC that can run 64-bit programs, you could download the latest "With JRE" version of Data Modeler 4.0 from OTN
    http://www.oracle.com/technetwork/developer-tools/datamodeler/downloads/index.html
    (This actually includes a 64-bit JDK.)
    But to run Data Modeler 4.0 in 32 bit mode, you will need to provide a 32-bit JDK.
    Or alternatively you could download the "With JRE" version of Data Modeler 3.3 from OTN
    http://www.oracle.com/technetwork/developer-tools/datamodeler/downloads/data-modeler-downloads-v33-2057056.html
    which includes a 32-bit JDK.  However if you do this you will be missing out on the new features and bug fixes in Data Modeler version 4.0.
    David

  • Can't patch JDeveloper with OPatch

    Hello,
    I need to install a patch on JDeveloper Integrated Weblogic and having problems with OPatch. I'm on Windows 7 OS.
    I've downloaded OPatch utility and placed the folder in FMW\jdeveloper (FMW is where JDeveloper is installed).
    Patch folder is copied to FMW/jdeveloper.
    ORACLE_HOME environment variable is set to FMW\jdeveloper.
    OPatch folder path is added to PATH: FMW\jdeveloper\OPatch
    Running cmd:
    opatch lsinventory -jdk D:\JDeveloper-11.1.2.1\jdk160_24
    D:\JDeveloper-11.1.2.1\jdeveloper\13716771>opatch lsinventory -jdk D:\JDeveloper
    -11.1.2.1\jdk160_24
    Oracle Interim Patch Installer version 11.2.0.3.0
    Copyright (c) 2012, Oracle Corporation.  All rights reserved.
    Oracle Home            : D:\JDeveloper-11.1.2.1
    Oracle Home Inventory  : D:\JDeveloper-11.1.2.1\sainventory
    OPatch version         : 11.2.0.3.0
    Product information    : n/a
    Log file location      : D:\JDeveloper-11.1.2.1\cfgtoollogs\opatch\opatch2012-08
    -20_13-44-07PM_1.log
    Patch history file: D:\JDeveloper-11.1.2.1\cfgtoollogs\opatch\opatch_history.txt
    Lsinventory Output file location : D:\JDeveloper-11.1.2.1\cfgtoollogs\opatch\lsi
    nv\lsinventory2012-08-20_13-44-07PM.txt
    There are no Interim patches installed in this Oracle Home.
    OPatch succeeded.
    opatch apply -jdk D:\JDeveloper-11.1.2.1\jdk160_24
    D:\JDeveloper-11.1.2.1\jdeveloper\13716771>opatch apply -jdk D:\JDeveloper-11.1.
    2.1\jdk160_24
    Oracle Interim Patch Installer version 11.2.0.3.0
    Copyright (c) 2012, Oracle Corporation.  All rights reserved.
    Oracle Home            : D:\JDeveloper-11.1.2.1
    Oracle Home Inventory  : D:\JDeveloper-11.1.2.1\sainventory
    OPatch version         : 11.2.0.3.0
    Product information    : n/a
    Log file location      : D:\JDeveloper-11.1.2.1\cfgtoollogs\opatch\13716771_Aug_
    20_2012_13_46_37\apply2012-08-20_13-46-37PM_1.log
    Patch history file: D:\JDeveloper-11.1.2.1\cfgtoollogs\opatch\opatch_history.txt
    Applying interim patch '13716771' to OH 'D:\JDeveloper-11.1.2.1'
    Verifying environment and performing prerequisite checks...
    OPatch finds no 'product.xml' in Oracle Home and will attempt to create 'product
    .xml' file.
    Attempting to retrieve patch inventory's "product" and its "version" information
    Please enter your choice to enable OPatch to create 'product.xml' file or quit c
    reation...
    Choice                          Product                         Version
    1                               SA_JDEV                         11.1.2.1.0
    2. If you wish, quit 'product.xml' creation
    Please enter [1-2]:
    1
    User Responded with: 1
    OPatch will put the information of selected product 'SA_JDEV' and selected versi
    on '11.1.2.1.0'
    in product.xml during inventory updation.
    All checks passed.
    Provide your email address to be informed of security issues, install and
    initiate Oracle Configuration Manager. Easier for you if you use your My
    Oracle Support Email address/User Name.
    Visit http://www.oracle.com/support/policies.html for details.
    Email address/User Name:
    You have not provided an email address for notification of security issues.
    Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]:  y
    Backing up files...
    Patching component oracle.jrf.adfrt, 11.1.2.1.0...
    Attempting to create/replace 'product.xml' as requested...
    "D:\JDeveloper-11.1.2.1\product.xml" file under Oracle Home is successfully crea
    ted.
    Verifying the update...
    Inventory check failed: Patch ID 13716771 is NOT registered in Oracle Home inven
    tory.
    [ Error during Update inventory for apply Phase]. Detail: OPatch failed: ApplySe
    ssion failed in system modification phase... 'Verification of patch failed: Patc
    h is not found in the Inventory. '
    OPatch will attempt to restore the system...
    Restoring the Oracle Home...
    OPatch was able to restore your system. Look at log file and timestamp of each f
    ile to make sure your system is in the state prior to applying the patch.
    Log file location: D:\JDeveloper-11.1.2.1\cfgtoollogs\opatch\13716771_Aug_20_201
    2_13_46_37\apply2012-08-20_13-46-37PM_1.log
    Recommended actions: Please check if you have the privilege to modify the Oracle
    Home's inventory.
    OPatch failed with error code = 115I'm a bit stuck and not sure how to solve the problem. Could someone please help me?
    JDev 11.1.2.1

    Another try:
    D:\JDeveloper-11.1.2.1\Patches\13716771>opatch version
    OPatch Version: 11.1.0.9.7
    OPatch succeeded.
    D:\JDeveloper-11.1.2.1\Patches\13716771>SET MW_HOME=D:\JDeveloper-11.1.2.1
    D:\JDeveloper-11.1.2.1\Patches\13716771>set ORACLE_HOME=%MW_HOME%\oracle_common
    D:\JDeveloper-11.1.2.1\Patches\13716771>opatch lsinventory -jdk %MW_HOME%\jdk160_24
    OPatch was not able to find OUI jars to load them runtime. Please provide valid
    oui location using 'oui_loc' option.
    OPatch failed with error code = 255A Metalink note says error code 255 means wrong OPatch version, but I've tried 11 x86, 11 x64 and 12 x64 on my Windows 7 x64 with the same result.

  • Set path and classpath in ANT

    by using ANT, how can set the JDK path and classpath..
    jdk version exists in the : C:\Program Files\Java\jdk1.6.0
    This is the build.xml that i need to modify!
    -Do i need to have a serperate JAVA_HOME variable?
    <?xml version="1.0"?>
    <!--
    Build file for 'Chat Client'
    Version: $Revision: 4.10 $ $Date: 2003/05/28 $
    Author:  Rajat Gupta
    -->
    <project name="Chat" default="jar" basedir=".">
       <!-- ================================================================== -->
       <!-- Initialization of all property settings                            -->
       <!-- ================================================================== -->
       <target name="init">
          <property name="appname"        value="chat"   />
          <property name="src.dir"        value="src"               />
          <property name="lib.dir"        value="lib"              />
          <property name="build.dir"      value="Chat"            />
          <property name="build.compiler" value="classic"          />
       </target>
       <!-- ================================================================== -->
       <!-- Makes sure the needed directory structure is in place              -->
       <!-- ================================================================== -->
       <target name="prepare" depends="init">
          <mkdir dir="${lib.dir}" />
          <mkdir dir="${lib.dir}/META-INF" />
          <mkdir dir="${build.dir}" />
       </target>
       <!-- ================================================================== -->
       <!-- Compilation of the web part of the application                     -->
       <!-- ================================================================== -->
       <target name="classes" depends="prepare">
          <javac srcdir="${src.dir}/oracle/otnsamples/oc4jjms"
                 destdir="${lib.dir}"
                 includes="**" />
       </target>
       <!-- ================================================================== -->
       <!-- Compilation of the complete J2EE application (both web and EJB)    -->
       <!-- ================================================================== -->
       <target name="j2ee-meta-inf" depends="classes, prepare">
          <copy file="${src.dir}/META-INF/application-client.xml"
                tofile="${lib.dir}/META-INF/application-client.xml" />
          <copy file="${src.dir}/images/oralogo.gif"
                tofile="${lib.dir}/oralogo.gif" />
       </target>
       <target name="jar" depends="j2ee-meta-inf">
       <jar jarfile="${build.dir}/${appname}.jar"
           basedir="${lib.dir}" manifest="${src.dir}/META-INF/MANIFEST.MF"/>
          <delete dir="${lib.dir}" />
       </target>
    </project>Message was edited by:
    jugp

    [url ='http://www.jguru.com/forums/home.jsp?topic=Ant']answer here

  • How to change weblogic 10.3 's JDK version

    I installed weblogic 10.3 and its default JDK version is 1.6.0_05, but I want to update the JDK to 1.6.0_18, how should I do it?
    I tried to create a new domain and in "JDK Selection", I select option "Other JDK",path is "C:\Program Files (x86)\Java\jre6", but when start admin server, error "you wrongly used \Java\jre6 "(Which is translated from Japanese).
    How should I do?

    Hi,
    Please refer to the Post: http://weblogic-wonders.com/weblogic/2010/09/03/why-and-how-oracle-jrockit/
    If you want to use a Different Version of Sun JDK then please change the JAVA_VENDOR=Sun as well....in the folowing Image:
    http://weblogic-wonders.com/weblogic/wp-content/uploads/2010/09/setting_JAVA_JOME_In_script.jpg
    Example : (setDomainEnv.cmd) for WINDOWS OS
    set JAVA_HOME=C:\myJDKs\jdk1.6.0_18
    set JAVA_VENDOR=Sun
    =-- = = = = = =-- = = = = = =-- = = = = = =-- = = = = =
    <b><font color=red>Just in case if you still face the same problem then do the following:</font></b>
    In your Windows OS box...
    RightClick on MyComputer ---> Advanced(Tab)---> Envirunment Variables (Button)---->User Variables (Section) add a new variable:
    Variable Name : PATH
    Variable Value : C:\myJDKs\jdk1.6.0_18;%PATH%;
    OK
    Just to verify this now open a fresh command prompt and then Just run the following command:
    java -version
    Thanks
    Jay SenSharma
    http://weblogic-wonders.com/weblogic(WebLogi Wonders Are Here)

  • SOA Suite 11.1.1.6.0  Error - Please specify a valid JRE JDK location

    I am very new to Oracle installations and I cannot get past the " Please specify a valid JRE/JDK location :" message when installing the SOA Suite.
    I verified that all my prerequisites are in place.
    No matter what path I enter, it ignores it and repeats the message. I made sure to install JRE in a directory path with no spaces. I have tried installing jre-7u9-windows-i586 and also jre-7u9-windows-x64. I also tried pointing the location to the jdk160_29/jre/bin directory created by the SOA installation (again, no spaces in my path). Nothing seems to work.
    I am following the Quick Start Guide version 1.2 from August 2011 http://www.oracle.com/technetwork/middleware/soasuite/overview/quickstartguidesoasuite11gr1ps4-459545.pdf. I also looked at various postings and blogs.
    I am running this on a single Windows 7 Home Version SP1, 64-bit machine.
    Here is the full message:
    Starting Oracle Universal Installer...
    Checking if CPU speed is above 300 MHz . Actual 3292 MHz Passed
    Checking swap space: must be greater than 512 MB . Actual 2048 MB Passed
    Checking monitor: must be configured to display at least 256 colors Higher than
    256 . Actual 4294967296 Passed
    Preparing to launch Oracle Universal Installer from C:\Users\Robij\AppData\Loca
    l\Temp\OraInstall2012-11-20_09-46-59AM. Please wait ...
    Please specify JRE/JDK location ( Ex. /home/jre ), <location>/bin/java should e
    xist : \middleware\soasuite\jdk160_29\jre\bin
    Please specify a valid JRE/JDK location :
    As I said, I'm new to this, so sorry for the newbie question. Can anyone help me? Thanks.

    try this at commande ligne
    cd c:\the folder wish contient the setup.exe for soa suite
    setup *–jreLoc* c:\the jdk path directorie example(c:\oracle\midl…\jdk_18...hope that's help you
    Good luck

  • Java Path in weblogic Installation !

    Hi all,
    I am in the process to install 11g Forms and Reports on Windows 2008R2 Server .
    for that these are the software's i have downloaded.
    1) jdk-6u25-windows-x64
    2) wls1035_generic
    3) Forms and Reports 11.1.1.2 [64bit]
    At first i have installed JDK,then i tried to install Weblogic server 10.3.5, but on the JDK selection i have not seen any JDK bundle.. even without selecting this i cant move to the next page.
    Could anyone tell me the version of JDK i have installed is correct, and if its correct then what i have to do in the selection of JDK in weblogic server installation ?
    Do i need to choose a the local JDK path from the below menu,, even i tried to locate the file but which file i have to choose i dont know,, kindly expecting experts help in this.
    Regards
    Hamid
    Kindly review this also
    In this link http://docs.oracle.com/cd/E21764_01/doc.1111/e14142/guimode.htm#BABHJJIH under Installation screens --> 6th screen ??
    As per this document, i have not done any previous weblogic server installation in this server so its a fresh installation,,kindly let me know i have chosen the correct JDK ??
    Edited by: Hameed on Mar 9, 2012 11:19 PM
    (*************************************SOLVED*******************************************)
    Edited by: Hameed on Mar 9, 2012 11:46 PM

    Sorry

  • Wrong JRE Runtime Lib Path on Win2K--Admin Server Won't Start

    Running Sun One Web Server 6.0 SP6 on a Windows 2000 server, I inadvertently entered a typo in the iPlanet Administration Server's Global Settings, "Configure JRE/JDK Paths" link.
    In the "JRE Runtime Lib Path" field I typed "jjk1.3.1_03" instead of "jdk1.3.1_03". Now the Sun One web server won't start, so I can't go into the Administrative Server to fix the Jre Runtime Lib Path. I havent' been able to find any file where I can change that erroneous setting either. Is it a Registry entry?
    I also tried adding the correct JRE Runtime Lib Path at the end of the Windows PATH environment variable on the server, but that didn't help.

    Yes we checked the Registry settings and fixed the typo in the path associated with the key NSES_JRE_RUNTIME_LIBPATH. That should have fixed the problem, but the Sun One web server still wouldn't start.
    Moved to plan B and removed then reinstalled the Sun One web server. Now it starts and all is well.
    Thanks for helping everyone. This also raised the issue for us of whether or not we are entitled to individual support from Sun since we paid for the Sun One web server. According to the web site, the answer is NO - unless we pay $3,000 for a support contract. Other vendors who recommended using Sun One with their products say YES. We're still tracking that down.

Maybe you are looking for