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 198107 - Install fails on linux 64 bit
Summary: Install fails on linux 64 bit
Status: RESOLVED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-27 01:46 UTC by bradmac
Modified: 2011-04-28 05:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
verbose output (32.54 KB, text/plain)
2011-04-27 07:44 UTC, bradmac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bradmac 2011-04-27 01:46:44 UTC
Using Ubuntu on an AMD 64 bit laptop, I downloaded the nb7.0 linux installer (http://netbeans.org/downloads/start.html?platform=linux&lang=en&option=javase) and made it executable. Running it fails without exception message before the splash page. Console output follows:

brad@brad-laptop:~/Downloads$ 
brad@brad-laptop:~/Downloads$ ./netbeans-7.0-ml-javase-linux.sh 
Configuring the installer...
Searching for JVM on the system...
Extracting installation data...
Running the installer wizard...
null
brad@brad-laptop:~/Downloads$
Comment 1 Ondrej Vrabec 2011-04-27 06:56:07 UTC
Please run with --verbose --output out.txt and attach the out.txt log file
Comment 2 bradmac 2011-04-27 07:44:21 UTC
Created attachment 107962 [details]
verbose output
Comment 3 bradmac 2011-04-27 07:46:31 UTC
Appears to be because the open-jdk (installed by accident) is headless.

Perhaps just catch the exception and output a message about being incompatible
Comment 4 Ondrej Vrabec 2011-04-27 09:26:49 UTC
> Perhaps just catch the exception and output a message about being incompatible
Right, instead of "null" a meaningful message should be printed.
Comment 5 Ondrej Vrabec 2011-04-27 09:27:27 UTC
fix: http://hg.netbeans.org/core-main/rev/08e149c30a3d
Comment 6 Quality Engineering 2011-04-28 05:08:10 UTC
Integrated into 'main-golden', will be available in build *201104280000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/08e149c30a3d
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: Issue #198107 - Install fails on linux 64 bit
print a meaningful message instead of "null"