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 210364 - cannot run netbeans64.exe
Summary: cannot run netbeans64.exe
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Launchers&CLI (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P1 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-29 13:42 UTC by vercinstex
Modified: 2012-03-30 14:15 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vercinstex 2012-03-29 13:42:33 UTC
I was not able tu run netbeans64.exe, I've downloaded the daily build from bertram2, and since I found the 64bit version is included I was always unable to run it, also if i've got java 64 installed...
At the moment i'm reporting this issue from 32 bit version of the editor.

Product Version = NetBeans IDE Dev (Build 2012-03-29_00-03-56 )
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.6.0_31
Runtime = Java HotSpot(TM) Client VM 20.6-b01
Comment 1 Jiri Rechtacek 2012-03-30 08:41:40 UTC
You cannot run netbeans64.exe with 32-bit JDK. Either install your IDE via NB Installer, or specify 64-bit JDK by --jdkhome switch.
Comment 2 vercinstex 2012-03-30 11:33:38 UTC
(In reply to comment #1)
> You cannot run netbeans64.exe with 32-bit JDK. Either install your IDE via NB
> Installer, or specify 64-bit JDK by --jdkhome switch.

I've got java 64 installed, and it always worked in previous version 6.8 and 6.9 when installed.

Now i'm using daily build and since it includes 64bit version it does not work.

How can i run it 64bit??

But I think this is always a bug since it should run automatically and not only from command line with special commands.
Comment 3 Libor Fischmeistr 2012-03-30 11:42:02 UTC
Hello, can you please attach log or screenshot (if you've got some error message)? Describe please what exactly happens when you try to run netbeans64.exe.

Thank you

64-bit launcher should start NB also if you have 32-bit installed only.
Comment 4 vercinstex 2012-03-30 12:27:07 UTC
(In reply to comment #3)
> Hello, can you please attach log or screenshot (if you've got some error
> message)? Describe please what exactly happens when you try to run
> netbeans64.exe.
> 
> Thank you
> 
> 64-bit launcher should start NB also if you have 32-bit installed only.


Hi
Actually this is my configuration:

win7 64bit
java 1.6.31 64bit

when I try to launch netbeans64.exe nothing happen, but I could see in task manager the process is started for a while and then aborted without any error or something else.

Unfortunately I cannot show you any screenshot because nothing appear to me...

If I try to run by command line I optain this output:


c:\Program Files\NetBeans\bin>netbeans64 --jdkhome "c:\program files\java\jre6\b
in\java.exe"

c:\Program Files\NetBeans\bin>

The launcher has determined that the parent process has a console and will reuse
 it for its own console output.
Closing the console will result in termination of the running program.
Use '--console suppress' to suppress console output.
Use '--console new' to create a separate console window.


Regards
Comment 5 Jiri Rechtacek 2012-03-30 13:05:44 UTC
(In reply to comment #4)
> (In reply to comment #3)
> c:\Program Files\NetBeans\bin>netbeans64 --jdkhome "c:\program
> files\java\jre6\b
> in\java.exe"
Run IDE as c:\Program Files\NetBeans\bin>netbeans64 --jdkhome "c:\program files\java
not linking to java.exe it should help. Let us know (attach your messages.log). Thanks

> The launcher has determined that the parent process has a console and will
> reuse
>  it for its own console output.
> Closing the console will result in termination of the running program.
> Use '--console suppress' to suppress console output.
> Use '--console new' to create a separate console window.
> 
> 
> Regards
Comment 6 vercinstex 2012-03-30 13:14:08 UTC
I've tried as you told me:

netbeans64 --jdkhome "c:\program files\Java"

Does not work anyway...

A question: 
Does these builds of netbeans require Java only or they need exclusively JDK??

and if they need jdk (that i don't have installed) why the 32 bit version work only with normal java??
Comment 7 Jiri Rechtacek 2012-03-30 13:30:58 UTC
(In reply to comment #6)
> I've tried as you told me:
> 
> netbeans64 --jdkhome "c:\program files\Java"
> 
> Does not work anyway...
> 
> A question: 
> Does these builds of netbeans require Java only or they need exclusively JDK??
> 
> and if they need jdk (that i don't have installed) why the 32 bit version work
> only with normal java??

Well. I didn't realize you has JRE only installed. So, my suggestion was wrong, you can run IDE netbeans64 --jdkhome "c:\program files\Java\jre6

Could you try this? Thanks

BTW. JRE is enough for running generally IDE. Fully installed JDK is required for NetBeans Java Support.
Comment 8 vercinstex 2012-03-30 13:53:43 UTC
Ok good 
That option worked.

But why should i need to specify this parameter??
Isn't it possible to make an automatic check of these things?? ^_^

Thank you
Regards
Comment 9 Jiri Rechtacek 2012-03-30 13:58:31 UTC
(In reply to comment #8)
> Ok good 
> That option worked.
Great.

> But why should i need to specify this parameter??
If you install IDE via NB installer, it solves it for you.

> Isn't it possible to make an automatic check of these things?? ^_^
> 
> Thank you
> Regards