can't run sqldeveloper on Ubuntu

Posted by nazar_art on Ask Ubuntu See other posts from Ask Ubuntu or by nazar_art
Published on 2014-07-18T06:23:55Z Indexed on 2014/08/23 4:28 UTC
Read the original article Hit count: 302

I tried to install sqldeveloper by following way:

Download SQL Developer from Oracle website (I chose Other Platforms download).

Extract file to /opt:

sudo unzip sqldeveloper-*-no-jre.zip -d /opt/
sudo chmod +x /opt/sqldeveloper/sqldeveloper.sh
Linking over an in-path launcher for Oracle SQL Developer:

sudo ln -s /opt/sqldeveloper/sqldeveloper.sh /usr/local/bin/sqldeveloper
Edit /usr/local/bin/sqldeveloper.sh replace it's content to:

#!/bin/bash
cd /opt/sqldeveloper/sqldeveloper/bin
./sqldeveloper "$@"
Run SQL Developer:

sqldeveloper

But it shows next output:

nazar@lelyak-desktop:/opt/sqldeveloper? ./sqldeveloper.sh 

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

 LOAD TIME : 401#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f3b2dcacbe0, pid=20351, tid=139892273444608
#
# JRE version: Java(TM) SE Runtime Environment (7.0_65-b17) (build 1.7.0_65-b17)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.65-b04 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  0x00007f3b2dcacbe0
#
# Core dump written. Default location: /opt/sqldeveloper/sqldeveloper/bin/core or core.20351
#
# An error report file with more information is saved as:
# /tmp/hs_err_pid20351.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: 20351 Aborted                 (core dumped) ${JAVA} "${APP_VM_OPTS[@]}" ${APP_ENV_VARS} -classpath ${APP_CLASSPATH} ${APP_MAIN_CLASS} "${APP_APP_OPTS[@]}"
134 nazar@lelyak-desktop:/opt/sqldeveloper? java -version
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

Here is content of /tmp/hs_err_pid20351.log

How to solve this trouble?

© Ask Ubuntu or respective owner

Related posts about 14.04

Related posts about software-installation