Invalid Java Home

I am trying to install WebLogic on a 64-bit Cent-OS server. I have read instructions all over the place but no matter what I try I keep getting the error message "Invalid Java Home" when I get to the JDK selection section. I have tried the interactive mode and the graphic mode with the same results. I don't seem to be able to generate a log file either. What home am I suppose to be pointing this to? I have the installation jar file in the following location:
/oracle/software/WebLogic_Server/wls1035_generic.jar
I have the JAVA_HOME set to /usr/java/jre1.6.0_18 and the PATH set to $JAVA_HOME/bin:$PATH or /usr/java/jre1.6.0_18/bin:/usr/local/bin:/bin:/usr/bin:/home/emgc/bin. I have also verified that there is plenty of space available.
Any assistance would be greatly appreciated!

Your JAVA_HOME env variable seems to be pointing to a JRE home directory ( /usr/java/jre1.6.0_18 ) instead of a JDK home directory (which should be something like /usr/java/jdk1.6.0_18 )
It might be a documentation issue, or there could be some issue with the currently installed Sun JDK and you should consider using JRockit 64 bit instead.

Similar Messages

  • "Invalid Java Home" when installing Weblogic 10.3.1 on Mac OS X 10.6

    I'm hoping someone can help me. I'm trying to install the generic [Weblogic 11g (10.3.1)|http://download.oracle.com/otn/nt/middleware/11g/wls/wls1031_generic.jar] on Mac OS X 10.6 (Snow Leopard), which supposedly has a JDK 1.6 installed.
    It can't seem to find a JDK, and when I tell it to use the following:
    /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
    I get an "Invalid Java Home" error.
    Has anyone successfully done this on OS X 10.6?

    Just as an update, we're soon to release the WLS 11g R1 PS2 update, which will contain WLS 10.3.3 just to confuse things.
    As part of that, we're distributing for the first time, an additional .zip version of WLS to make it easier for developers.
    The zip file distribution has no GUI installer -- it's a simple case of unzip, run a script it provides, then start the server.
    The zip file distribution has been specifically tested on Mac OS X and the WLS config/domain scripts automatically adjust as necessary for the Mac OS X java environment.
    Once the zip file distribution is available, we hope that developing against WLS on Mac OS X (and Windows/Linux) will be an easier task.
    -steve-

  • "Invalid Java Home" when installing Oracle Weblogic 11g (10.3.1)

    Hi folks,
    I'm trying to install Oracle's Weblogic 11g (10.3.1)
    (http://download.oracle.com/otn/nt/middleware/11g/wls/wls1031_generic.jar)
    The installer starts, but does not detect the JDK home (which I expected). It does however let you browse the file system to select a home. I've tried selecting the following:
    /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
    but I get an "Invalid Java Home" error.
    According to the documentation, Weblogic should run on a 1.6 JDK.
    I notice that there are a few other Java related issues on these forums. Does anybody have any clues?
    It sounds like the Apple JDK needs patching to make it usable by some Java apps. Bring on the 10.6 Java patch!

    Just letting everyone know that the answer can be found here:
    http://blogs.oracle.com/emorales/2009/06/weblogicover_mac_osx.html
    It seems that we have to "dummy up" a jre/lib directory to fool the Weblogic JDK detection check.

  • "Invalid Java Home ...." .Installing the JDeveloper  Studio Edition ---Mac

    I have try every Path OR"JDK Path",and jdev told me: "Invalid Java Home ......" .
    I cannot understand this: Ref: http://download.oracle.com/docs/cd/E12839_01/install.1111/e13666/toc.htm
    6.2 Specifying the JDK location on Mac OS X Systems
    Note: This section is not applicable to the Studio edition.
    When you start JDeveloper for the first time, the jdev script prompts you to provide the location of your JDK installation if it cannot locate it. You will need to enter the path to java.exe.
    Edited by: user4527807 on 2008/11/28 下午 11:11

    A quick search on this forum for Mac would have shown you that there are some extra steps mentioned in the release notes for Mac:
    http://www.oracle.com/technology/products/jdev/htdocs/11/knownissues.html#install4

  • ERROR - CLONE-20270   Java home of the Middleware home is invalid.

    Dear All,
    I am executing copyBinary script (cloning environment). The following error appears during execution:
    SEVERE : Nov 26, 2012 7:25:27 PM - ERROR - CLONE-20270 Java home of the Middleware home is invalid.
    SEVERE : Nov 26, 2012 7:25:27 PM - CAUSE - CLONE-20270 There are two possible causes:
    1. Did not find either JAVA_HOME or JAVAHOME property in product.properties of WebLogic Server home.
    2. The Java home did not exist.
    Obviously script expects product.properties with valid JAVA_HOME. How to generate product.properties file?

    Which document did you use for cloning ?
    Which OIM Version are you using ?

  • JAVA-HOME not found in this environment?

    Hi, i'm from Argentina. ?'m installing (because i want to learn) Dspace. My machine have windows 2003 Server.
    The steps of the installation are :
    *Java SDK 1.5 (I've installed jdk 1.6_10)
    * PostgreSQL 8.X for Windows
    *apache ant
    *tomcat
    *MAVEN
    I EXECUTE IN CMD:
    mvn package
    and the error is "JAVA-HOME not found in this environment . Please set de JAVA-HOME variable in your environment to match the location of your java installation."
    I have this variables configured as System Variables:
    JAVA-HOME C:\Archivos de programa\Java\jdk1.6.0_10\bin
    PATH ;C:\Archivos de programa\Java\jdk1.6.0_10\bin (IS THE ONLY PATH THAT IS THERE)
    Please help me , I don't know how to configure it, this is the last configuration i made.
    Thanks you
    Carla Bongiovani

    Hi Carla,
    try to set "JAVA_HOME" in that way (select main directory, without bin):
    C:\Archivos de programa\Java\jdk1.6.0_10\(First shot on google: https://wso2.org/project/wsas/java/1.1/docs/setting-java-home.html)
    BTW, variable name should be "JAVA_HOME" and not "JAVA-HOME" (?).
    regards,
    zajjar

  • Java Home Value in classpath

    When I try to compile I receive an error that indicates the Java Home value is c:\jdk1.3.1. This was the correct value when I installed JDeveloper 9.0.3. However, since then I have installed a newer version of the JDK. I've changed the JAVA_HOME environment variable and the SetJavaHome parameter of jdev.conf, but still receive the error. Any suggestions?

    The SetJavaHome parameter in jdev.conf is used to determine the Java SDK used to run JDeveloper. When JDeveloper is started for the very first time, this is also used to determine the default setting for the J2SE project setting (in the Libraries panel).
    -- Brian

  • Java Home on Solaris 10

    Hi All ,
    Config tool and JSPM are not opening for PI 7.1 on Solaris 10.
    It was working fine before.Seems the issue is with Java home .
    But i am not sure how to check Java home in Solaris.
    Also PI 7.1 ,JDK is inbuilt and we didn't set Java Home.
    But now i want to recheck the Java home environment variable.
    Can you pls help me with the relevant commands to do so.
    #setenv didn't provided any info or Java home.
    Regards
    Ajay

    Thanks Anjali
    Hi  Markus
    Config tool is hanging.Actually its a P1 7.1 system and we never set the Java home .
    Now patched SAP JVM manually.But now entire java (server node etc ) are not coming up..
    logs are here :JVM_bootstrap.out
    ============
       INFO: Loading tool launcher...
       INFO: [OS: SunOS] [VM vendor: SAP AG] [VM version: 5.1.034] [VM type: SAP Java Server VM]
       INFO: Main class to start: "com.sap.engine.bootstrap.Bootstrap"
       INFO: Loading 15 JAR files: [./bootstrap/sap.comtcbliqlibimpl.jar, ./bootstrap/sap.comtcexceptionimpl.jar, ./bootstrap/sap.comtcjeofflineconfigurationimpl.jar, ./bootstrap/sap.comtcbloffline_launcherimpl.jar, ./bootstrap/sap.comtcsecsecstorefsjavacore.jar, ./bootstrap/jdbc.jar, ./bootstrap/sap.comtcblconfigimpl.jar, ./bootstrap/sap.comtcjeflightrecorder.jar, ./bootstrap/sap.comtcsapxmltoolkitsapxmltoolkit.jar, ./bootstrap/sap.comtcloggingjavaimpl.jar, ./bootstrap/sap.comtcbljdsrjdsr.jar, ./bootstrap/sap.comtcjebootstrapimpl.jar, ./bootstrap/jperflib.jar, ./bootstrap/sap.comtcbldeployofflineimpl.jar, ./bootstrap/sap.comtcblopensql~implStandalone.jar]
       INFO: Start
    Component: [internal/unkown] of type [unkown]
    Message: [Exception occurred:]
    com.sap.engine.bootstrap.SynchronizationException: Unknown value [FORCE ] of [element.resynch] property.
         at com.sap.engine.bootstrap.BootstrapProperties.parseResynchMode(BootstrapProperties.java:180)
         at com.sap.engine.bootstrap.BootstrapProperties.parseProperties(BootstrapProperties.java:200)
         at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:175)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:161)
    [Bootstrap]> Problem occurred while performing synchronization. For more details see the logs above.
    =============
    Regards
    Ajay

  • ERROR: Invalid java version found: while runing Autoconfig

    Hi
    while upgrading EBS 12.1.3 Database from 11.1.0.7 to 11.2.0.2
    We got the below error on autoconfig.
    F:\app\mocppd\product\11.2.0\dbhome_1\appsutil>F:\app\mocppd\product\11.2.0\dbho
    me_1\appsutil\bin\adconfig.cmd contextfile=prod_srv-moc.xml
    Enter the APPS user password: apps
    cygwin warning:
      MS-DOS style path detected: F:\app\mocppd\product\11.2.0\dbhome_1\appsutil\bin
    \adconfig.pl
      Preferred POSIX equivalent is: /cygdrive/f/app/mocppd/product/11.2.0/dbhome_1/
    appsutil/bin/adconfig.pl
      CYGWIN environment variable option "nodosfilewarning" turns off this warning.
      Consult the user's guide for more details about POSIX paths:
        http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
    The log file for this session is located at: F:\app\mocppd\product\11.2.0\dbhome
    _1/appsutil/log/prod_srv-moc/02040321/adconfig.log
    AutoConfig is configuring the Database environment...
    AutoConfig will consider the custom templates if present.
            Using ORACLE_HOME location : F:\app\mocppd\product\11.2.0\dbhome_1
    ERROR: Invalid java version found:
            sh: F:appmocppdproduct11.2.0dbhome_1jdkjre/bin/java: No such file or dir
    ectory
    ERROR: Invalid java version found:
            sh: F:appmocppdproduct11.2.0dbhome_1jdkjre/bin/java: No such file or dir
    ectory
            Classpath                   :
    sh: - : invalid option
    Usage:  sh [GNU long option] [option] ...
            sh [GNU long option] [option] script-file ...
    GNU long options:
            --debug
            --debugger
            --dump-po-strings
            --dump-strings
            --help
            --init-file
            --login
            --noediting
            --noprofile
            --norc
            --posix
            --protected
            --rcfile
            --restricted
            --verbose
            --version
            --wordexp
    Shell options:
            -irsD or -c command or -O shopt_option          (invocation only)
            -abefhkmnptuvxBCHP or -o option
    Version Conflicts among development maintained and customized templates encounte
    red; aborting AutoConfig run.
    The logfile for this session is located at: F:\app\mocppd\product\11.2.0\dbhome_
    1/appsutil/log/prod_srv-moc/02040321/adconfig.logThanks
    Nawneet

    Hi Helios,
    I have changed the prod_srv-moc.xml script and executed the script.
    And now i got the below error.
    F:\app\mocppd\product\11.2.0\dbhome_1\appsutil>F:\app\mocppd\product\11.2.0\dbho
    me_1\appsutil\bin\adconfig.cmd contextfile=prod_srv-moc.xml
    Enter the APPS user password: apps
    cygwin warning:
    MS-DOS style path detected: F:\app\mocppd\product\11.2.0\dbhome_1\appsutil\bin
    \adconfig.pl
    Preferred POSIX equivalent is: /cygdrive/f/app/mocppd/product/11.2.0/dbhome_1/
    appsutil/bin/adconfig.pl
    CYGWIN environment variable option "nodosfilewarning" turns off this warning.
    Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
    The log file for this session is located at: F:/app/mocppd/product/11.2.0/dbhome
    _1/appsutil/log/prod_srv-moc/02040605/adconfig.log
    AutoConfig is configuring the Database environment...
    AutoConfig will consider the custom templates if present.
    Using ORACLE_HOME location : F:/app/mocppd/product/11.2.0/dbhome_1
    Classpath : :F:/app/mocppd/product/11.2.0/dbhome_1/jdb
    c/lib/ojdbc6.jar:F:/app/mocppd/product/11.2.0/dbhome_1/appsutil/java/xmlparserv2
    .jar:F:/app/mocppd/product/11.2.0/dbhome_1/appsutil/java:F:/app/mocppd/product/1
    1.2.0/dbhome_1/jlib/netcfg.jar:F:/app/mocppd/product/11.2.0/dbhome_1/jlib/ldapjc
    lnt11.jar
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/apps/ad/tools/
    configuration/VersionConflictListGenerator
    Caused by: java.lang.ClassNotFoundException: oracle.apps.ad.tools.configuration.
    VersionConflictListGenerator
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    Could not find the main class: oracle.apps.ad.tools.configuration.VersionConflic
    tListGenerator. Program will exit.
    ERROR: Version Conflicts utility failed.
    Terminate.
    The logfile for this session is located at: F:/app/mocppd/product/11.2.0/dbhome_
    1/appsutil/log/prod_srv-moc/02040605/adconfig.log
    Thanks
    Nawneet

  • How does the JRE determine java.home?

    I recently upgraded from jre 1.4.1 to 1.4.2.
    I'm having problems with applets, and I've traced the problem to the fact that java.home still points to the old JRE directory. Here is a line from the system properties dump in the java console:
    java.home = C:\PROGRA~1\Java\J2RE14~1.2_0
    That directory doesn't exist anymore. The directory that contains the jre is now c:\program files\Java\j2re1.4.2_01.
    I properly uninstalled 1.4.1, and I've tried uninstalling everything java related, manually deleting everything I can find (files, folders, registry settings) related to java or sun, and reinstalling, and this problem is still there.
    I've also tried setting the property in the JAVA_HOME environment variable as well as setting it as a runtime option in the java control panel ( -Djava.home=. . .). No dice.
    How does the JRE determine java.home? Is there a way to manually set the path?

    Check regedit with the oldvalueThanks -- I tried that. The old value is not in the registry, and all of the registry settings for java.home point to the correct directory. The java.home value that ends up inside the plugin must be determined some other way (at least in 1.4.2).
    If anyone out there knows where it comes from, please let me know!
    Thanks.

  • Log4j is identifying ${java.home} but not ${catalina.home} or ${jboss.home}

    my Env Variables and Path:
    JAVA_HOME
    D:\MQS\jdk1.5.0_03
    CATALINA_HOME
    D:\MQS\Servers\Tomcat 5.0
    path : %JAVA_HOME%\bin;%CATALINA_HOME%\bin;
    When i run my class it is creating debug.log in JDK but it failing to create a log file folder in Tomcat.. why ? any idea....!!
    my log4j.xml is as below:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd" >
    <log4j:configuration>
    <appender name="debugfile"
              class="org.apache.log4j.RollingFileAppender">
              <param name="maxFileSize" value="100KB" />
              <param name="maxBackupIndex" value="5" />
              <param name="File" value="${catalina.home}/MQLOG'S/debug/debug.log" />
              <param name = "File" value="${java.home}/MQLOG'S/Debug/debug.log"/>
              <layout class="org.apache.log4j.PatternLayout">
                       <param name="ConversionPattern"
                        value="%d{ABSOLUTE} %10p %c{10}:%L - %m%n" />
              </layout>
              <filter class="org.apache.log4j.varia.LevelRangeFilter">
                   <param name="LevelMin" value="debug" />
                   <param name="LevelMax" value="debug" />
              </filter>
         </appender>
                    <root>
              <priority value="debug"></priority>
         </root>
    </log4j:configuration>ThankQ,
    Han.

    hello DrClap,
    ThanQ very much for reply.
    I have tried what ever you said. As in my other therad you said to give the runtime variable path like
    <param name="File" value="D:\MQS\jboss As\Tomcat 5.0/Dbg/debug.log" /> In that case it has created a folder "MQSjboss AsTomcat 5.0".
    My Question is When it is identifying ${java.home} in the same way why it is not identifying ${catalina.home} or ${jboss.home}.
    As what i understood is ${java.home} or ${catalina.home} or ${jboss.home} are variables which have some predefined path or property.
    thankQ.

  • Java Home symbolic links broken

    I followed a tutorial to install Tomcat on Mac OS X. When running, I got an error saying /Library/Java/Home/bin/java: No such file or directory. After going to /Library/Java, I saw that Home was a broken symbolic link to /System/Library/Frameworks/JavaVM.framework/Home. So, going to /System/Library/Frameworks/JavaVM.framework I saw that the Home file there was a broken symbolic link to /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home. As you could guess, CurrentJDK was a broken symbolic link to /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents, and /System/Library/Java/JavaVirtualMachines/ doesn't even exist. Where should I set all of these to?

    Have you installed Java yet on Lion?
    http://support.apple.com/kb/DL1421

  • ERROR "JAVA HOME not set"

    Hi,
    I have installed Hyperion V 11.1.2 on windows 2003 server in the D drive on my laptop.when i try to start configuration utility it says "JAVA HOME IS NOT SET".I have installed java in my laptop.
    can any one please help me how to set java home.

    Hi,
    The JAVA_HOME is set in a script which is called when the configuration utility is run.
    Check you have a JRE directory under D:\Hyperion\Common
    If you don't then the installation has gone wrong and you will need to install again.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • "Invalid Oracle Home directory" error in Application Server Connection

    I have Jdeveloper 10g on Windows XP and want to create an Application Server Connection.
    After specifying required i get Test failed (-2). Invalid Oracle Home directory whenever I go for testing it.
    My Application Server in Linux

    You are in the wrong forum for that question.

  • Invalid java class problem

    Hi , I have found this invalid java class in my schema portal30 : 3334f18_HttpProviderDispatche
    In which way can I recompile it , or eventually change it with a new one ?
    Thanks
    Max

    hi,
    Go to your portal navigator and try compiling the class. If you get compilation errors,you can load that class to your database using loadjava utility.
    --Sriram                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for