Saturday, May 23, 2015

jdeveloper 12c (12.1.3) is crashing on ubuntu 15.04 with unity

Jdeveloper 12c and especially version 12.1.3 is crashing when used with unity on Ubuntu 15.04. The problem is JAyatana a package for integrate swing applications with unity that is installed by default in 15.04.

A quick solution if you don't have other java swing applications is to remove JAyatana.

$ sudo apt-get remove jayatana

A better solution is to create a script to open jdeveloper and unset JAVA_TOOL_OPTIONS that JAyatana globally sets and open jdeveloper using that script.

#!/bin/bash
export JDEV_USER_HOME=$HOME/workspace
unset JAVA_TOOLS_OPTIONS
$HOME/Oracle/fmw12c/jdeveloper/jdev/bin/jdev > /dev/null 2>1 &


No comments:

Post a Comment