我是新手。我正在开始使用JDeveloper的旧版本;但是我无法启动这个版本。
第一次:我有这个对话框。
注意:我正在使用cmder
。
这里是日志
C:\jdevstudio10134\jdev\bin
λ jdev -verbose
JNI Option: -Dide.product=oracle.jdeveloper
JNI Option: -Dide.splash.screen=splash.gif
JNI Option: -Xverify:none
JNI Option: -XX:MaxPermSize=512M
JNI Option: -Xmx1024M
JNI Option: -XX:JavaPriority10_To_OSPriority=10
JNI Option: -XX:JavaPriority9_To_OSPriority=9
JNI Option: -Dice.browser.forcegc=false
JNI Option: -Dice.pilots.html4.tileOptThreshold=0
JNI Option: -Xbootclasspath/p:../lib/lwawt.jar
JNI Option: -Dreserved_filenames=con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout$
JNI Option: -DEDITOR_J2SE_VERSION=1.5
JNI Option: -DINSIGHT_OMIT_HIDDEN=true
JNI Option: -Doracle.xdkjava.compatibility.version=9.0.4
JNI Option: -Doracle.translated.locales=ja
JNI Option: -Dwindows.shell.font.languages=en
JNI Option: -Dide.debug.controller.stack=false
JNI Option: -Dceditor.java.parse.small=300
JNI Option: -Dceditor.java.parse.large=1500
JNI Option: -Dide.extension.cpmissing.nowarn=true
JNI Option: -Dcompiler.vmargs=-mx512m
JNI Option: -Doracle.soap.transport.noHTTPClient=true
JNI Option: -Djbo.debugoutput=silent
JNI Option: -Djbo.showdebugwarningbanner=false
JNI Option: -Djava.library.path=C:\OtrosProgramas\cmder\bin;C:\OtrosProgramas\cmder\vendor\conemu-maximus5\ConEmu\Scripts;C:\OtrosProgramas\cmder\vendor\conemu-maximus5;C:\OtrosProgramas\cmder\vendor\conemu-maximus5\ConEmu;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Dell\Dell Data Protection\Drivers\TSS\bin\;C:\Program Files (x86)\Skype\Phone\;C:\Program Files\NetBeans 8.1\java\maven\bin;C:\Program Files\Java\jdk1.6.0_45\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Git\cmd;C:\Program Files\EmEditor;C:\Program Files\Git\usr\bin;C:\Program Files\Git\usr\share\vim\vim74;C:\OtrosProgramas\cmder\;..\lib\ext;..\..\lib
JNI Option: -Dide.user.dir=
JNI Option: -Dide.startingArg0=C:\jdevstudio10134\jdev\bin\jdev.exe
JNI Option: -Dide.startingArg1=-verbose
JNI Option: -Dide.launcherProcessId=7644
JNI Option: -Dide.config_pathname=C:\jdevstudio10134\jdev\bin\jdev.conf
JNI Option: -Dide.startingcwd=C:\jdevstudio10134\jdev\bin
JNI Option: -Dide.shell.fileTypeKeyDefined=true
JNI Option: -Dide.shell.enableFileTypeAssociation=true
JNI Option: -Djava.class.path=..\lib\jdev-loader.jar
JNI Option: -Djdev.class.path=..\..\..\classes;..\..\ide\lib\javax-ide.jar;..\..\ide\lib\javatools.jar;..\..\ide\lib\ide.jar;..\..\jlib\jewt4.jar;..\..\jlib\share.jar;..\..\jlib\help4.jar;..\..\jlib\inspect4.jar;..\..\lib\xmlparserv2.jar;..\..\jdbc\lib\orai18n.jar;..\lib\jdev-ep.jar;..\..\jdk\lib\tools.jar;..\..\jdk\lib\dt.jar
JNI Option: -Djava.system.class.loader=oracle.ideimpl.IdeClassLoader
JVM path is ..\..\jdk\jre\bin\client\jvm.dll
Error occurred during initialization of VM
Could not reserve enough space for object heap
C:\jdevstudio10134\jdev\bin
λ
现在验证文件jdev.conf
C:\jdevstudio10134\jdev\bin
λ cat -n jdev.conf | grep AddVMOption
40 AddVMOption -Dide.product=oracle.jdeveloper
45 AddVMOption -Dide.splash.screen=splash.gif
82 # AddVMOption -DVFS_ENABLE=true
90 AddVMOption -Xverify:none
96 #AddVMOption -Xmx756M
98 #AddVMOption -XX:MaxHeapSize=1024m
109 AddVMOption -XX:MaxPermSize=512M
110 AddVMOption -Xmx1024M
118 AddVMOption -XX:JavaPriority10_To_OSPriority=10
119 AddVMOption -XX:JavaPriority9_To_OSPriority=9
124 # AddVMOption -XX:+UseConcMarkSweepGC
125 # AddVMOption -XX:+UseParNewGC
132 # AddVMOption -XOd
138 # AddVMOption -Xsinglecpu
144 # AddVMOption -Dsun.java2d.noddraw=true
152 # AddVMOption -Dapplication.handle.help=true
160 # AddVMOption -Dno.shell.integration=true
165 AddVMOption -Dice.browser.forcegc=false
170 AddVMOption -Dice.pilots.html4.tileOptThreshold=0
177 # AddVMOption -Xbootclasspath/p:../../jdk/jre/lib/patches/rtpatch.jar
182 AddVMOption -Xbootclasspath/p:../lib/lwawt.jar
202 # AddVMOption -Xheapbase100000000
207 AddVMOption -Dreserved_filenames=con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout$
211 AddVMOption -DEDITOR_J2SE_VERSION=1.5
217 AddVMOption -DINSIGHT_OMIT_HIDDEN=true
224 # AddVMOption -Dbuffer.deadlock.detection=true
230 # AddVMOption -Dice.pilots.html4.ignoreNonGenericFonts=true
235 AddVMOption -Doracle.xdkjava.compatibility.version=9.0.4
251 AddVMOption -Doracle.translated.locales=ja
265 AddVMOption -Dwindows.shell.font.languages=en
271 AddVMOption -Dide.debug.controller.stack=false
279 # AddVMOption -Drmi.disablePropagation=true
290 AddVMOption -Dceditor.java.parse.small=300
298 AddVMOption -Dceditor.java.parse.large=1500
308 AddVMOption -Dide.extension.cpmissing.nowarn=true
315 AddVMOption -Dcompiler.vmargs=-mx512m
326 AddVMOption -Doracle.soap.transport.noHTTPClient=true
332 AddVMOption -Djbo.debugoutput=silent
333 AddVMOption -Djbo.showdebugwarningbanner=false
C:\jdevstudio10134\jdev\bin
λ
评论109
行和110
行,因为我对标准感到困惑。
#AddVMOption -XX:MaxPermSize=512M
#AddVMOption -Xmx1024M
我得到了:
但在幕后:
C:\jdevstudio10134\jdev\bin
λ jdev -verbose
JNI Option: -Dide.product=oracle.jdeveloper
JNI Option: -Dide.splash.screen=splash.gif
JNI Option: -Xverify:none
JNI Option: -XX:JavaPriority10_To_OSPriority=10
JNI Option: -XX:JavaPriority9_To_OSPriority=9
JNI Option: -Dice.browser.forcegc=false
JNI Option: -Dice.pilots.html4.tileOptThreshold=0
JNI Option: -Xbootclasspath/p:../lib/lwawt.jar
JNI Option: -Dreserved_filenames=con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,
com7,com8,com9,conin$,conout$
JNI Option: -DEDITOR_J2SE_VERSION=1.5
JNI Option: -DINSIGHT_OMIT_HIDDEN=true
JNI Option: -Doracle.xdkjava.compatibility.version=9.0.4
JNI Option: -Doracle.translated.locales=ja
JNI Option: -Dwindows.shell.font.languages=en
JNI Option: -Dide.debug.controller.stack=false
JNI Option: -Dceditor.java.parse.small=300
JNI Option: -Dceditor.java.parse.large=1500
JNI Option: -Dide.extension.cpmissing.nowarn=true
JNI Option: -Dcompiler.vmargs=-mx512m
JNI Option: -Doracle.soap.transport.noHTTPClient=true
JNI Option: -Djbo.debugoutput=silent
JNI Option: -Djbo.showdebugwarningbanner=false
JNI Option: -Djava.library.path=C:\OtrosProgramas\cmder\bin;C:\OtrosProgramas\cmder\vendor\conemu-maximus5\ConEmu\Script
s;C:\OtrosProgramas\cmder\vendor\conemu-maximus5;C:\OtrosProgramas\cmder\vendor\conemu-maximus5\ConEmu;C:\Program Files
(x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:
\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)
\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Pro
gram Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Compo
nents\IPT;C:\Program Files\Dell\Dell Data Protection\Drivers\TSS\bin\;C:\Program Files (x86)\Skype\Phone\;C:\Program Fil
es\NetBeans 8.1\java\maven\bin;C:\Program Files\Java\jdk1.6.0_45\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\G
it\cmd;C:\Program Files\EmEditor;C:\Program Files\Git\usr\bin;C:\Program Files\Git\usr\share\vim\vim74;C:\OtrosProgramas
\cmder\;..\lib\ext;..\..\lib
JNI Option: -Dide.user.dir=
JNI Option: -Dide.startingArg0=C:\jdevstudio10134\jdev\bin\jdev.exe
JNI Option: -Dide.startingArg1=-verbose
JNI Option: -Dide.launcherProcessId=10956
JNI Option: -Dide.config_pathname=C:\jdevstudio10134\jdev\bin\jdev.conf
JNI Option: -Dide.startingcwd=C:\jdevstudio10134\jdev\bin
JNI Option: -Dide.shell.fileTypeKeyDefined=true
JNI Option: -Dide.shell.enableFileTypeAssociation=true
JNI Option: -Djava.class.path=..\lib\jdev-loader.jar
JNI Option: -Djdev.class.path=..\..\..\classes;..\..\ide\lib\javax-ide.jar;..\..\ide\lib\javatools.jar;..\..\ide\lib\ide
.jar;..\..\jlib\jewt4.jar;..\..\jlib\share.jar;..\..\jlib\help4.jar;..\..\jlib\inspect4.jar;..\..\lib\xmlparserv2.jar;..
\..\jdbc\lib\orai18n.jar;..\lib\jdev-ep.jar;..\..\jdk\lib\tools.jar;..\..\jdk\lib\dt.jar
JNI Option: -Djava.system.class.loader=oracle.ideimpl.IdeClassLoader
JVM path is ..\..\jdk\jre\bin\client\jvm.dll
*** Unable to find class oracle.tip.tools.ide.pm.addin.BPELOptions.
*** This object will be loaded as null.
java.lang.OutOfMemoryError: Java heap space
Exception in thread "Timer-0" java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
Exception in thread "Timer-2" Exception in thread "JavaProjectIndex1" java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
Exception in thread "Keyword Index Builder1" java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
oracle.javatools.util.ClosureException: java.lang.reflect.InvocationTargetException
at oracle.javatools.util.SwingClosure.run(SwingClosure.java:78)
at oracle.ideimpl.MainWindowImpl.postInitialize(MainWindowImpl.java:718)
at oracle.ide.IdeCore.startupImpl(IdeCore.java:1230)
at oracle.ide.Ide.startup(Ide.java:674)
at oracle.ideimpl.Main.start(Main.java:49)
at oracle.ideimpl.Main.main(Main.java:25)
Caused by: java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:853)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1257)
at oracle.javatools.util.SwingClosure.run(SwingClosure.java:73)
... 5 more
Caused by: java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
我不知道如何解决这个问题。 如何解决这个问题?
编辑:这是我的记忆状态:
C:\jdevstudio10134\jdev\bin
λ systeminfo | grep Memor
Memoria f▒sica disponible: 1.951 MB
Memoria virtual: tama▒o m▒ximo: 16.147 MB
Memoria virtual: disponible: 9.385 MB
Memoria virtual: en uso: 6.762 MB
C:\jdevstudio10134\jdev\bin
λ wmic OS get FreePhysicalMemory,FreeVirtualMemory,FreeSpaceInPagingFiles,TotalVisibleMemorySize /VALUE
FreePhysicalMemory=2066872
FreeSpaceInPagingFiles=8156216
FreeVirtualMemory=9704172
TotalVisibleMemorySize=8268212
C:\jdevstudio10134\jdev\bin
检查此java版本的选项:
C:\jdevstudio10134\jdev\bin
λ "\jdevstudio10134\jdk 14-11-2014\bin\java" -X
-Xmixed mixed mode execution (default)
-Xint interpreted mode execution only
-Xbootclasspath:<directories and zip/jar files separated by ;>
set search path for bootstrap classes and resources
-Xbootclasspath/a:<directories and zip/jar files separated by ;>
append to end of bootstrap class path
-Xbootclasspath/p:<directories and zip/jar files separated by ;>
prepend in front of bootstrap class path
-Xnoclassgc disable class garbage collection
-Xincgc enable incremental garbage collection
-Xloggc:<file> log GC status to a file with time stamps
-Xbatch disable background compilation
-Xms<size> set initial Java heap size
-Xmx<size> set maximum Java heap size
-Xss<size> set java thread stack size
-Xprof output cpu profiling data
-Xfuture enable strictest checks, anticipating future default
-Xrs reduce use of OS signals by Java/VM (see documentation)
-Xcheck:jni perform additional checks for JNI functions
-Xshare:off do not attempt to use shared class data
-Xshare:auto use shared class data if possible (default)
-Xshare:on require using shared class data, otherwise fail.
The -X options are non-standard and subject to change without notice.
C:\jdevstudio10134\jdev\bin
λ
答案 0 :(得分:0)
使用以下导航路径访问桌面环境变量设置:
Control Panel->System->Advanced System Settings->Environmental Variables
将“路径”设置更新为包含以下目录:
'\ jdevbin \ jdk \ bin'
删除变量JDEV_JAVA_HOME(如果存在)。
重新测试jDeveloper安装并确认错误已解决。