Error: Java home /opt/SUNWappserver/jdk/jre/bin/java is not a J2SE SDK. [message #164926] |
Mon, 27 March 2006 11:43 |
placa1783
Messages: 1 Registered: March 2006
|
Junior Member |
|
|
this is an error when i try to run this JSP
in jdeveloper
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
**** Unable to obtain password from principals.xml. Using default.
/root/jdevhome/system/oracle.j2ee.10.1.3.36.73/embedded-oc4j/config>
/usr/lib/SunJava2-1.4.2/jre/bin/java -server -classpath /root/Desktop/to-instal/ide/JDeveloper/j2ee/home/oc4j.jar:/root/Desktop/to-instal/ide/JDeveloper/jdev/lib/jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Xrs -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config /root/jdevhome/system/oracle.j2ee.10.1.3.36.73/embedded-oc4j/config/server.xml
[waiting for the server to complete its initialization...]
Error: Java home /opt/SUNWappserver/jdk/jre/bin/java is not a J2SE SDK.
Running Oracle JDeveloper 10g under a JRE is not supported.
If the Java VM specified by the SetJavaHome is actually a full J2SDK installation
then add 'SetSkipJ2SDKCheck true' to the jdev.conf configuration file
2006-03-27 13:01:53.754 ERROR J2EE EJB3027 [system] An error occured deploying EJB module: java.lang.InstantiationException: Error loading module file:/root/jdevhome/system/oracle.j2ee.10.1.3.36.73/embedded-oc4j/applications/admin_ejb.jar: Syntax error in source or compilation failed in: /root/jdevhome/system/oracle.j2ee.10.1.3.36.73/embedded-oc4j/application-deployments/admin_ejb/generated/MBeanServerEjbRemote_Statefu lSessionBeanWrapper0.java
06/03/27 13:01:53 ADVERTENCIA: Application.setConfig Application: system is in failed state as initialization failedjava.lang.InstantiationException: Error initializing ejb-modules: Error loading module file:/root/jdevhome/system/oracle.j2ee.10.1.3.36.73/embedded-oc4j/applications/admin_ejb.jar: Syntax error in source or compilation failed in: /root/jdevhome/system/oracle.j2ee.10.1.3.36.73/embedded-oc4j/application-deployments/admin_ejb/generated/MBeanServerEjbRemote_Statefu lSessionBeanWrapper0.java
27-mar-2006 13:01:53 com.evermind.server.Application setConfig
ADVERTENCIA: Application: system is in failed state as initialization failedjava.lang.InstantiationException: Error initializing ejb-modules: Error loading module file:/root/jdevhome/system/oracle.j2ee.10.1.3.36.73/embedded-oc4j/applications/admin_ejb.jar: Syntax error in source or compilation failed in: /root/jdevhome/system/oracle.j2ee.10.1.3.36.73/embedded-oc4j/application-deployments/admin_ejb/generated/MBeanServerEjbRemote_Statefu lSessionBeanWrapper0.java
06/03/27 13:01:53 Error initializing server: Error initializing ejb-modules: Error loading module file:/root/jdevhome/system/oracle.j2ee.10.1.3.36.73/embedded-oc4j/applications/admin_ejb.jar: Syntax error in source or compilation failed in: /root/jdevhome/system/oracle.j2ee.10.1.3.36.73/embedded-oc4j/application-deployments/admin_ejb/generated/MBeanServerEjbRemote_Statefu lSessionBeanWrapper0.java
06/03/27 13:01:53 Fatal error: server exiting
Process exited with exit code 1.
|
|
|