我下载了SQL Developer 4.1.3.20。 在此之前,我安装了JDK 8。 我正在使用带El Capitan的MacBook。
现在,当我通过单击符号启动它时,它会显示一个加载了大约10%的栏,但从未继续加载。 感谢stackoverflow,我发现我可以通过调用/Applications/SQLDeveloper.app/Contents/MacOS/sqldeveloper.sh从终端启动SQL开发人员,该工作正常。
我在/.sqldeveloper/4.1.0下找到了一个product.conf,并将路径更改为JAVA_HOME。因为这对我没有意义,我还创建了一个文件夹名称4.1.3和4.1.3.20,在那里复制了相同的文件。没有什么区别。
我还检查了脚本本身,并使用选项“-v 1.8”的Java home的当前路径。
我无法理解为什么它在终端中有效,但在我点击符号时却看不到。
修改
现在终端也不再有用了。我得到了例外:
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Thread.java:1329)
at oracle.ideimpl.MainWindowImpl.<init>(MainWindowImpl.java:166)
at oracle.ide.osgi.Activator.setupWindow(Activator.java:281)
at oracle.ide.osgi.Activator.start(Activator.java:135)
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)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.internalStart(EquinoxLauncher.java:271)
at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.start(EquinoxLauncher.java:241)
at org.eclipse.osgi.launch.Equinox.start(Equinox.java:258)
at org.netbeans.core.netigso.Netigso.start(Netigso.java:191)
at org.netbeans.NetigsoHandle.startFramework(NetigsoHandle.java:209)
at org.netbeans.ModuleManager.enable(ModuleManager.java:1352)
at org.netbeans.ModuleManager.enable(ModuleManager.java:1156)
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)
答案 0 :(得分:1)
我安装了旧版本(4.1.0),令人惊讶的是,它有效。