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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by user12181029, 1 year ago
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
via Stack Overflow by crodriguez
, 6 months ago
Error loading module file:/C:/jd1013/jdev/system/oracle.j2ee.10.1.3.36.73/embedded-oc4j/applications/admin_ejb.jar: Syntax error in source or compilation failed in: C:\jd1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\application-deployments\admin_ejb\generated\MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java
via Oracle Community by 461213, 1 year ago
via Oracle Community by 217675, 1 year ago
Error initializing ejb-modules: [poc_model_transacional:poc_model_transacional] - Exception creating EntityManagerFactory using PersistenceProvider class oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider for persistence unit PoC_Model_Transacional.
via Oracle Community by Paulfranz2-Oracle, 1 year ago
Error initializing ejb-modules: org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@a41ccf for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j
via Oracle Community by 24059, 1 year ago
Error initializing ejb-modules: [HRApp:HREJB] - Unknown persistence unit with name "".
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.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.(Compilation.java:155)
at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:893)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.