Best Practices from Oracle Development's A‑Team

Running JDeveloper 11g and Oracle database on Mac OS X

Mark Nelson


You can run JDeveloper on Mac OS X!

Main Article

A quick note to my fellow Mac OS X users who want to use JDeveloper 11g to do development and testing on Mac OS X.

I found the newly released JDeveloper 11g (the one that came with the Fusion Middleware 11g release and added SOA and WebCenter development on top of Java EE, web services, ADF, etc.) had a strange issue when building.  It would place its temporary files in /var/folders/ye and use some strange characters in the temporary file names, like + for example.

The end result of all this is that you can't really build anything – somewhat limiting.

Anyway, it turns out it is a known issue, and only occurs with a certain version of Apple’s Java software, and that it is easy to fix!

You need only to add the following line to the end of your ?/Oracle/Middleware/jdeveloper/jdev/bin/jdev-Darwin.conf file:

AddVMOption    -Djava.io.tmpdir=/var/tmp

After this, everything works as expected.  If you have a Mac and you have not tried JDeveloper on it, I would encourage you to give it a go!  The first time you see WebLogic Server fire up on the Mac, and log in to its admin console – its kinda special.


Also, if you didn’t catch the very discreet announcement – the Oracle database is also available for Mac OS X now – on Intel 64-bit machines: http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10204macsoft_x86-64.html


Be the first to comment

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