To solve the issue of error - Could not create the Java virtual machine
open the project file of Jdeveloper
For me i found it in below location
C:\Oracle\MiddlewareHome\ jdeveloper
file name .product.properties
I have added the last two lines and it solves the issue
EXTRA_JAVA_PROPERTIES=-Xms512m -Xmx512m
_JAVA_OPTIONS=-Xmx512M
Attaching the content of the file, in last of this document.
after adding above two lines i can compile the SOA projects successfully, with additional message Picked up _JAVA_OPTIONS
BUILD SUCCESSFUL
Total time: 10 seconds
Picked up _JAVA_OPTIONS: -Xmx512M
-------------------------------------------------------------------------------------------------------------------------
Content of File ->.product.properties
#Tue Jan 02 12:04:10 IST 2018
JAVA_HOME=C\:\\Oracle\\MiddlewareHome\\jdk160_24
JDEV_JAVA_HOME=C\:\\Oracle\\MiddlewareHome\\jdk160_24
JDEV_JAVA_VENDOR=Sun
USER_LANGUAGE=en
JAVAHOME=C\:\\Oracle\\MiddlewareHome\\jdk160_24
WLS_INSTALL_DIR=C\:\\Oracle\\MiddlewareHome\\wlserver_10.3
JDEV_INSTALL_DIR=C\:\\Oracle\\MiddlewareHome\\jdeveloper
MW_HOME=C\:\\Oracle\\MiddlewareHome
BEAHOME=C\:\\Oracle\\MiddlewareHome
EXTRA_JAVA_PROPERTIES=-Xms512m -Xmx512m
_JAVA_OPTIONS=-Xmx512M
No comments:
Post a Comment
add comment here