JDeveloper 12.2.1.1在MacOS Sierra中不起作用

时间:2016-09-26 18:29:30

标签: oracle jdeveloper macos-sierra

似乎JDeveloper不能与macOS Sierra一起使用。我试图重新安装,它没有帮助。它只是没有启动。 是否有一些解决问题的解决方法? 我也尝试了12.2.1.0版本。结果是一样的。

UPD。在product.conf中设置Java home也无济于事。

Oracle JDeveloper 12c Development Build 12.2.1.1.0
 Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.

java.lang.RuntimeException: Exception in org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start() of bundle org.eclipse.osgi.
    at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.resume(InternalSystemBundle.java:233)
    at org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java:664)
    at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.internalInit(EquinoxLauncher.java:69)
    at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.init(EquinoxLauncher.java:37)
    at org.eclipse.osgi.launch.Equinox.init(Equinox.java:178)
    at org.netbeans.modules.netbinox.Netbinox.init(Netbinox.java:84)
    at org.netbeans.core.netigso.Netigso.prepare(Netigso.java:167)
    at org.netbeans.NetigsoHandle.turnOn(NetigsoHandle.java:138)
    at org.netbeans.ModuleManager.enable(ModuleManager.java:1346)
    at org.netbeans.ModuleManager.enable(ModuleManager.java:1163)
    at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:340)
    at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:276)
    at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:301)
    at org.netbeans.core.startup.Main.getModuleSystem(Main.java:181)
    at org.netbeans.core.startup.Main.getModuleSystem(Main.java:150)
    at org.netbeans.core.startup.Main.start(Main.java:307)
    at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)
    at java.lang.Thread.run(Thread.java:745)
Caused by: org.osgi.framework.BundleException: Exception in org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start() of bundle org.eclipse.osgi.
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
    at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.resume(InternalSystemBundle.java:225)
    ... 17 more
Caused by: java.lang.NumberFormatException: For input string: "2.0"
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
    at java.lang.Integer.parseInt(Integer.java:580)
    at java.lang.Integer.parseInt(Integer.java:615)
    at org.eclipse.osgi.internal.resolver.StateBuilder.createBundleDescription(StateBuilder.java:61)
    at org.eclipse.osgi.internal.resolver.StateObjectFactoryImpl.createBundleDescription(StateObjectFactoryImpl.java:33)
    at org.eclipse.osgi.internal.baseadaptor.BaseStorage.readStateData(BaseStorage.java:853)
    at org.eclipse.osgi.internal.baseadaptor.BaseStorage.getStateManager(BaseStorage.java:799)
    at org.eclipse.osgi.baseadaptor.BaseAdaptor.getState(BaseAdaptor.java:387)
    at org.eclipse.osgi.internal.baseadaptor.BaseStorage.frameworkStart(BaseStorage.java:923)
    at org.eclipse.osgi.baseadaptor.BaseAdaptor.frameworkStart(BaseAdaptor.java:250)
    at org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start(SystemBundleActivator.java:60)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
    ... 19 more

3 个答案:

答案 0 :(得分:3)

您安装了哪个Java版本(java -version)? 尝试删除systemxxx目录(通常位于.jdeveloper目录下)并重新启动JDeveloper。

在El Capitan上为我工作很好

答案 1 :(得分:0)

如果您执行了操作系统更新,则Java主目录可能已更改。检查.jdeveloper目录中的product.conf文件,确保JDK的路径正确

答案 2 :(得分:0)

我们只需要删除路径 /。jdeveloper / system12.2.x.x.x.x.x / system_cache 下的 system_cache 文件夹。
请参阅-https://migrmrz.wordpress.com/2016/08/29/jdeveloper-12c-wont-start-in-mac-os-x-el-capitan/