Launching a browser from IDEA on OS X Follow
Has anybody been able to launch the native browser from an IDEA plugin on OS X?
In a normal Java application, I would use "com.apple.mrj.MRJFileUtils" to do it. However, in a plugin I get a ClassNotFoundException when trying to use the class. If I package the MRJToolkit.jar with my plugin, everything works just fine. However, I'm not at all sure that the license of the jar allows redistribution.
Any suggestions?
Please sign in to leave a comment.
Hello Markus,
Usually, one would use BrowserUtil class, which handles all the differences
between operating systems.
-
Maxim Shafirov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Thanks, Maxim.
That was exactly what I was looking for. I don't know how I missed it in the first place.