啓動Jdeveloper時,會彈出錯誤信息
Unable to create an instance of the Java Virtual Machine
Located at path:
C:/Oracle/Middleware/home_11gR1/jdk160_18/jre/bin/client/jvm.dll
如何處理呢?修改JdevHome下的jdev.conf文件,如我的jdevd的文件就保存在C:/Oracle/Middleware/jdev_11gR1/jdeveloper/jdev/bin中。
修改啓動時所需內存大小
orginal:
# MaxPermSize is required to run JDeveloper with Sun Microsystems virtual
# machine (-client and -server). The default value is 64M, which isn't
# enough to run JDeveloper successfully. With the default value, JDeveloper
# will end up running out of memory at some point in time. For technical
# details, see: http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html
#
AddVMOption -XX:MaxPermSize=256M
在此行後添加
AddVMOption -Xmx256M
AddVMOption -Xms128M
重新啓動Jdevelop即可。如果有內存不足的提示,修改最小和最大內存大小