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.

Bug 247353 - Installers not working on OS X 10.9.5+ and 10.10
Summary: Installers not working on OS X 10.9.5+ and 10.10
Status: RESOLVED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: Mac Native (show other bugs)
Version: 8.1
Hardware: PC Mac OS X
: P1 normal with 1 vote (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
: 228414 247513 247609 247754 248033 248057 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-09-22 09:14 UTC by Antonin Nebuzelsky
Modified: 2014-12-15 07:09 UTC (History)
9 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of the error message (35.32 KB, image/png)
2014-09-22 09:14 UTC, Antonin Nebuzelsky
Details
NB won't install at all now (285.22 KB, image/png)
2014-09-26 16:15 UTC, athompson
Details
netbeans won't install (96.28 KB, image/png)
2014-11-07 16:14 UTC, mimisa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antonin Nebuzelsky 2014-09-22 09:14:26 UTC
Created attachment 149408 [details]
Screenshot of the error message

OSX 10.9.5 requires installer signatures to be in "v2" format. NetBeans installers are signed with "v1" format and OSX 10.9.5 refuses to run the installers with an error message.
Comment 1 Antonin Nebuzelsky 2014-09-22 15:10:23 UTC
A workaround: go to System Preferences / Security & Privacy / tab General and switch "Allow apps downloaded from:" to "Anywhere".
Comment 2 Libor Fischmeistr 2014-09-22 17:14:16 UTC
Signing changed to v2 - http://hg.netbeans.org/core-main/rev/cfb3fe4a2272
Comment 3 Antonin Nebuzelsky 2014-09-23 15:10:06 UTC
More details about how the Gatekeeper works and the workarounds:
http://support.apple.com/kb/ht5290
Comment 4 Quality Engineering 2014-09-24 12:50:07 UTC
Integrated into 'main-silver', will be available in build *201409241121* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/cfb3fe4a2272
User: Libor Fischmeistr <lfischmeistr@netbeans.org>
Log: #247353: Installers not working on OSX 10.9.5
Comment 5 athompson 2014-09-26 16:15:28 UTC
Created attachment 149543 [details]
NB won't install at all now

This seems to have made the problem worse and into a definite blocker; now you can't install NB at all on OS X even if "allow from anywhere" is set (testing on Yosemite). See the attached screenshot which occurs when the installer is started. I'm testing on the 26 September build.

Before this you could indeed set the "allow from anywhere" option in System Preferences (or simply right-click on the installer and select "open") to get the installer to run.

If anyone knows a workaround, please let me know.
Comment 6 Libor Fischmeistr 2014-09-27 16:55:51 UTC
*** Bug 247513 has been marked as a duplicate of this bug. ***
Comment 7 Libor Fischmeistr 2014-10-01 06:24:33 UTC
*** Bug 247609 has been marked as a duplicate of this bug. ***
Comment 8 athompson 2014-10-06 18:15:50 UTC
It has been almost 2 weeks and it's still impossible to install NetBeans on OS X. Is anyone working on this?
Comment 9 athompson 2014-10-06 18:40:32 UTC
Changing version to Dev since the committed "fix" is not in the 8.0.1 patch, and the duplicate issues are not specific to it.
Comment 10 athompson 2014-10-06 18:43:49 UTC
I should mention that 10.10 has been seeded.
Comment 11 athompson 2014-10-06 18:46:54 UTC
Sorry, that last comment is technically under non-disclosure. Can it be removed?
Comment 12 Libor Fischmeistr 2014-10-07 06:57:51 UTC
(In reply to athompson from comment #8)
> It has been almost 2 weeks and it's still impossible to install NetBeans on
> OS X. Is anyone working on this?

Hi, it is possible to install NetBeans, there is simple workaround - just "right click" on the NetBeans installer and then click Open. The dialog will appear, then click Open on the dialog and you can successfully proceed installation.

Of course we are working on this issue.
Comment 13 Libor Fischmeistr 2014-10-07 08:22:40 UTC
*** Bug 247754 has been marked as a duplicate of this bug. ***
Comment 14 xtech86 2014-10-07 08:42:15 UTC
Hello,

Actually this doesn't work. I get Install certifications error on the Netbeans installer itself.

See:

https://www.dropbox.com/s/1hi6avgcgd9k4od/netbeans%20install%20error.mov?dl=0
Comment 15 Libor Fischmeistr 2014-10-07 09:15:22 UTC
(In reply to xtech86 from comment #14)
> Hello,
> 
> Actually this doesn't work. I get Install certifications error on the
> Netbeans installer itself.
> 
> See:
> 
> https://www.dropbox.com/s/1hi6avgcgd9k4od/netbeans%20install%20error.mov?dl=0

What version of the OS X do you have?
Comment 16 xtech86 2014-10-07 09:42:50 UTC
Ahh.. that could be the problem. I am on Yosemite. Although running Netbeans 8.0.1 perfectly.

Thanks
Tony
Comment 17 athompson 2014-10-07 14:46:49 UTC
(In reply to Libor Fischmeistr from comment #12)
> (In reply to athompson from comment #8)
> > It has been almost 2 weeks and it's still impossible to install NetBeans on
> > OS X. Is anyone working on this?
> 
> Hi, it is possible to install NetBeans, there is simple workaround - just
> "right click" on the NetBeans installer and then click Open. The dialog will
> appear, then click Open on the dialog and you can successfully proceed
> installation.
> 
> Of course we are working on this issue.

It was I who pointed out that workaround, but it no longer works. Please read comment #6.
Comment 18 athompson 2014-10-07 14:47:26 UTC
That is, please read comment #5.
Comment 19 athompson 2014-10-07 14:51:51 UTC
To try to be more clear, the "right-click" workaround worked up until recently (I assume when cfb3fe4a2272 was merged). Now NetBeans can't be installed at all.
Comment 20 Libor Fischmeistr 2014-10-07 16:49:42 UTC
(In reply to athompson from comment #19)
> To try to be more clear, the "right-click" workaround worked up until
> recently (I assume when cfb3fe4a2272 was merged). Now NetBeans can't be
> installed at all.

Quite weird, this works for me. On Yosemite too.

Does it appear on daily builds or on NB 8.0.1 or both?
Comment 21 xtech86 2014-10-07 20:30:01 UTC
Works fine on standard 8.0.1. 

Does NOT work on the nightly builds I have tried recently.

Thanks
Tony
Comment 22 athompson 2014-10-07 20:35:17 UTC
All dev builds up until cfb3fe4a2272 can be installed with a right-click, as well as NetBeans 8.0.1 since it predated any merge of `main-silver` with that commit into `releases`. Subsequent dev builds don't work at all.

If it's working for you on Yosemite, you're likely not using the GM. I imagine the developer builds of OS X don't have or enforce all certificates so that third party developers can more easily test builds of their software on it.
Comment 23 xtech86 2014-10-07 20:38:37 UTC
But I am using 8.0.1 on Yosemite which installed perfectly.

Trying to install the dev builds on Yosemite Do not. So that would be contradictory to your summary? 

Thanks
Tony
Comment 24 athompson 2014-10-07 21:29:15 UTC
Tony, I'm not sure what you mean?
Comment 25 athompson 2014-10-07 21:31:42 UTC
Tony, I changed the product version to 'Dev' to reflect that.
Comment 26 athompson 2014-10-07 21:32:52 UTC
I also changed the milestone, but it looks like it was changed back.
Comment 27 athompson 2014-10-13 17:17:46 UTC
Still unable to install NetBeans at all on OS X. It's been almost three weeks...
Comment 28 Libor Fischmeistr 2014-10-20 08:49:13 UTC
*** Bug 248033 has been marked as a duplicate of this bug. ***
Comment 29 Libor Fischmeistr 2014-10-21 06:37:05 UTC
*** Bug 248057 has been marked as a duplicate of this bug. ***
Comment 30 athompson 2014-10-24 17:18:35 UTC
I hate to be annoying about this (or more annoying than normal), but the whole purpose of Dev builds is to shake out glaring issues with NB before major releases. Going long periods of time where an entire class of users cannot test can do nothing but hurt the quality of the next release, especially on OS X.

It has been more than a month since NB has been installable on OS X. I know that the Devs have a lot of things on their plate, but this has to be a top priority. I know I complain a lot, but that's because IMO NB is the best IDE out there, and I've depended on it for well over a decade (IIRC the first version I used was 1.8). I like to think that the feedback of enthusiasts like myself have helped to improve it over the years.
Comment 31 athompson 2014-10-29 15:10:22 UTC
*** Bug 228414 has been marked as a duplicate of this bug. ***
Comment 32 Libor Fischmeistr 2014-11-03 13:01:21 UTC
First attempt to fix - http://hg.netbeans.org/core-main/rev/6da6d4e62b63
Comment 33 Quality Engineering 2014-11-04 10:34:05 UTC
Integrated into 'main-silver', will be available in build *201411040753* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/6da6d4e62b63
User: Libor Fischmeistr <lfischmeistr@netbeans.org>
Log: #247353: Installers not working on OS X 10.9.5+ and 10.10. Merge with mac_flat_package_installer_247353
Comment 34 Libor Fischmeistr 2014-11-04 14:25:56 UTC
The fix should be available in daily builds. Please try to install IDE and report all possible problems.

Thanks
Comment 35 athompson 2014-11-04 19:10:03 UTC
Working here! Thanks!
Comment 36 athompson 2014-11-04 19:26:25 UTC
Product Version: NetBeans IDE Dev (Build 201411040753)
Java: 1.8.0_25; Java HotSpot(TM) 64-Bit Server VM 25.25-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_25-b17
System: Mac OS X version 10.10 running on x86_64; UTF-8; en_US (nb)
User directory: /Users/alvin/Library/Application Support/NetBeans/dev
Cache directory: /Users/alvin/Library/Caches/NetBeans/dev
Comment 37 MrJxN 2014-11-04 19:49:42 UTC
Confirmed installer working now on Yosemite.

Thanks!
Comment 38 Libor Fischmeistr 2014-11-05 07:15:48 UTC
Great, thank you all for testing.

Marking as FIXED.
Comment 39 athompson 2014-11-05 14:43:39 UTC
yup
Comment 40 Antonin Nebuzelsky 2014-11-05 14:44:18 UTC
TM=Dev as fixed in trunk only.
Comment 41 mimisa 2014-11-07 16:14:45 UTC
Created attachment 150358 [details]
netbeans won't install

Netbeans wont allow me to install the software on OS X 10.10
Comment 42 athompson 2014-11-07 17:47:05 UTC
(In reply to mimisa from comment #41)

Hi mimisa,

That's a different problem from the issue that this bug addressed. The JDK/NetBeans bundle installer you're trying to use doesn't recognize Yosemite as a valid OS, which was a separate issue which wasn't addressed until very recently. You may want to check if there's a newer version of the bundle, but the surest way to get things working is by downloading the latest Oracle JDK and NetBeans installers separately. Both of those are verified working.

If things still don't work, I'd suggest filing a new bug report and giving as much information about your environment as possible (exact OS version, bundle version and when downloaded, etc.
Comment 43 athompson 2014-11-07 17:52:21 UTC
Can someone add back the original attachment?
Comment 44 Libor Fischmeistr 2014-11-10 07:53:48 UTC
(In reply to athompson from comment #43)
> Can someone add back the original attachment?

Unfortunately I haven't found that option.

There is an issue related to JDK bundles - issue 248413

It should be almost fixed but the fix will be available with the next NB release.
Comment 45 Libor Fischmeistr 2014-11-10 09:59:53 UTC
Merged to release801 branch
Comment 46 Wayne_Borean 2014-12-14 03:34:13 UTC
Tried to install Netbeans yesterday. I've checked and I have the current version of Java (and Oracle's website confirms this). The error message I get during the install comes up during the detection phase and says:

No JDK found

NetBeans IDE cannot be installed. Java (JRE) found on your computer but JDK 7 update 10 or newer is required. Please download and install the latest update of JDK 7 from http://www.oracle.com/technetwork/java/javase/downloads/index.html and restart NetBeans installation.

Regards

Wayne
Comment 47 Libor Fischmeistr 2014-12-15 07:09:51 UTC
(In reply to Wayne_Borean from comment #46)
> Tried to install Netbeans yesterday. I've checked and I have the current
> version of Java (and Oracle's website confirms this). The error message I
> get during the install comes up during the detection phase and says:
> 
> No JDK found
> 
> NetBeans IDE cannot be installed. Java (JRE) found on your computer but JDK
> 7 update 10 or newer is required. Please download and install the latest
> update of JDK 7 from
> http://www.oracle.com/technetwork/java/javase/downloads/index.html and
> restart NetBeans installation.
> 
> Regards
> 
> Wayne

Please file new issue. Your problem is not related to this one. And also please attach the indtaller log - http://wiki.netbeans.org/FaqLogMessagesFile