fedora 20 运行sqldeveloper失败,尝试了修改jvm 更换jdk版本 各种清理缓存,仍然失败,最后发现了这个方法:
$unset GNOME_DESKTOP_SESSION_ID
$unset DBUS_SESSION_BUS_ADDRESS
也就是说直接在命令行下执行这两句话 ,实验证明 只执行第一句就i可以了。
以下摘自http://www.thatjeffsmith.com/archive/2013/07/oracle-sql-developer-4-0-is-finally-here/
sqldeveloper fedora 20 [error occurred during error reporting (printing problematic frame), id 0xb]
Hello there, I am having issues running SQL Dev 4 on Fedora 19…I installed open jdk7 but when I launch the program, the loading screen shows up but program crashes somehow and doesnt boot. When I run it from terminal as su, I get the following:
Oracle SQL Developer
Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
Sep 09, 2013 9:53:46 AM javax.ide.extension.spi.DefaultElementContext resolveResource
SEVERE: jar:/file:/opt/sqldeveloper/sqldeveloper/extensions/oracle.sqldeveloper.migration.application.jar!/META-INF/extension.xml:16: Resource not found: ‘${SCRATCH_COMMAND_ICON}’.
LOAD TIME : 164#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000003b09c62e00, pid=2070, tid=140424423397120
#
# JRE version: 7.0_25-b15
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.25-b01 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C 0x0000003b09c62e00
[error occurred during error reporting (printing problematic frame), id 0xb]
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try “ulimit -c unlimited” before starting Java again
#
[thread 140424509183744 also had an error]
# An error report file with more information is saved as:
# [thread 140424509183744 also had an error]
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
#
/opt/sqldeveloper/sqldeveloper/bin/../../ide/bin/launcher.sh: line 611: 2070 Aborted (core dumped) ${JAVA} “${APP_VM_OPTS[@]}” ${APP_ENV_VARS} -classpath ${APP_CLASSPATH} ${APP_MAIN_CLASS} “${APP_APP_OPTS[@]}”
Thereafter my fedora shows a message saying “A problem in the jdk-1.7.0_25-fcs package has been detected”
Any ideas how I can fix this