More than you ever wanted to know: http://mail.openjdk.java.net/pipermail/macosx-port-dev/2012-November/005148.html

My summary: do what adriaan said.