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 an Architect (an "IC6") in the Fusion Middleware Central Development Team at Oracle. Mark's job is to make Fusion Middleware easy to use in the cloud and at home, for developers and operations folks, with special focus on continuous delivery, configuration management and provisioning - making it simple to manage the configuration of complex environments and applications built with Oracle Database, Fusion Middleware and Fusion Applications, on-premise and in the cloud. Before joining this team, Mark was a senior member of the A-Team since 2010, and worked in Sales Consulting at Oracle since 2006 and various roles at IBM since 1994.
This entry was posted in Uncategorized and tagged , , . Bookmark the permalink.

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

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

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s