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.
took latest build on smestiste.czech: installer dk-6u22-nb-6_9_1-linux-ml.sh from /builds/netbeans/6.9.1/bundles/jdk-6u23-nb-6_9_1/fcs/latest/ (weird that in name is "u22", should be "u23), downloaded, ran installer: ./jdk-6u22-nb-6_9_1-linux-ml.sh Configuring the installer... Searching for JVM on the system... Preparing bundled JVM ... eval: 1: /tmp/.nbi-2113510.tmp/jre-6u20-linux-i586.bin: not found Cannot extract bundled JVM
Let me guess ... you have 64-bit Linux with no 32-bit support libraries? Please run with --verbose argument and attach output to the issue.
Created attachment 103097 [details] installer verbose output
ondro, i've been told you might be able to help with this.
Beside the fact we do not have correct build for testing yet, this looks like serious issue. Could anybody from dev evaluate this ASAP ? Thanks in advance.
The way i see it is that we have a jdk bundle only for 32-bit linux (the bundle contains 32-bit jre), so it is not possible to install it on a fresh 64-bit linux installation right away. The good news is that it has never worked (probably), so it's no regression. IMO the best solution would be to prepare another 64-bit bundle besides the current 32-bit one? Dima, do you know of any work-around? Although i have a 64-bit linux, i was still able to install the 32-bit JRE, but i guess that's because i have needed 32-bit libs already installed. I guess there's no chance to get to know what these libs are, is there?
> The way i see it is that we have a jdk bundle only for 32-bit linux (the bundle contains 32-bit jre), so it is not possible to install it on a fresh 64-bit linux installation right away. Right. > The good news is that it has never worked (probably), so it's no regression. Right, it never worked. > IMO the best solution would be to prepare another 64-bit bundle besides the current 32-bit one? Historically we didn't produce them. > Dima, do you know of any work-around? Although i have a 64-bit linux, i was still able to install the 32-bit JRE, but i guess that's because i have needed 32-bit libs already installed. I guess you are right :) > I guess there's no chance to get to know what these libs are, is there? For Ubuntu/Debian that is likely "ia32-libs" package. You can also try run "ldd nbi/infra/build/jvm/tools/unzipsfx/linux-i586/unzipsdx" on "pure 64-bit" and "64-bit with 32-bit libs" linuxes and check the difference (not sure if it works). Then search for packages which contains missing libraries using google or tools like http://rpmfind.net .
anyway, do we agree that installer should fail with more graceful message?:)
What do you think about "Cannot prepare bundled JVM to run the installer.\nMost probably the bundled JVM is not compatible with the current platform."?
Anyway many localization files should be also corrected to fix the error message. So it would be better to do this for the next jdk bundle release if nobody minds.
Yulia, i would be ok with such message. This can wait for next bundle from my point of view.
Integrated into 'main-golden', will be available in build *201104130401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/921f82935b6c User: Yulia Novozhilova <ynov@netbeans.org> Log: Fix #192028 - cannot install jdk bundle u23
http://hg.netbeans.org/releases/rev/4d19d701ac16