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

  • 相关阅读:
    权限系统概要(收集,整理)
    全程参观 Google 总部
    从Excel表格中坐标生成 点线面
    Cross Site Script 知识
    UserControl 实现From_Close
    用后立即调用Dispose
    获取鼠标点击处的颜色
    arcsde9.3 the arcsde repository is not successfully created
    ArcGIS9.3全套 下载地址
    SQLServer 2008 安装 is not a volid login or don't have permission
  • 原文地址:https://www.cnblogs.com/canyangfeixue/p/2455809.html
Copyright © 2011-2022 走看看