a.lang.InstantiationException: javac.exe not found under C:\Program Files\Java\j re6, please use a valid jdk or specify the location of your java compiler in ser ver.xml using the <java-compiler .../> tag at com.evermind.compiler.ExternalJavac.getJdkExecutable(ExternalJavac.java at com.evermind.compiler.ExternalJavac.getSystemJavac(ExternalJavac.java

Oracle Community | 646894 | 8 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

    Standalone OC4J deployment problem

    Oracle Community | 8 years ago | 646894
    a.lang.InstantiationException: javac.exe not found under C:\Program Files\Java\j re6, please use a valid jdk or specify the location of your java compiler in ser ver.xml using the <java-compiler .../> tag at com.evermind.compiler.ExternalJavac.getJdkExecutable(ExternalJavac.java at com.evermind.compiler.ExternalJavac.getSystemJavac(ExternalJavac.java

    Root Cause Analysis

    1. a.lang.InstantiationException

      javac.exe not found under C:\Program Files\Java\j re6, please use a valid jdk or specify the location of your java compiler in ser ver.xml using the <java-compiler .../> tag at com.evermind.compiler.ExternalJavac.getJdkExecutable(ExternalJavac.java at com.evermind.compiler.ExternalJavac.getSystemJavac(ExternalJavac.java

      at com.evermind.compiler.ExternalJavac.getJavacCompiler()
    2. com.evermind.compiler
      ExternalJavac.checkIfValid
      1. com.evermind.compiler.ExternalJavac.getJavacCompiler(ExternalJavac.java:248)
      2. com.evermind.compiler.ExternalJavac.checkIfValid(ExternalJavac.java:736)
      2 frames
    3. com.evermind.server
      ApplicationServerLauncher.run
      1. com.evermind.server.ApplicationServer.getCompiler(ApplicationServer.java:2540)
      2. com.evermind.server.ejb.compilation.Compilation.<init>(Compilation.java:155)
      3. com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:889)
      4. com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:231)
      5. com.evermind.server.Application.setConfig(Application.java:454)
      6. com.evermind.server.Application.setConfig(Application.java:355)
      7. com.evermind.server.ApplicationServer.initializeSystemApplication(ApplicationServer.java:1596)
      8. com.evermind.server.ApplicationServer.initializeAutoDeployedApplications(ApplicationServer.java:1583)
      9. com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1018)
      10. com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
      10 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame