oracle sql developer 无法启动的解决办法

jim@jim-laptop:/opt/development/database/oracle/sqldeveloper$ ./sqldeveloper.sh 

 Oracle SQL Developer
 Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.



 LOAD TIME : 621#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fdec1344320, pid=905, tid=140595898029824
#
# JRE version: Java(TM) SE Runtime Environment (7.0_51-b13) (build 1.7.0_51-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.51-b03 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  0x00007fdec1344320
#
#
 Failed to write core dump. Core dumps have been disabled. To enable 
core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /opt/development/database/oracle/sqldeveloper/sqldeveloper/bin/hs_err_pid905.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
#
/opt/development/database/oracle/sqldeveloper/sqldeveloper/bin/../../ide/bin/launcher.sh:
 行 1193:   905 已放弃               (核心已转储) ${JAVA} "${APP_VM_OPTS[@]}" 
${APP_ENV_VARS} -classpath ${APP_CLASSPATH} ${APP_MAIN_CLASS} 
"${APP_APP_OPTS[@]}"

解决办法很容易,只要在 /etc/rc.local中加入

unset -v GNOME_DESKTOP_SESSION_ID

然后重启一下就好了

你可能感兴趣的:(数据库)