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

  • 相关阅读:
    随手记
    boost::asio::udp 异步
    boost::asio::tcp 异步
    boost::asio::tcp 同步
    QML::MouseArea
    boost::concurrent::sync_queue
    std::chrono::时钟
    数据结构::队列
    数据结构::栈
    数据结构::线性表
  • 原文地址:https://www.cnblogs.com/canyangfeixue/p/2455809.html
Copyright © 2011-2022 走看看