Monday, July 15, 2013

JDeveloper 12c is not starting after successful installation

Hey All!

Last week, JDeveloper 12c was released and since I've been working with ADF during this year, I wanted to try it out right away. However, after successful installation, it didn't started... I work on Ubuntu 13.01 and have successfully installed JDeveloper 11gR1 and 11gR2 before and it was pretty smooth so I thought it would be the same with the new release.

Anyway, I started to check the error log and found that something was wrong with the "Open File Limit" property of my Ubuntu. The funny thing is that it is well documented on the Installation guide of JDeveloper 12c... 


I made the suggested change (I had to reboot) and then, tried to run JDeveloper again, this time I got a different error message saying that it couldn't write core dumps or something... It also suggested me to execute this command before running JDeveloper again:

ulimit -c unlimited

And so I did, but no luck. When I tried to run JDeveloper again, I got this error:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x6537f1e0, pid=14655, tid=1756736320
#
# JRE version: 7.0_15-b33
# Java VM: Java HotSpot(TM) Server VM (23.7-b01 mixed mode linux-x86 )
# Problematic frame:
# C  0x6537f1e0
#
# Core dump written. Default location: /home/aalopez/development/Oracle/Middleware_12.1.2/Oracle_Home/jdeveloper/jdev/bin/core or core.14655
#
# An error report file with more information is saved as:
# /home/aalopez/development/Oracle/Middleware_12.1.2/Oracle_Home/jdeveloper/jdev/bin/hs_err_pid14655.log
[thread 1764014912 also had an error]
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
#
/home/aalopez/development/Oracle/Middleware_12.1.2/Oracle_Home/jdeveloper/jdev/bin/../../ide/bin/launcher.sh: line 603: 14655 Aborted                 (core dumped) ${JAVA} "${APP_VM_OPTS[@]}" ${APP_ENV_VARS} -classpath ${APP_CLASSPATH} ${APP_MAIN_CLASS} "${APP_APP_OPTS[@]}"


plop! I had no idea what to do... However, as curious as I am, I tried to run JDeveloper using root user (you never know, right?). So I entered the following command on my console, inside the JDeveloper bin directory:

sudo ./jdev

The JDeveloper bin directory in my case is at:

/home/aalopez/development/Oracle/Middleware_12.1.2/Oracle_Home/jdeveloper/jdev/bin/

Once run with root user, JDeveloper started working!! yeii!! The only pitfall is that every new project/file that you create with JDeveloper, will be owned by root user...


What I like about this new release:

  • Adoption of Java EE 6.
  • Adoption of JDK 7.
  • The new ADF Faces components.
  • The new logo.
  • New version of ADF Essentials.

I highly recommend you to try this new release.

see ya!