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
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:
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.