Shay Shmeltzer's Oracle Development Tools Tips

Installing JDeveloper on Mac OS X Lion (10.7)

Shay Shmeltzer
Director of Product Management - Oracle

One of the more popular blog entries on my blog is the one that give the instructions for install JDeveloper on Mac.

This is quite surprising considering the low percentage of mac users that show on our JDev users statistics gathering system. 

It was based on instruction that were written by Marc Chanliau from our FMW security team - he just sent over a new set of instructions for those of you who are upgrading to Lion OS X 10.7. So here are Marc's instructions:

[Note - for those who don't feel like reading instructions there is now also a video showing installation steps for JDeveloper on Mac]

As you may know, Apple does not to ship JDK6
with OS X Lion. So you
first need to get JDK6 installed on Lion, which is really easy. One way
to install JDK6 on Lion is to simply enter java -version at a terminal
prompt. If the JDK is not installed, you'll be prompted by Lion to
download and install it (just follow the installation screens provided
by Apple).

Now that you have JDK6 installed on Lion, you need to download and install JDeveloper.

(1) Download JDeveloper from here to your desktop.  (Choose the *generic* Studio Edition from the pull-down menu.)     

Double-click on the package you just downloaded, which should be
jdevstudio1112Oinstall.jar. Be patient because it may take a few moments
for the first screen of the JDev Installer to come up.

Follow the Installer's step. The tricky part is when you get prompted for providing the path
to you local JDK. When you get there, just follow step (4) below.

To make it easy for the JDev Installer to find the all Java libs it's
looking for, you need to run the following bash script. Just copy the
script below in a text editor and save the file as jdev_on_lion.sh (or
any other name.sh you choose).  Here is the bash script:


mkdir /system/library/java/javavirtualmachines/1.6.0.jdk/contents/home/jdk6

mkdir /system/library/java/javavirtualmachines/1.6.0.jdk/contents/home/jdk6/bin




-s /System/Library/Java/Support/Deploy.bundle/Contents/Home/bin/javaws



mkdir /system/library/java/javavirtualmachines/1.6.0.jdk/contents/home/jdk6/lib


mkdir /system/library/java/javavirtualmachines/1.6.0.jdk/contents/home/jdk6/jre

mkdir /system/library/java/javavirtualmachines/1.6.0.jdk/contents/home/jdk6/jre/bin


mkdir /system/library/java/javavirtualmachines/1.6.0.jdk/contents/home/jdk6/jre/lib


Now that you've saved the script as described in step (4), you need to
run it. Before running it, however, you need to change the file access
permissions by entering the following command at a terminal prompt:
chmod +x jdev_on_lion.sh

(6) You're ready to
run the script. Enter the following command at a terminal prompt:
./jdev_on_lion.sh (if the bash shell complains that some permissions are
(still) denied, just enter the command preceding it with "sudo" (you'll
be required to enter your Mac password), that will always work!)

(7) Now you should see the JDK's path automatically entered in the JDev install screen. 

(8) You just need to follow the remaining JDev Installer steps to complete installation.

Thanks Marc.

Join the discussion

Comments ( 55 )
  • guest Monday, August 29, 2011

    Or you could just read the JDeveloper release notes, which you should be doing anyway -- they're far shorter and work just fine for Lion (apart from not telling you how to download Java first):


  • guest Saturday, September 3, 2011

    I have this solution to install jdeveloper but when i try executing the .sh file it gives me that no such directory error message so what can i do now

  • guest Sunday, September 4, 2011

    To the poster above who points to Oracle's link to install JDev on Lion: First off, the link provided was updated way *before* Lion was out, second, the JDK referred to in that link is installed in /SystemLibrary/Frameworks/JavaVM.framework/Versions/1.6.0, which is not true in Lion (that link has been clearly deprecated by Apple). In Lion, the JDK is installed *by the user* (not Apple) in /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/home (big difference!). So, I really doubt the poster managed to install JDev on Lion based on the information he gives...

  • rc Saturday, September 10, 2011

    I also needed to set the JAVA_HOME variable in the .profile

  • guest Sunday, September 11, 2011

    As to the person that was having issues with the no such directory messages, the poster above was hinting at directory differences but what I found to be the key difference was to examine the case differences in the paths. Mac os X is case sensitive and the directions in the posting are all lower case whereas if you actually look through the paths you will find that the majority of the paths are mixed cased...

  • guest Tuesday, October 4, 2011

    (3) Follow the Installer's step. The tricky part is when you get prompted for providing the path to you local JDK. When you get there, just follow step (4) below.

    You are right about the tricky part. The installer still does not pick up the path to the local JDK. Am I missing something. Is there an env variable to be set? What is the path? Maybe I can type it in.

    Thanks for your help.

  • guest Friday, October 28, 2011

    Hi Shay,

    sudo ./jdev_on_lion.sh

    worked like a charm for me.

    I then navigated to /system/library/java/javavirtualmachines/1.6.0.jdk/contents/home/jdk6 in the JDeveloper Installer via browse and it recognised the Apple JDK 6.

    Thanks again for the (much needed) guidance.

    I'm starting developing in Oracle SOA Suite and ADF and BPEL at work on Windows

    so it's nice to be able to pay around on the Mac at home.


    Derek Bolli, North Sydney, Australia

  • Filip Huysmans Tuesday, November 29, 2011

    Hi Shay,

    thanks for the post.

    Really helpful.

    Filip Huysmans, Contribute, Belgium

  • guest Saturday, December 3, 2011

    Where do I save my text document jdev_on_lion.sh and after I enter

    sudo ./jdev_on_lion.sh it sometimes asks for a password and then it doesn't let me type anything? If someone could help, it would be greatly appreciated because I am very confused.

  • Chris Muir Tuesday, December 6, 2011

    A further tip for a Lion install of

    Under the <jdev_home>/jdeveloper the "jdeveloper.app" can be copied into your OSX Dock to allow you to launch JDev without having to locate it via the Finder.


  • MattC Wednesday, January 11, 2012

    Is JDeveloper supported on Lion?

  • Shay Friday, January 13, 2012


  • MattC Friday, January 13, 2012


  • kobby Friday, January 13, 2012

    worked like a charm! thanks, super easy.

  • MattC Monday, January 30, 2012

    For those with a JDeveloper install on Snow Leopard who are upgrading to Lion, installing JDK6 was the only step required to get JDeveloper ( working for me.

  • guest Sunday, February 5, 2012

    Dear Shay

    I have problem to Run my program in jdeveloper.


    [11:16:19 PM] Successful compilation: 0 errors, 0 warnings.

    [Application PlaceholderDCApp is bound to Server Instance IntegratedWebLogicServer]

    [Starting Server Instance IntegratedWebLogicServer]

    #### Server Instance IntegratedWebLogicServer could not be started: Error starting Server Instance.

    Can you help me,pleas?

  • Shay Monday, February 6, 2012

    guest - sounds like something got messed up with your integrated WebLogic Server - try and just remove the defaultdomain directory from your user's system directory - then restart JDeveloper and the Weblogic instance will be re-created.

  • guest Tuesday, February 7, 2012


  • MattC Sunday, March 4, 2012

    Shay, I am attempting to install a patch to JDev as instructed via MOS using OPatch. I have installed OPatch, but when I do the following, I receive an error:

    $ opatch -help

    /Users/username/Oracle/jdk/bin/java is not a valid executable for this platform. OPatch cannot proceed!

    Here are the contents of my Oracle and Middleware folders: http://pastebin.com/U58J8C9D

    I attempted the following in an effort to point to a java executable:

    $ opatch -help -jdk /system/Library/java/JavaVirtualMachines/1.6.0.jdk/contents/home/bin

    /system/Library/java/JavaVirtualMachines/1.6.0.jdk/contents/home/bin/bin/java is not a valid executable for this platform. OPatch cannot proceed!

    OPatch returns with error code = 1

    How can I correctly point to java using the opatch command line?

  • Shay Tuesday, March 6, 2012

    MattC - I'm not sure but it looks like you have a mistype .../bin/bin...

  • Shay Thursday, March 8, 2012

    Just another comment here that I got reports that changing the JDeveloper look and feel( Tools->Preferences->Environment) to "Mac OS X" resolved some Swing display issues for customers - so if you are using JDeveloper on Mac you might want to try it out.

  • guest Tuesday, March 13, 2012

    Hi Shay

    Im having a problem changing the permission for my .sh file.

    when i enter chmod +x filename.sh into the terminal it responds with: no such file or directory.

    The .sh file is currently located on my desktop, and I'm running OS X 10.7.2

    Any suggestions to what might be wrong?

  • guest Tuesday, March 13, 2012

    Hi guys

    Im having a problem running the shell script.

    I just get this error: /bin/bash : bad interpreter: No such file or directory

    Any suggestions?

    Thanks in advance.

  • ashley Thursday, March 15, 2012

    Hi Shay,

    I followed the steps but when I run the shell script, I get "operation not permitted" and when I add the "sudo" at the beginning I get "sudo: unable to execute ./jdev_on_lion.sh: Operation not permitted". Could you help me to make it work please ?

  • Peter Smith Saturday, March 17, 2012

    Hi Ashley,

    There is a bug in OSX 10.7.3 that prevents the script from running if you used TextEdit to save or edit it. It produces the error you describe when you try to run it. See http://reviews.cnet.com/8301-13727_7-57374676-263/workarounds-for-quarantine-bug-in-os-x-lion/

    To fix it run the command : xattr -d com.apple.quarantine ./jdev_on_lion.sh

    Then try to execute again.



  • John Aylward Thursday, March 29, 2012

    Hi All,

    I got JDev working OKish on Lion - there were some glitches. Now I have installed JDev on OSX 10.7.3. The installation worked OK using the instructions above, but the Integrated WebLogic Server will not install. When trying to start the Integrated WebLogic Server I get the following message:

    [Waiting for the domain to finish building...]

    [12:24:27 PM] Creating Integrated Weblogic domain...

    [12:24:52 PM] Error processing Integrated Weblogic domain:The Server Instance cannot be started because the Integrated Weblogic domain was not built successfully.

    I got in touch with Oracle Support and they have just pointed out to me that JDeveloper is not supported on OSX 10.7 (Lion).

    Has anyone managed to get it (JDev to work nevertheless and what did you do?



  • abdimuna Tuesday, April 10, 2012

    Hi have the same problem, on OSX 10.7.3,

    using oracle

    The Server Instance cannot be started because the Integrated Weblogic domain was not built successfully.

    any ideas will be appreciated .

  • John Aylward Wednesday, April 11, 2012

    Update on my issue above. JDeveloper IS supported on OSX 10.7.3. The issue is NOT resolved however. I will update when further progress is made.

  • abdimuna1 Wednesday, April 11, 2012

    Hi, for those having the Weblogic domain problem in MAC OS X 10.7.3.

    Here is the solution:

    1. Quit the Jdeveloper (for me )

    2. Save all your works to other locations.(backup)

    3. delete the .developer directory in you home directory by

    rm -rfv ~/.jdeveloper

    4. Start the Jdeveloper with new configuration, and it will ask you for WebLogic Domain Recreation.

    5. Have funny

    Tweeter: @abdimuna1

  • guest Tuesday, April 17, 2012

    Ok, this is a very ugly hack but does workaround the integrated weblogic domain creation trouble.

    1 - The problem seems to be that the variable ADRS_DOMAIN_PASSWORD does not get set, this in turn makes the CreateDefaultDomain.py fail.

    1.1 - We try to tweak CreateDefaultDomain.py to circumvent the problem but it gets rewritten every time that the creation process gets invoked, so direct edition is not an option.

    2 - Then, you have to copy CreateDefaultDomain.py to some location out of your .jdeveloper dir and edit it.

    Locate the file /Users/xxx/.jdeveloper/systemXXX/o.j2ee.adrs/CreateDefaultDomain.py and copy it wherever you want.

    2.1 - The edition shall set the desired variable instead of fail.


    if not 'ADRS_DOMAIN_PASSWORD' in os.environ:

    print("Error: ADRS_DOMAIN_PASSWORD environment variable not set.")



    if not 'ADRS_DOMAIN_PASSWORD' in os.environ:


    3 - Now the caller script needs to be diverted to our patched file. Locate the file /Users/xxx/Oracle/Middleware/oracle_common/common/bin/wlst.sh that matchs whatever install configuration you made.

    3.1 - At the very bottom of the file make the next edit.


    # Delegate to the main script...

    "${WL_HOME}/common/bin/wlst.sh" "$@"


    if [ "$1" == "/Users/xxx/.jdeveloper/systemXXX/o.j2ee.adrs/CreateDefaultDomain.py" ]


    "${WL_HOME}/common/bin/wlst.sh" "WHAT EVER PATH TO YOUR PATCHED SCRIPT"


    # Delegate to the main script...

    "${WL_HOME}/common/bin/wlst.sh" "$@"


    Remember shell scripting is picky about white spacing. We make this work for a jdev Hope it works for all you other people in jdeveloper cronic pain.

  • redrage Tuesday, April 17, 2012

    Oh, forgot to tell that edition to the wlst.sh script may end up yielding the strange error bad interpreter: Operation not permitted. First time we edited the script with TextEdit and seam to mixed line termination characters or something. Second time edited with vim with not problem at all.

  • calmlow Wednesday, April 18, 2012

    Should be some ppl out there with these directory names, correct case and with sudo. This one worked for me :) Great guide btw

    sudo mkdir /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/jdk6

    sudo mkdir /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/jdk6/bin

    sudo ln -s /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/bin/java /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/jdk6/bin/java

    sudo ln -s /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/bin/javac /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/jdk6/bin/javac

    sudo ln -s /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/bin/javap /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/jdk6/bin/javap

    sudo ln -s /System/Library/Java/Support/Deploy.bundle/Contents/Home/bin/javaws /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/jdk6/bin/javaws

    sudo ln -s /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/bin/jar /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/jdk6/bin/jar

    sudo ln -s /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/bin/xjc /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/jdk6/bin/xjc

    sudo mkdir /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/jdk6/lib

    sudo ln -s /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Classes/classes.jar /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/jdk6/lib/tools.jar

    sudo mkdir /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/jdk6/jre

    sudo mkdir /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/jdk6/jre/bin

    sudo ln -s /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/bin/java /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/jdk6/jre/bin/java

    sudo mkdir /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/jdk6/jre/lib

    sudo ln -s /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Classes/classes.jar /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/jdk6/jre/lib/rt.jar

  • JRB Thursday, April 26, 2012


    I have a problem when starting WebLogic Integrated. The error is as follows:

    Error: ADRS_DOMAIN_PASSWORD environment variable not set.

    Could you tell me the solution?

    The above comments are not executed.

    Is there any solution?

    Thank you.

  • Andrew Wolfe Sunday, April 29, 2012

    Problem running/deploying a JSF page...

    WebLogic starts but the page seems not to deploy. Log shows <BEA-000360> <Server started in RUNNING mode>

    only this, and nothing more....

    I can connect to WLS using IP address and port, log in to console.

    Tried using path /faces/MyPage.jsf but no joy.

    WLS integrated server does not shut down cleanly.

    OSX 10.7.3 fully patched with Java Flashback fix also.



    Oracle JDeveloper 11g Release 2

    Studio Edition Version

    Build JDEVADF_11.

    Copyright © 1997, 2011 Oracle and/or its affiliates. All rights reserved.

    IDE Version:

    Product ID: oracle.jdeveloper

    Product Version:







    Oracle IDE

    Java(TM) Platform


  • Rhys Thursday, July 19, 2012

    I had to make a few changes to correct the case within the script, here is the script with my updates.

    As a few commenters have said, don't save this in TextEdit.


    mkdir /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/jdk6

    mkdir /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/jdk6/bin

    ln -s /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/jdk6/bin/java

    ln -s /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/javac /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/jdk6/bin/javac

    ln -s /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/javap /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/jdk6/bin/javap

    ln -s /System/Library/Java/Support/Deploy.bundle/Contents/Home/bin/javaws /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/jdk6/bin/javaws

    ln -s /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/jar /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/jdk6/bin/jar

    ln -s /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/xjc /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/jdk6/bin/xjc

    mkdir /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/jdk6/lib

    ln -s /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/contents/classes/classes.jar /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/jdk6/lib/tools.jar

    mkdir /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/jdk6/jre

    mkdir /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/jdk6/jre/bin

    ln -s /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/jdk6/jre/bin/java

    mkdir /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/jdk6/jre/lib

    ln -s /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/contents/classes/classes.jar /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/jdk6/jre/lib/rt.jar

  • Tony Tuesday, August 21, 2012

    So has anyone managed to get JDeveloper on Mountain Lion to show the java classes as source? It works on linux and windows, I can select say JLabel setFont and go to declaration and get the source for setFont displayed. Currently on Mountain Lion I am only getting what appears to be a disassembled class file with only a class specification.

  • Julian Lasso Wednesday, August 22, 2012

    From Colombia, thank you very much for sharing the information, it was very useful

  • Mahmoud Ahmed Thursday, November 1, 2012

    These Steps Worked as a charm for me , Thanks Shay...

    1- Create a file named dev_on_lion.sh

    with the following content:

    sudo mkdir /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/jdk6

    sudo mkdir /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/jdk6/bin

    sudo ln -s /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/bin/java /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/jdk6/bin/java

    sudo ln -s /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/bin/javac /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/jdk6/bin/javac

    sudo ln -s /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/bin/javap /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/jdk6/bin/javap

    sudo ln -s /System/Library/Java/Support/Deploy.bundle/Contents/Home/bin/javaws /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/jdk6/bin/javaws

    sudo ln -s /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/bin/jar /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/jdk6/bin/jar

    sudo ln -s /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/bin/xjc /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/jdk6/bin/xjc

    sudo mkdir /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/jdk6/lib

    sudo ln -s /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Classes/classes.jar /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/jdk6/lib/tools.jar

    sudo mkdir /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/jdk6/jre

    sudo mkdir /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/jdk6/jre/bin

    sudo ln -s /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/bin/java /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/jdk6/jre/bin/java

    sudo mkdir /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/jdk6/jre/lib

    sudo ln -s /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Classes/classes.jar /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/jdk6/jre/lib/rt.jar

    2- Copy the created file under the path: /Users/<YOUR_USER_NAME>/jdev_on_lion.sh

    3- Open a terminal window and issue this command twice:

    chmod +x /Users/<YOUR_USER_NAME>/jdev_on_lion.sh

    4- issue the following command twice:


    5- This command will create the directories of JDK 6 needed to be bundled to the Jdeveloper instalation.

    So "Manualy" , Go to the JDeveleoper installation wizard and browse for the following path and press ok.


  • guest Saturday, November 17, 2012

    I'm always trying to understand what happens *before* executing a command or script. But a simple mind like I cannot understand a complicated script like yours. So I cleaned it up a little. It still does exactly the same steps as before, it's only easier to understand us dummies:

    ------------------ snip -----------------------

    cd /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/

    sudo mkdir -p jdk6/bin jdk6/lib jdk6/jre/bin jdk6/jre/lib

    for i in java javac javap jar xjc; do

    sudo ln -s `pwd`/bin/$i jdk6/bin/


    sudo ln -s /System/Library/Java/Support/Deploy.bundle/Contents/Home/bin/javaws jdk6/bin/

    sudo ln -s `pwd`/bin/java jdk6/jre/bin/

    sudo ln -s `pwd`/../Classes/classes.jar jdk6/lib/tools.jar

    sudo ln -s `pwd`/../Classes/classes.jar jdk6/jre/lib/rt.jar

    ------------------ snip -----------------------

    Execute as script file or separate commands, run installer, done!

    (for sources and docs on Mac either download the Java-Developer-Package (found in the Developer Area on apple.com) or directly from Oracle and install yourself).

  • guest Saturday, January 12, 2013

    In case you want to install JDev use 1.6 version for JVM for initial command (java -jar ...). Using 1.7 the installation process crashed even the selected jdk was 1.6

  • Anirban Bagchi Friday, February 1, 2013

    Run the following command:

    java -jar <installer-jar-file>

    This would automatically populate the JDK in the install screen

  • arpit Tuesday, April 9, 2013

    i am not able to install!!!i have jdk7, osx10.8.3 and please can anyone help me with the script i have to run to get jdk7 in the installation screen.

    thank you.

  • guest Tuesday, May 14, 2013

    Thanks to Shay and to the comments that followed. Like several others encountered, I had trouble creating the directories in Step 4. I had to use 'sudo' like a few others had commented. I have verified the directories and links were created.

    When I get to the JDK Selection window, the JDK still cannot be found. I clicked the BROWSE button and navigated to /System/Library/Java/Javavirtualmachines/1.6.0.jdk/Contents/Home/jdk6. Now I get an error: "Invalid Java Home /System/Library/Java/Javavirtualmachines/1.6.0.jdk".

    Any help would be appreciated.

  • guest Friday, May 17, 2013


    I installed JDeveloper and JDK1.7. But while executing the above script (step 4), its giving error. I tried to execute the script with sudo command as well (sudo: unable to execute ./jdev_on_lion.sh: No such file or directory) but got the above error. I am executing the script from local folder where file is saved. Kindly help me.

    Additional information

    Mac OS version: 10.7.5

    Editor used for saving script: TextEdit

    JDK version:1.7

    Kindly let me know in case you need any additional information.

  • AZWildk4t Friday, May 17, 2013

    Dear guys from May 17.

    You can manually run it via the command line.

    Open a Terminal window.

    Enter each line individually from the script.


    sudo mkdir /system/library/java/javavirtualmachines/1.6.0.jdk/contents/home/jdk6

    You will be prompted for your Mac login password. This should only happen once.

    then continue to enter the rest of the commands.

    sudo mkdir /system/library/java/javavirtualmachines/1.6.0.jdk/contents/home/jdk6/bin

    sudo ln -s /system/library/java/javavirtualmachines/1.6.0.jdk/contents/home/bin/java /system/library/java/javavirtualmachines/1.6.0.jdk/contents/home/jdk6/bin/java


  • Frank Rizzo Sunday, July 21, 2013

    Hi Shay,

    Thoughts on how to accomplish this process using JDK 1.7 on OS X 10.8.4 when there is no JDK 1.6 installed? The Oracle JDK 1.7 deploy structure is a bit different it seems. JDev install fails about 50% of the way through.

  • Chris Muir Tuesday, July 30, 2013

    I recommend posters to this blog post have a look at the following blog:



  • Neil Cochrane Monday, October 21, 2013

    Instead, enter this into a terminal:

    /usr/libexec/java_home -v1.6

    It will give you a full path to the jdk. Copy/Paste the output in step 3 and you're done.

    (use -v1.7 for jdk7)

  • Vamsi Wednesday, November 6, 2013

    Thanks, Shay for sharing the tips for installation of JDev in Mac.


  • guest Friday, June 20, 2014

    Hi Shay,

    I m getting the below error when starting weblogic in Mac OS X 10.9.3, please help.

    Unrecognized option: -jrockit

    Error: Could not create the Java Virtual Machine.

    Error: A fatal exception has occurred. Program will exit.

    Process exited.

  • Shay Friday, June 20, 2014

    Guest - see if this helps solves the JRockit issue:


  • ArunA Wednesday, January 28, 2015

    Installed JDev as per your instructions. But I need Oracle DB to be installed, looks like we do not have one for MAC.

  • Shay Wednesday, January 28, 2015

    ArunA - Some people use a virtual box running an Oracle DB.

    I sometime use that, and sometime just use a MySQL database - JDeveloper and ADF can work with non-Oracle databases after all :-)

  • guest Tuesday, February 10, 2015

    Hi i have successfully installed jdeveloper 1213 on my mavericks 10.9. the challenge i am getting is that, after launching it ,it takes 3-4 mins and crash.i have tried to resolve it by downloading different version of jdk but all is not successful.i have




    i do not know what to do !!!.please where i am wrong?Thanks

  • guest Thursday, April 9, 2015

    Hi Shay

    how to install jdev on mac os yosomite? please help me

Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.Captcha

Integrated Cloud Applications & Platform Services