LoginSignup
4
3

More than 5 years have passed since last update.

Oracle SQL Developer 4.0 を Linux にインストールする

Posted at

Oracle SQL Developer 4.0をLinux Mintにインストールする際、若干のエラー回避が必要だったのでメモ。

ダウンロード

Oracle SQL Developer ダウンロード
http://www.oracle.com/technetwork/jp/developer-tools/sql-developer/downloads/index.html

debファイルに変換

RPMしかないので、alienで入れる。

$ sudo apt-get install alien
$ sudo alien --to-deb --scripts sqldeveloper-4.0.0.13.80-1.noarch.rpm
sqldeveloper_4.0.0.13.80-2_all.deb generated

起動のエラー回避

エラーメッセージ

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

 LOAD TIME : 746#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007ff71884e320, pid=24403, tid=140699596678912
#
# 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  0x00007ff71884e320
#
# 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:
# /tmp/hs_err_pid24403.log
#
# 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 1193: 24403 Aborted                 ${JAVA} "${APP_VM_OPTS[@]}" ${APP_ENV_VARS} -classpath ${APP_CLASSPATH} ${APP_MAIN_CLASS} "${APP_APP_OPTS[@]}"

ググった結果

Oracle SQL Developer 4.0 Is Finally Here
http://www.thatjeffsmith.com/archive/2013/07/oracle-sql-developer-4-0-is-finally-here/

回避方法

/opt/sqldeveloper/sqldeveloper.shに、「unset GNOME_DESKTOP_SESSION_ID」を入れる。

/opt/sqldeveloper/sqldeveloper.sh
#!/bin/bash
unset GNOME_DESKTOP_SESSION_ID
cd "`dirname $0`"/sqldeveloper/bin && bash sqldeveloper $*
4
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
3