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.
I downloaded and installed the 64 bit jre, downloaded and installed the 64 jdk. Then I tried to install netbeanse-6.0-javase-windows.exe and an error pops up that says No suitable jdk is available. I saw that there is a description of this problem for netbeans 5.5, but not for 6.0. I tried the -is:javahome flag, but this had no effect on the outcome.
spamanon, try --javahome <jdk-path> installer switch, that should work fine. thanks, Dmitry
spamanon, could you please run installer in the following way: 1) netbeanse-6.0-javase-windows.exe --output out.txt --verbose 2) netbeanse-6.0-javase-windows.exe --output out.txt2 --verbose --javahome <jdk-path> and attach out.txt and out2.txt here? I assume that problem is that 64bit JDK stores its keys in 64bit section of Windows Registry. The NetBeans Installer (specifically, launcher, but probably that also affects the all java search in the installer itself) reads only 32bit keys since it is 32bit application.
see also: http://www.netbeans.org/issues/show_bug.cgi?id=91549
Sorry for bad english. Same problem with WinXP (no x64) only for some user. in log.txt: [2008-03-04 08:45:52.495]: executing command: C:\Programmi\Java\jdk1.6.0_03\bin\java.exe -classpath C:\Documents and Settings\alessandronip\.nbi\tmp TestJDK, in directory: . [2008-03-04 08:45:52.573]: [stderr]: java.lang.ClassFormatError: Truncated class file Solved after deleted <user home>\.nbi directory
Integrated into 'main-golden', available in NB_Trunk_Production #180 build Changeset: http://hg.netbeans.org/main/rev/92976e030562 User: Dmitry Lipin <dlipin@netbeans.org> Log: Issue #126770 NetBeans Installer can`t automatically find Java (64-bit) on Windows x64 (part1, nbi launcher)
Should be fixed now, thanks Yulia for initial testing :) http://hg.netbeans.org/main/rev/99d302e43d2b
Integrated into 'main-golden', available in NB_Trunk_Production #210 build Changeset: http://hg.netbeans.org/main/rev/99d302e43d2b User: Dmitry Lipin <dlipin@netbeans.org> Log: Issue #126770 NetBeans Installer can`t automatically find Java (64-bit) on Windows x64