2
我想在mac os上安裝sqldeveloper,但無法啓動。我交叉驗證以確保設置了JAVA_HOME,但仍然出現以下異常。任何人面臨這個問題?我正在使用Java 1.8和SQL開發者版本4.1.3。在Mac OS上的SqlDeveloper安裝El Capitan
sqldeveloper.sh: line 4: cd: sqldeveloper.sh: Not a directory
java.lang.ExceptionInInitializerError
at org.eclipse.osgi.framework.internal.core.Framework.initializeProperties(Framework.java:380)
at org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.java:202)
at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.internalInit(EquinoxLauncher.java:67)
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:1339)
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)
Caused by: java.security.ProviderException: setSeed() failed
at sun.security.provider.NativePRNG$RandomIO.implSetSeed(NativePRNG.java:458)
at sun.security.provider.NativePRNG$RandomIO.access$300(NativePRNG.java:329)
at sun.security.provider.NativePRNG.engineSetSeed(NativePRNG.java:212)
at java.security.SecureRandom.getDefaultPRNG(SecureRandom.java:209)
at java.security.SecureRandom.<init>(SecureRandom.java:190)
at org.eclipse.osgi.framework.internal.core.UniversalUniqueIdentifier.computeNodeAddress(UniversalUniqueIdentifier.java:127)
at org.eclipse.osgi.framework.internal.core.UniversalUniqueIdentifier.<clinit>(UniversalUniqueIdentifier.java:35)
... 18 more
Caused by: java.io.IOException: Operation not permitted
at java.io.FileOutputStream.writeBytes(Native Method)
at java.io.FileOutputStream.write(FileOutputStream.java:313)
at sun.security.provider.NativePRNG$RandomIO.implSetSeed(NativePRNG.java:456)
... 24 more
您是否嘗試安裝應用程序通過從某些shell提示符手動調用sqldeveloper.sh **? – Abecee
請提供關於確切程序的更多詳細信息,請參閱以下內容。你是否符合http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/sqldev-install-mac-1969675.html? – Abecee
是的,我按照oracle的說法做了。我已經成功爲我的IDE運行JDK,因此似乎沒有任何問題。如果我通過應用程序打開Sql Developer,它會立即打開並立即死亡。所以我從shell提示符手動運行它,並能夠找到這個錯誤。 – user5897137