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 240498 - Cannot install/uninstall netbean 7.4 on Windows machine
Summary: Cannot install/uninstall netbean 7.4 on Windows machine
Status: RESOLVED WORKSFORME
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-15 14:17 UTC by zhengye1
Modified: 2014-08-22 16:27 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Message Log file (68.27 KB, application/octet-stream)
2014-01-15 14:39 UTC, zhengye1
Details
Installer Log (477.77 KB, application/octet-stream)
2014-01-15 15:29 UTC, zhengye1
Details
UnInstall got interpreted on NB 8.0 beta (721.79 KB, application/octet-stream)
2014-01-20 13:01 UTC, vidhyadharantechdays
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zhengye1 2014-01-15 14:17:24 UTC
Hi,

I already install Netbean 7.4 before, and it works fine.

But yesterday when I try to open Netbeans, it give me error message said "NetBeans IDE has stopped working". When I try to uninstall Netbeans in from Control Panel\Programs and Files, first it give me "Java(TM) Platform SE binary has stopped working" error. So I click Close Program on the error window, and NetBeans IDE threw me an error said "Java SE Development Kit(JDK) was not found on this computer."

But I already install/re-install my JDK, the issue abobe still persist. How can I fix this?

Thank you
Comment 1 Libor Fischmeistr 2014-01-15 14:27:25 UTC
Hello,

please attach the IDE log - http://wiki.netbeans.org/FaqLogMessagesFile
also installer log could be helpful - http://wiki.netbeans.org/NBIFAQ#What_information_is_needed_for_a_successful_bug_report.

Thanks
Comment 2 zhengye1 2014-01-15 14:39:43 UTC
Created attachment 143986 [details]
Message Log file
Comment 3 zhengye1 2014-01-15 14:54:21 UTC
And also I can't find the installer log file, where does this file located?
Comment 4 Libor Fischmeistr 2014-01-15 15:03:55 UTC
(In reply to zhengye1 from comment #3)
> And also I can't find the installer log file, where does this file located?

All about it is written on http://wiki.netbeans.org/NBIFAQ#What_information_is_needed_for_a_successful_bug_report.

"Attach log files for each session (usually located at ~/.nbi/log/*.log)."

<user home>/.nbi/log/
Comment 5 zhengye1 2014-01-15 15:29:42 UTC
Created attachment 143991 [details]
Installer Log

These are the installer log (I install NetBeans 7.4 at Nov 23, 2013)
Comment 6 Jiri Rechtacek 2014-01-20 09:58:32 UTC
*** Bug 240683 has been marked as a duplicate of this bug. ***
Comment 7 vidhyadharantechdays 2014-01-20 13:01:27 UTC
Created attachment 144151 [details]
UnInstall got interpreted on NB 8.0 beta

Hi,

I try to uninstal Netbeans 8.0 beta, I interpreted 
[2014-01-20 12:15:17.957]:         It appears that the following instance of the NetBeans IDE is still running:
[2014-01-20 12:15:17.957]:         C:\Program Files\NetBeans 8.0 Beta
[2014-01-20 12:15:17.957]:         A lock file exists at 
[2014-01-20 12:15:17.957]:         C:\Users\vde\AppData\Roaming\NetBeans\8.0beta\lock

how ever I tried in the process explorer there is no nebteans process available . Then i deleted manually the lock file . It works fine. 

Regards,
Vidhya
Comment 8 Libor Fischmeistr 2014-01-20 14:37:36 UTC
(In reply to vidhyadharantechdays from comment #7)
> Created attachment 144151 [details]
> UnInstall got interpreted on NB 8.0 beta
> 
> Hi,
> 
> I try to uninstal Netbeans 8.0 beta, I interpreted 
> [2014-01-20 12:15:17.957]:         It appears that the following instance of
> the NetBeans IDE is still running:
> [2014-01-20 12:15:17.957]:         C:\Program Files\NetBeans 8.0 Beta
> [2014-01-20 12:15:17.957]:         A lock file exists at 
> [2014-01-20 12:15:17.957]:        
> C:\Users\vde\AppData\Roaming\NetBeans\8.0beta\lock
> 
> how ever I tried in the process explorer there is no nebteans process
> available . Then i deleted manually the lock file . It works fine. 
> 
> Regards,
> Vidhya

Hello, thank you for the comment. I seems that it's more related to issue 240683.

Anyway, are you able to reproduce it?
Comment 9 Libor Fischmeistr 2014-01-21 07:18:39 UTC
(In reply to zhengye1 from comment #0)
> But yesterday when I try to open Netbeans, it give me error message said
> "NetBeans IDE has stopped working". When I try to uninstall Netbeans in from
> Control Panel\Programs and Files, first it give me "Java(TM) Platform SE
> binary has stopped working" error. So I click Close Program on the error
> window, and NetBeans IDE threw me an error said "Java SE Development
> Kit(JDK) was not found on this computer."
> 
> But I already install/re-install my JDK, the issue abobe still persist. How
> can I fix this?

It seems like problem with JDK.

For the very first. Check if in <NetBeans installation folder>\etc\netbeans.conf the netbeans_jdkhome property points to correct JDK (the latest version then try to run IDE.

If the change of the JDK does not help please attach the launcher log.
How to get it - run IDE with --trace parameter: > netbeans.exe --trace <file where log will be stored>.

Maybe the screen of the "NetBeans IDE has stopped working" message box could be helpful.

Thanks.
Comment 10 zhengye1 2014-01-21 13:46:47 UTC
It seems like problem resolved after I uninstall the jdk and QTP10...

Thanks
Comment 11 Libor Fischmeistr 2014-01-21 13:49:29 UTC
(In reply to zhengye1 from comment #10)
> It seems like problem resolved after I uninstall the jdk and QTP10...
> 
> Thanks

Thank you for the quick response.

Closing as WORKSFORME.
Comment 12 muge 2014-08-22 16:27:25 UTC
Deleting the lock file worked.

Thank you!