安装了Oracle之后,第一件事情就是想想怎么去连接,进而操作。SQL
Developer是官方提供的强大工具,个人看来也是第一选择。
目前官网提供的最新版是4.0.1.14.48,下载下来之后,就跃跃欲试了。将下载下来的包解压,直接运行sqldeveloper.exe这个文件,选择了本地安装的JDK路径,之后却不幸的报错了,提示“unable
to create an instance of the java virtual machine located at path”,具体界面如下:
解决办法如下:
找到sqldeveloper的配置目录,我的是XP,路径是:C:\Documents
and Settings\Administrator\Application Data\sqldeveloper\
找到目录下的文件product.conf,我电脑上的绝对路径是:
C:\Documents
and Settings\Administrator\Application
Data\sqldeveloper\1.0.0.0.0\product.conf
打开该文件,将选项
AddVMOption
-Xmx800m
改为: AddVMOption
-Xmx512m
之后重新启动sqldeveloper.exe,成功运行。
SQL Developer 4.0 启动报错“unable to create an instance of the java
virtual machine located at path”,码迷,mamicode.com
SQL Developer 4.0 启动报错“unable to create an instance of the java
virtual machine located at path”