This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Cannot bundle JRE with Mac installer | ||
---|---|---|---|
Product: | installer | Reporter: | SirIntellegence |
Component: | NBI | Assignee: | Libor Fischmeistr <lfischmeistr> |
Status: | NEW --- | ||
Severity: | normal | CC: | aeps, jrechtacek |
Priority: | P2 | ||
Version: | 8.0.2 | ||
Hardware: | Macintosh | ||
OS: | Mac OS X | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
SirIntellegence
2013-06-27 18:37:42 UTC
Hello, thanks for the report. Because of this script is not officially supported we will track this issue as enhancement and we are also planning to deal with bundling JRE into installer in the future. Any workarounds for this? The shell script that runs the installer works for Linux so I suppose most of that code can be used on mac too now? At the moment the NBI installer is completely broken on OSX 10.8+, it will use Apples java to launch and then you cannot use the UI for some reason, it doesn't react to mouse or keyboard input. It also doesn't find installed Oracle JDKs so if Apples Java isn't installed it will fail completely to launch. At least allowing to use a bundled JRE/JDK would help a lot. Hello Normen, I would be very interested to have a work around for this issue. It makes Netbeans installer useless for deployment on a OS X. What did you do to bundle the JRE with the NBI? Thanks! (In reply to netdance from comment #3) > Hello Normen, > > I would be very interested to have a work around for this issue. It makes > Netbeans installer useless for deployment on a OS X. What did you do to > bundle the JRE with the NBI? > > Thanks! I added a bundle to the installer that contains the JDK and installs itself to the jdk folder in the installation. However, as I mention above, the installer won't run properly when started with Apples java, you need to go into the bundle and run the jar file if you want to use the installer. I ended up providing a zip file with the application for OSX users. See bug 250103 which is an RFE on this topic but also tells you how you can fix it on your own until it is fixed officially. |