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: | [PLAN6.5] NetBeans Installer can`t automatically find Java (64-bit) on Windows x64 | ||
---|---|---|---|
Product: | installer | Reporter: | spamanon <spamanon> |
Component: | NBI | Assignee: | dlipin <dlipin> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | Keywords: | PLAN |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP x64 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
spamanon
2008-02-05 21:34:03 UTC
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. 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 |