zoukankan      html  css  js  c++  java
  • Unable to create an instance of the Java Virtual Machine

     

    After extractingsqldeveloper-1.5.4.59.40.zipand executingsqldeveloper.exe,I received following error

    ---------------------------
    Oracle SQL Developer
    ---------------------------
    Unable to create an instance of the Java Virtual Machine
    Located at path:
    <SQLDEVELOPER>\jdk\jre\bin\client\jvm.dll
    ---------------------------
    OK  
    ---------------------------

    Resolution for this error which works for me, as follow :-


    Open ide.conf file from

    <SQLDEVELOPER>/jdev/bin/ide.conf
    or
    <SQLDEVELOPER>\ide\bin\ide.conf


    In this file, change this line :
    AddVMOption -Xmx512M

    by

    AddVMOption -Xmx256M

    Now, the executable is lauching correctly. No more errors with Java Virtual Machine.

    Also check the diskspace where sqldeveloper is extracted and available RAM.
    You may need to revert back in future if there is no more issue with original file's setting.

    下载解压了Oracle SQL Developer工具,运行时,启动不了,报错信息如下:
    ---------------------------
    Unable to create an instance of the Java Virtual Machine
    Located at path:
    <SQLDEVELOPER>\jdk\jre\bin\client\jvm.dll
    ---------------------------

    是JVM参数设置的问题,我的解决方案如下:
    <SQLDEVELOPER>\ide\bin\ide.conf
    修改该文件,设置“AddVMOption -Xmx”参数,如下
    AddVMOption -Xmx256M
    然后就启动正常了。

    另外,还有个设置方法如下,只是设置的地方不同,原理是一样的:
    编辑文件:sqldeveloper\jdev\bin\sqldeveloper.conf 文件,
    其中增加一行:
    AddVMOption -Xmx256M
    (若该设置已存在,请修改它的值)

  • 相关阅读:
    还能这样偷懒?用Python实现网站自动签到脚本
    普通爬虫 VS 多线程爬虫!Python爬虫运行时间对比
    中文文献阅读方法及笔记模板
    约束
    可迭代对象补充
    练习题及补充
    内置函数的补充/super/异常值处理
    特殊成员
    嵌套
    面向对象知识点总结补充
  • 原文地址:https://www.cnblogs.com/canyangfeixue/p/2455809.html
Copyright © 2011-2022 走看看