java.lang.InstantiationException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Unable to start OC4j
    via by user12181029,
  • i am using oracle application server
    via by 522492,
    • 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 at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:908) at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:217) at com.evermind.server.Application.setConfig(Application.java:413) at com.evermind.server.Application.setConfig(Application.java:314) at com.evermind.server.ApplicationServer.initializeSystemApplication(ApplicationServer.java:1563) at com.evermind.server.ApplicationServer.initializeAutoDeployedApplications(ApplicationServer.java:1550) at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:980) at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131) at java.lang.Thread.run(Unknown Source) Caused by: 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(ExternalJavac.java:359) at com.evermind.compiler.ExternalJavac.getSystemJavac(ExternalJavac.java:392) at com.evermind.compiler.ExternalJavac.getJavacCompiler(ExternalJavac.java:248) at com.evermind.compiler.ExternalJavac.checkIfValid(ExternalJavac.java:736) at com.evermind.server.ApplicationServer.getCompiler(ApplicationServer.java:2503) at com.evermind.server.ejb.compilation.Compilation.<init>(Compilation.java:155) at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:893)
    No Bugmate found.