java.lang.InstantiationException: Error generating wrappers for file:/C:/OracleBI/oc4j_bi/j2ee/home/applications/admin_ejb.jar: javac.exe not found under C:\Java\jdk1.5.0_12, please use a valid jdk or specify the location of your java compiler in server.xml using the <java-compiler .../> tag

Oracle Community | user12181029 | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Unable to start OC4j

    Oracle Community | 3 years ago | user12181029
    java.lang.InstantiationException: Error generating wrappers for file:/C:/OracleBI/oc4j_bi/j2ee/home/applications/admin_ejb.jar: javac.exe not found under C:\Java\jdk1.5.0_12, please use a valid jdk or specify the location of your java compiler in server.xml using the <java-compiler .../> tag

    Root Cause Analysis

    1. java.lang.InstantiationException

      javac.exe not found under C:\Java\jdk1.5.0_12, please use a valid jdk or specify the location of your java compiler in server.xml using the <java-compiler .../> tag

      at com.evermind.compiler.ExternalJavac.getJdkExecutable()
    2. com.evermind.compiler
      ExternalJavac.checkIfValid
      1. com.evermind.compiler.ExternalJavac.getJdkExecutable(ExternalJavac.java:359)
      2. com.evermind.compiler.ExternalJavac.getSystemJavac(ExternalJavac.java:392)
      3. com.evermind.compiler.ExternalJavac.getJavacCompiler(ExternalJavac.java:248)
      4. com.evermind.compiler.ExternalJavac.checkIfValid(ExternalJavac.java:736)
      4 frames
    3. com.evermind.server
      EJBContainer.postInit
      1. com.evermind.server.ApplicationServer.getCompiler(ApplicationServer.java:2503)
      2. com.evermind.server.ejb.compilation.Compilation.<init>(Compilation.java:155)
      3. com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:893)
      3 frames