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 192028 - cannot install jdk bundle u23
Summary: cannot install jdk bundle u23
Status: RESOLVED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: JDK bundle (show other bugs)
Version: 7.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Yulia Novozhilova
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-16 19:16 UTC by Tomas Danek
Modified: 2011-04-14 13:44 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
installer verbose output (12.54 KB, text/plain)
2010-11-19 11:46 UTC, Tomas Danek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Danek 2010-11-16 19:16:58 UTC
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
Comment 1 dlipin 2010-11-18 15:35:37 UTC
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.
Comment 2 Tomas Danek 2010-11-19 11:46:02 UTC
Created attachment 103097 [details]
installer verbose output
Comment 3 Tomas Danek 2010-11-22 14:06:41 UTC
ondro, i've been told you might be able to help with this.
Comment 4 Marian Mirilovic 2010-11-22 14:18:04 UTC
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.
Comment 5 Ondrej Vrabec 2010-11-22 16:48:42 UTC
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?
Comment 6 dlipin 2010-11-23 13:36:20 UTC
> 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 .
Comment 7 Tomas Danek 2010-11-23 14:17:06 UTC
anyway, do we agree that installer should fail with more graceful message?:)
Comment 8 Yulia Novozhilova 2010-11-29 14:19:05 UTC
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."?
Comment 9 Yulia Novozhilova 2010-11-29 14:47:06 UTC
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.
Comment 10 Tomas Danek 2010-12-01 09:15:04 UTC
Yulia, i would be ok with such message. This can wait for next bundle from my point of view.
Comment 11 Quality Engineering 2011-04-13 08:40:18 UTC
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
Comment 12 Yulia Novozhilova 2011-04-14 13:44:08 UTC
http://hg.netbeans.org/releases/rev/4d19d701ac16