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.
Build: NB 6.0 nightly build 200707160000 Platform: Windows Vista JDK: jdk 1.6.0_01 Note: The installer works fine on Windows XP with the same version of jdk. Steps to reproduce it: 1. started the installer as administrator. 2. Got "Java SE Development Kit (JDK) was not found on this computer" error. And I was forced to Exit Installer. (See screenshot JDKNotFound.png.) 3. Tried an earlier version of installer (build 200707091200), it worked fine. 3.
Created attachment 45162 [details] Screen shot of the Installer Error
*** Issue 110017 has been marked as a duplicate of this issue. ***
Hong, please run installer in verbose mode (installer.exe --verbose --output out.log) and attach resulting out.log file.
Hong, does "--javahome <path-to-jgk>" installer switch work for you?
"--javahome" does not work at all, on JDK / JRE / JDK's JRE In addition, the same behaviour can be reproduced all the way back to 200707130000 (where I gave up trying, for now anyway)
Just tested 200707120000 - and it works! Well, halfly - it couldn't find the JDK automagically.
Created attachment 45333 [details] specify JDK
For the record, a user reported success with 200707221200 on his copy of Vista. I have failed to reproduce it on my laptop for both 200707221200 and 200707230000.
Alexlamsl, I can say that we have not changed anything in the launcher since 07/13. OT. Kirill, I am still in hospital at least till Wednesday, so can't answer emails (but can read unfiltered inbox) . Commemting issues is the benefit of Opera Mini..
the issue is most probably not gone. I'll check the code in some time, there could be some memory managememt errors that are not 100% reproducible.
As reported by Hong, the issue is still 100% reproducible on her machine, so it's definitely not gone. I'll take an additional look at it this afternoon.
Kir, I am not sure that I have last time compiled launcher using VC not gcc. If it was VC then size of nlw.exe should be about 116K.
Could it be the case that launcher will run fine if ".nbi" folder is left behind by previous installations?
alexlamsl, 100% it is not the case.
I can still reproduce the issue with installer 200707230000 on my laptop. BTW, here is the workaround provided by Kirill: 1. To install run the installer with --extract <directory> -- this will extract the pure java installer to the specified directory. You can then run it directory via java -jar. 2. To uninstall Manually remove the installation. Iinstruction can be found here: http://www.netbeans.org/community/releases/60/install.html#troubleshooting, please look at the "To clean up the system" section.
Since workarounds exist then lowering the priority.
Dima, It is not a very convenient workaround, I do not agree to lower the priority. It should be considered as a Beta1 stopper and should be fixed as early as possible.
I agree with Hong here. Moreover since Beta1 was slipped by 3 weeks, we do have time to fix it. I will be looking @ the issue, but I can't guarantee anything since I'm a complete sucker in native stuff.
Hong, I agree with you that it is a stopper but I do think that it is P2 (Issue 109645 is more appropriate candidate for P1). Does --javahome switch works for you? Due to the comment of alexlamsl, it should work. isn't it a convinient workoround?
ok, let it be high priority if you both insist :)
The problem is that the issue's reproducibility is a bit sporadic. On Hong's machine nothing helps except extracting the installer and running it directly via java. At the same time all works without any problems on other users' machines.
No. Adding "--javahome" switch doesn't work. comments from alexlamsl said: "--javahome" does not work at all, on JDK / JRE / JDK's JRE
my fault ...
Hong, alexlamsl, could you please run installer in verbose mode (installer.exe --verbose --output out.log) and attach resulting out.log file. Thanks, Dmitry
I tried another Windows Vista machine (a desktop) with nightly build 200707250000, got the same problem: "netbeans-6.0-nightly-200707250000-full-win... has stopped working A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available." The out.log file will be attached. JDK version: build 1.6.0-b105, mixed mode. It is installed at: C:\Java\jdk1.6.0 JRE is installed at: C:\Java\jre1.6.0
Created attachment 45701 [details] out.log file
That workaround is less than satisfactory - esp if the "--javahome" switch doesn't work at all. hong_lin: some installers I've tested crashed on my laptop as well - I didn't include them in this report since I couldn't reliably reproduce the crashes even with the same setup program.
HI! I am using Vista Ultimate and I have installed JDK 6.0u2 in D:\jdk6.0. Thomas Alex Lam S.L. wrote: > 200707221200 doesn't work either on here. > > I'm using Vista Ultimate on a Centrino Duo laptop - how about you? > > Alex. > > P.S. the issue is tracked here: > http://www.netbeans.org/issues/show_bug.cgi?id=109897 > > > On 7/23/07, *Alex Lam S.L.* <alexlamsl@gmail.com > <mailto:alexlamsl@gmail.com>> wrote: > > Just downloaded > "netbeans-6.0-nightly-200707230000-basic-windows.exe" and it doesn't > work - same dialog appeared. > > Alex. > > > On 7/23/07, *Thomas Börkel* <tbo@ap-ag.com <mailto:tbo@ap-ag.com>> > wrote: > > HI! > > Build 200707221200 installs fine on Vista here. > > Thomas dlipin: I'll give "installer.exe --verbose --output out.log" a go. Give me 1 sec ;-)
I think I can see the problem... "...\java.exe" -classpath C:\Users\User\AppData\Local\Temp\\NBI57634.tmp\TestJDK.class??? TestJDK
Created attachment 45705 [details] netbeans-6.0-nightly-200707250000-basic-windows.exe -verbose -output out.log
The issue should be fixed in the next nightly build (>=200707300000).
verified with 200707310000 on Vista Ultimate
The latest installer worked on my system too. I used build 200707311200.