Running JDeveloper 11g and Oracle database on Mac OS X

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 cant 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.  Enjoy!

http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10204macsoft_x86-64.html

About Mark Nelson

Mark Nelson is a Developer Evangelist at Oracle, focusing on microservices and AI. Mark has served as a Section Leader in Stanford's Code in Place program that has introduced tens of thousands of people to the joy of programming, he is a published author, a reviewer and contributor, a content creator and a lifelong learner. He enjoys traveling, meeting people and learning about foods and cultures of the world. Mark has worked at Oracle since 2006 and before that at IBM since 1994.
This entry was posted in Uncategorized and tagged , , . Bookmark the permalink.

1 Response to Running JDeveloper 11g and Oracle database on Mac OS X

  1. Pingback: What you need to use ADF « RedStack

Leave a comment