JDeveloper and Upgrading Your JDK on Ubuntu

Posted by Duncan Mills on Oracle Blogs See other posts from Oracle Blogs or by Duncan Mills
Published on Wed, 19 May 2010 15:24:28 -0800 Indexed on 2010/05/19 23:51 UTC
Read the original article Hit count: 324

Filed under:
One little gotcha, if you, as I did recently, upgrade your JDK on Ubuntu then you may have to make sure you reflect that change in a couple of places for JDeveloper to stay happy.
Assuming that you've installed from the jar version of the JDeveloper installer, then the JDK that you specified at install time will be recorded in the .jdev_jdk file in your home directory.
However, be aware that this is not the only reference to the absolute path of the JDK. When you run the embedded WebLogic for the first time then the
.jdeveloper/system11.1.1.3.37.56.60/DefaultDomain/bin/startWebLogic.sh
script will be created, and associated with that, the setDomainEnv.sh script in the same directory.
So, if you do want to change the JDK location be sure to change this file as well.
(or of course do everything with symbolic links)

© Oracle Blogs or respective owner