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 239417 - 64-bit JVM not correctly identified
Summary: 64-bit JVM not correctly identified
Status: CLOSED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
: 239470 239615 239651 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-12-12 14:07 UTC by gholmer
Modified: 2013-12-19 14:50 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screen shot (50.44 KB, image/png)
2013-12-12 14:07 UTC, gholmer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gholmer 2013-12-12 14:07:32 UTC
Created attachment 143101 [details]
screen shot

Installer says "A 32-bit JDK is selected... please use the 64-bit version", but I am using a 64-bit JVM. See screen shot.
Comment 1 Jiri Rechtacek 2013-12-12 14:47:50 UTC
It's related to issue 238824. Libor, please take care of it. Thanks
Comment 2 Libor Fischmeistr 2013-12-12 14:57:50 UTC
Hello, thank you for the report.

Could you please run "uname -m" in console and paste here the output?
Also "uname" output could be helpful too.

Thanks
Comment 3 gholmer 2013-12-12 15:02:53 UTC
glennh@shadow:~ > uname -m
x86_64
glennh@shadow:~ > uname
Linux
Comment 4 Libor Fischmeistr 2013-12-13 08:24:56 UTC
(In reply to gholmer from comment #3)
> glennh@shadow:~ > uname -m
> x86_64
> glennh@shadow:~ > uname
> Linux

Thanks for quick response.

I am able to reproduce on my Ubuntu. It happens only if the user account is standard - not admin. For admin user it works well. Is this your case? Is your account admin or not?
Comment 5 Libor Fischmeistr 2013-12-13 13:56:08 UTC
*** Bug 239470 has been marked as a duplicate of this bug. ***
Comment 6 gholmer 2013-12-13 14:43:17 UTC
No, I never run NetBeans as root. There is no reason to do so.
Comment 7 Libor Fischmeistr 2013-12-17 13:07:25 UTC
(In reply to gholmer from comment #6)
> No, I never run NetBeans as root. There is no reason to do so.

That was misunderstanding. For example on Ubuntu there are two types of user accounts (Admin [not root] and Standard). I was able to reproduce this bug only when my account was Standard...

But it does not look like it's the cause of this issue.

Fixed in changeset: http://hg.netbeans.org/core-main/rev/6501567f6c45

It would be great if you could verify it.

Thank you very much.
Comment 8 Libor Fischmeistr 2013-12-18 15:19:36 UTC
*** Bug 239615 has been marked as a duplicate of this bug. ***
Comment 9 everflux 2013-12-18 21:02:34 UTC
netbeans-dev-201312180002
I still have this problem on Linux 64bit.

uname -a
Linux charix 3.11.0-15-generic #23-Ubuntu SMP Mon Dec 9 18:17:04 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Comment 10 gholmer 2013-12-18 21:21:51 UTC
In which build will this fix appear?
Comment 11 Quality Engineering 2013-12-19 03:15:26 UTC
Integrated into 'main-silver', will be available in build *201312190002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/6501567f6c45
User: Libor Fischmeistr <lfischmeistr@netbeans.org>
Log: #239417: 64-bit JVM not correctly identified
Comment 12 Libor Fischmeistr 2013-12-19 07:22:37 UTC
(In reply to gholmer from comment #10)
> In which build will this fix appear?

I think the comment 11 answered your question. :)
Comment 13 Libor Fischmeistr 2013-12-19 12:26:51 UTC
*** Bug 239651 has been marked as a duplicate of this bug. ***
Comment 14 gholmer 2013-12-19 13:42:14 UTC
Installer worked correctly for this build, thanks.
Comment 15 Libor Fischmeistr 2013-12-19 13:43:52 UTC
(In reply to gholmer from comment #14)
> Installer worked correctly for this build, thanks.

Thank you for verification.
Comment 16 collinm 2013-12-19 14:50:02 UTC
build 201312190002 work fine with openjdk 64 bits and oracle 64 bits