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
    (若该设置已存在,请修改它的值)

  • 相关阅读:
    15-07-23 HTML--标签
    15-07-22 数据库--存储过程、触发器
    15-07-19数据库练习题答案
    15-07-17 数据库练习题
    15-07-20 数据库--索引视图编程
    15-07-17 数据库--高级查询
    c#语句
    SQL 触发器
    SQL 存储过程
    SQL 循环语句
  • 原文地址:https://www.cnblogs.com/canyangfeixue/p/2455809.html
Copyright © 2011-2022 走看看