mrj.version

Scott Kovatch scott.kovatch at oracle.com
Tue Feb 28 09:14:22 PST 2012


Hello,

While doing some applet-related testing we are finding that some applets are still looking for the property mrj.version, and failing to load due to a security exception.

I know that in the past just having it defined was considered enough to know you were running on a Mac, but this is 2012 so I would think looking at 'os.name' and 'java.version' is enough.

I really want to avoid defining it for backwards compatibility because I don't want to attempt to reproduce Apple's versioning conventions. My proposal is that we add mrj.version to the list of 'safe' properties, but don't define it.

Anyone have an opinion on this? Are you using mrj.version in an applet or JNLP-based application? If so, why?

-- Scott


More information about the macosx-port-dev mailing list