You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Davide Moschini <da...@gmail.com> on 2019/02/19 13:50:01 UTC

Netbeans 10.0 - doesn't start

I've just downloaded Netbeans 10.0 and on a Windows 10 64 bit it doesn't
start when i execute netbeans64.exe (not even with netbeans.exe)

I removed all the previous java installations and installed jdk-11.0.2+9
 and jdk-11.0.2+9-jre.

Also change the path in the netbeans configuration file to the right java
path.

Configured the environment variables PATH and JAVA_HOME.

When I try to run the app nothing happens.

Somebody else with same issue?

Also wrote this question on
https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os

Re: Netbeans 10.0 - doesn't start

Posted by Peter Steele <st...@gmail.com>.
I suspect you need to set JDK_HOME

On Tue, 19 Feb 2019, 13:53 Geertjan Wielenga
<geertjan.wielenga@googlemail.com.invalid wrote:

> When you run this on the command line, what do you see: javac -version
>
> What is the path you're referring to in netbeans.conf?
>
> Gj
>
> On Tue, Feb 19, 2019 at 2:50 PM Davide Moschini <da...@gmail.com>
> wrote:
>
>> I've just downloaded Netbeans 10.0 and on a Windows 10 64 bit it doesn't
>> start when i execute netbeans64.exe (not even with netbeans.exe)
>>
>> I removed all the previous java installations and installed jdk-11.0.2+9
>>  and jdk-11.0.2+9-jre.
>>
>> Also change the path in the netbeans configuration file to the right java
>> path.
>>
>> Configured the environment variables PATH and JAVA_HOME.
>>
>> When I try to run the app nothing happens.
>>
>> Somebody else with same issue?
>>
>> Also wrote this question on
>> https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os
>>
>

Re: Netbeans 10.0 - doesn't start

Posted by Geertjan Wielenga <ge...@googlemail.com.INVALID>.
Try the suggestion of not having the JDK in a folder with spaces. I believe
something along those lines was in the NetBeans installation instructions
at some point too.

Gj

On Tue, Feb 19, 2019 at 4:57 PM Davide Moschini <da...@gmail.com>
wrote:

> When i run the executable, with Process Explorer opened I can see for one
> second the process starts and the suddenly close itself.
>
> On Tue, Feb 19, 2019 at 4:53 PM Peter Nabbefeld <pe...@gmx.de>
> wrote:
>
>> Hi Davide,
>>
>> as You got launcher output, the launcher obviously started, but NetBeans
>> seems to have crashed. Any more output? Any stack trace or heap dump?
>>
>> Kind regards
>> Peter
>>
>>
>> Am 19.02.19 um 16:26 schrieb Davide Moschini:
>> > I would like to summarize the steps taken (sorry I forgot to include
>> > the netbeans mailing list in the last emails sent)
>> > - Netbeans 10.0 is "installed" in a folder on a D: partition.
>> > - JDK (openJDK at the moment) is installed in folder "C:\Program
>> > Files\AdoptOpenJDK\jdk-11.0.2+9"
>> > - I'm using Windows 10 64 bit
>> > - ENVIRONMENT VARIABLES:
>> >     * JAVA_HOME: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9\
>> >     * JDK_HOME: %JAVA_HOME%
>> >     * JRE_HOME: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9-jre
>> >     * Path: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9\bin, C:\Program
>> > Files\AdoptOpenJDK\jdk-11.0.2+9-jre\bin.....(other stuff)
>> > - netbeans.conf: commented out the line
>> >      netbeans_jdkhome="C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
>> > - cmd line
>> >     * netbeans64.exe --jdkhome "C:\Program
>> > Files\AdoptOpenJDK\jdk-11.0.2+9"
>> >    The answer from cmd is:
>> >       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.
>> > - when I run javac -version from command line the answer is:
>> >     javac 11.0.2
>> >
>> > Netbeans never started.
>> >
>> > davide
>> >
>> >
>> >
>> > On Tue, Feb 19, 2019 at 3:48 PM Geertjan Wielenga
>> > <geertjan.wielenga@googlemail.com
>> > <ma...@googlemail.com>> wrote:
>> >
>> >     Maybe comment out the line in netbeans.conf pointing to the JDK,
>> >     instead run 'echo %path%' to check that it is on your path (and
>> >     put the JDK on your path in Environment Variables if needed) and
>> >     then double-click the executable again.
>> >
>> >     Gj
>> >
>> >     On Tue, Feb 19, 2019 at 3:36 PM Geertjan Wielenga
>> >     <geertjan.wielenga@googlemail.com
>> >     <ma...@googlemail.com>> wrote:
>> >
>> >         On Windows, I don't have any problem starting up Apache
>> >         NetBeans 10, just by double-clicking the executable. I don't
>> >         need any --jdkhome switch. In etc/netbeans.conf, I have
>> >         netbeans_jdkhome commented out, so that I use the system's
>> >         installed JDK. When I run 'echo %path%' from the command line,
>> >         I see that the JDK as well as its bin folder are included there.
>> >
>> >         Gj
>> >
>> >         On Tue, Feb 19, 2019 at 3:24 PM Davide Moschini
>> >         <davide.moschini@gmail.com <ma...@gmail.com>>
>> >         wrote:
>> >
>> >
>> >
>> >             ---------- Forwarded message ---------
>> >             From: *Davide Moschini* <davide.moschini@gmail.com
>> >             <ma...@gmail.com>>
>> >             Date: Tue, Feb 19, 2019 at 2:58 PM
>> >             Subject: Re: Netbeans 10.0 - doesn't start
>> >             To: Geertjan Wielenga <geertjan.wielenga@googlemail.com
>> >             <ma...@googlemail.com>>
>> >
>> >
>> >             From command line, the version after the execution of
>> >             "javac -version" is:
>> >             javac 11.0.2
>> >
>> >             In netbeans.conf I have:
>> >             netbeans_jdkhome="C:\Program
>> Files\AdoptOpenJDK\jdk-11.0.2+9"
>> >
>> >             davide
>> >
>> >             On Tue, Feb 19, 2019 at 2:52 PM Geertjan Wielenga
>> >             <geertjan.wielenga@googlemail.com
>> >             <ma...@googlemail.com>> wrote:
>> >
>> >                 When you run this on the command line, what do you
>> >                 see: javac -version
>> >
>> >                 What is the path you're referring to in netbeans.conf?
>> >
>> >                 Gj
>> >
>> >                 On Tue, Feb 19, 2019 at 2:50 PM Davide Moschini
>> >                 <davide.moschini@gmail.com
>> >                 <ma...@gmail.com>> wrote:
>> >
>> >                     I've just downloaded |Netbeans 10.0| and on a
>> >                     Windows 10 64 bit it doesn't start when i execute
>> >                     |netbeans64.exe| (not even with |netbeans.exe|)
>> >
>> >                     I removed all the previous java installations and
>> >                     installed |jdk-11.0.2+9| and |jdk-11.0.2+9-jre|.
>> >
>> >                     Also change the path in the netbeans configuration
>> >                     file to the right java path.
>> >
>> >                     Configured the environment variables |PATH| and
>> >                     |JAVA_HOME|.
>> >
>> >                     When I try to run the app nothing happens.
>> >
>> >                     Somebody else with same issue?
>> >
>> >
>> >                     Also wrote this question on
>> >
>> https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
>> For additional commands, e-mail: users-help@netbeans.apache.org
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
>>

Re: Netbeans 10.0 - doesn't start

Posted by Davide Moschini <da...@gmail.com>.
When i run the executable, with Process Explorer opened I can see for one
second the process starts and the suddenly close itself.

On Tue, Feb 19, 2019 at 4:53 PM Peter Nabbefeld <pe...@gmx.de>
wrote:

> Hi Davide,
>
> as You got launcher output, the launcher obviously started, but NetBeans
> seems to have crashed. Any more output? Any stack trace or heap dump?
>
> Kind regards
> Peter
>
>
> Am 19.02.19 um 16:26 schrieb Davide Moschini:
> > I would like to summarize the steps taken (sorry I forgot to include
> > the netbeans mailing list in the last emails sent)
> > - Netbeans 10.0 is "installed" in a folder on a D: partition.
> > - JDK (openJDK at the moment) is installed in folder "C:\Program
> > Files\AdoptOpenJDK\jdk-11.0.2+9"
> > - I'm using Windows 10 64 bit
> > - ENVIRONMENT VARIABLES:
> >     * JAVA_HOME: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9\
> >     * JDK_HOME: %JAVA_HOME%
> >     * JRE_HOME: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9-jre
> >     * Path: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9\bin, C:\Program
> > Files\AdoptOpenJDK\jdk-11.0.2+9-jre\bin.....(other stuff)
> > - netbeans.conf: commented out the line
> >      netbeans_jdkhome="C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
> > - cmd line
> >     * netbeans64.exe --jdkhome "C:\Program
> > Files\AdoptOpenJDK\jdk-11.0.2+9"
> >    The answer from cmd is:
> >       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.
> > - when I run javac -version from command line the answer is:
> >     javac 11.0.2
> >
> > Netbeans never started.
> >
> > davide
> >
> >
> >
> > On Tue, Feb 19, 2019 at 3:48 PM Geertjan Wielenga
> > <geertjan.wielenga@googlemail.com
> > <ma...@googlemail.com>> wrote:
> >
> >     Maybe comment out the line in netbeans.conf pointing to the JDK,
> >     instead run 'echo %path%' to check that it is on your path (and
> >     put the JDK on your path in Environment Variables if needed) and
> >     then double-click the executable again.
> >
> >     Gj
> >
> >     On Tue, Feb 19, 2019 at 3:36 PM Geertjan Wielenga
> >     <geertjan.wielenga@googlemail.com
> >     <ma...@googlemail.com>> wrote:
> >
> >         On Windows, I don't have any problem starting up Apache
> >         NetBeans 10, just by double-clicking the executable. I don't
> >         need any --jdkhome switch. In etc/netbeans.conf, I have
> >         netbeans_jdkhome commented out, so that I use the system's
> >         installed JDK. When I run 'echo %path%' from the command line,
> >         I see that the JDK as well as its bin folder are included there.
> >
> >         Gj
> >
> >         On Tue, Feb 19, 2019 at 3:24 PM Davide Moschini
> >         <davide.moschini@gmail.com <ma...@gmail.com>>
> >         wrote:
> >
> >
> >
> >             ---------- Forwarded message ---------
> >             From: *Davide Moschini* <davide.moschini@gmail.com
> >             <ma...@gmail.com>>
> >             Date: Tue, Feb 19, 2019 at 2:58 PM
> >             Subject: Re: Netbeans 10.0 - doesn't start
> >             To: Geertjan Wielenga <geertjan.wielenga@googlemail.com
> >             <ma...@googlemail.com>>
> >
> >
> >             From command line, the version after the execution of
> >             "javac -version" is:
> >             javac 11.0.2
> >
> >             In netbeans.conf I have:
> >             netbeans_jdkhome="C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
> >
> >             davide
> >
> >             On Tue, Feb 19, 2019 at 2:52 PM Geertjan Wielenga
> >             <geertjan.wielenga@googlemail.com
> >             <ma...@googlemail.com>> wrote:
> >
> >                 When you run this on the command line, what do you
> >                 see: javac -version
> >
> >                 What is the path you're referring to in netbeans.conf?
> >
> >                 Gj
> >
> >                 On Tue, Feb 19, 2019 at 2:50 PM Davide Moschini
> >                 <davide.moschini@gmail.com
> >                 <ma...@gmail.com>> wrote:
> >
> >                     I've just downloaded |Netbeans 10.0| and on a
> >                     Windows 10 64 bit it doesn't start when i execute
> >                     |netbeans64.exe| (not even with |netbeans.exe|)
> >
> >                     I removed all the previous java installations and
> >                     installed |jdk-11.0.2+9| and |jdk-11.0.2+9-jre|.
> >
> >                     Also change the path in the netbeans configuration
> >                     file to the right java path.
> >
> >                     Configured the environment variables |PATH| and
> >                     |JAVA_HOME|.
> >
> >                     When I try to run the app nothing happens.
> >
> >                     Somebody else with same issue?
> >
> >
> >                     Also wrote this question on
> >
> https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>

Re: Netbeans 10.0 - doesn't start

Posted by Peter Nabbefeld <pe...@gmx.de>.
Hi Davide,

as You got launcher output, the launcher obviously started, but NetBeans 
seems to have crashed. Any more output? Any stack trace or heap dump?

Kind regards
Peter


Am 19.02.19 um 16:26 schrieb Davide Moschini:
> I would like to summarize the steps taken (sorry I forgot to include 
> the netbeans mailing list in the last emails sent)
> - Netbeans 10.0 is "installed" in a folder on a D: partition.
> - JDK (openJDK at the moment) is installed in folder "C:\Program 
> Files\AdoptOpenJDK\jdk-11.0.2+9"
> - I'm using Windows 10 64 bit
> - ENVIRONMENT VARIABLES:
>     * JAVA_HOME: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9\
>     * JDK_HOME: %JAVA_HOME%
>     * JRE_HOME: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9-jre
>     * Path: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9\bin, C:\Program 
> Files\AdoptOpenJDK\jdk-11.0.2+9-jre\bin.....(other stuff)
> - netbeans.conf: commented out the line
>      netbeans_jdkhome="C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
> - cmd line
>     * netbeans64.exe --jdkhome "C:\Program 
> Files\AdoptOpenJDK\jdk-11.0.2+9"
>    The answer from cmd is:
>       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.
> - when I run javac -version from command line the answer is:
>     javac 11.0.2
>
> Netbeans never started.
>
> davide
>
>
>
> On Tue, Feb 19, 2019 at 3:48 PM Geertjan Wielenga 
> <geertjan.wielenga@googlemail.com 
> <ma...@googlemail.com>> wrote:
>
>     Maybe comment out the line in netbeans.conf pointing to the JDK,
>     instead run 'echo %path%' to check that it is on your path (and
>     put the JDK on your path in Environment Variables if needed) and
>     then double-click the executable again.
>
>     Gj
>
>     On Tue, Feb 19, 2019 at 3:36 PM Geertjan Wielenga
>     <geertjan.wielenga@googlemail.com
>     <ma...@googlemail.com>> wrote:
>
>         On Windows, I don't have any problem starting up Apache
>         NetBeans 10, just by double-clicking the executable. I don't
>         need any --jdkhome switch. In etc/netbeans.conf, I have
>         netbeans_jdkhome commented out, so that I use the system's
>         installed JDK. When I run 'echo %path%' from the command line,
>         I see that the JDK as well as its bin folder are included there.
>
>         Gj
>
>         On Tue, Feb 19, 2019 at 3:24 PM Davide Moschini
>         <davide.moschini@gmail.com <ma...@gmail.com>>
>         wrote:
>
>
>
>             ---------- Forwarded message ---------
>             From: *Davide Moschini* <davide.moschini@gmail.com
>             <ma...@gmail.com>>
>             Date: Tue, Feb 19, 2019 at 2:58 PM
>             Subject: Re: Netbeans 10.0 - doesn't start
>             To: Geertjan Wielenga <geertjan.wielenga@googlemail.com
>             <ma...@googlemail.com>>
>
>
>             From command line, the version after the execution of
>             "javac -version" is:
>             javac 11.0.2
>
>             In netbeans.conf I have:
>             netbeans_jdkhome="C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
>
>             davide
>
>             On Tue, Feb 19, 2019 at 2:52 PM Geertjan Wielenga
>             <geertjan.wielenga@googlemail.com
>             <ma...@googlemail.com>> wrote:
>
>                 When you run this on the command line, what do you
>                 see: javac -version
>
>                 What is the path you're referring to in netbeans.conf?
>
>                 Gj
>
>                 On Tue, Feb 19, 2019 at 2:50 PM Davide Moschini
>                 <davide.moschini@gmail.com
>                 <ma...@gmail.com>> wrote:
>
>                     I've just downloaded |Netbeans 10.0| and on a
>                     Windows 10 64 bit it doesn't start when i execute
>                     |netbeans64.exe| (not even with |netbeans.exe|)
>
>                     I removed all the previous java installations and
>                     installed |jdk-11.0.2+9| and |jdk-11.0.2+9-jre|.
>
>                     Also change the path in the netbeans configuration
>                     file to the right java path.
>
>                     Configured the environment variables |PATH| and
>                     |JAVA_HOME|.
>
>                     When I try to run the app nothing happens.
>
>                     Somebody else with same issue?
>
>
>                     Also wrote this question on
>                     https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: Netbeans 10.0 - doesn't start

Posted by Thomas Kellerer <sh...@gmx.net>.
Java sometimes has problems when being installed in a directory that contains spaces. 

What if you move it outside of "Program Files"? 

As OpenJD doesn't really need an installation, you can extract the ZIP file to anywhere you want. 

Davide Moschini schrieb am 19.02.2019 um 16:48:
> Changed the folder name of JDK to C:\....\jdk-11.0.2
> Changed Path and Environment Variables to point to this folder
> Changed netbeans.conf to point to this folder
> 
> On Tue, Feb 19, 2019 at 4:41 PM Peter Steele <steelehere@gmail.com <ma...@gmail.com>> wrote:
> 
>     Maybe the + in the jdk directory name is the problem
> 
>     On Tue, 19 Feb 2019, 15:32 Davide Moschini <davide.moschini@gmail.com <ma...@gmail.com> wrote:
> 
>         When I double click on the executable nothing happens. Checked in processExplorer and i don't see the process in the list. Seems that it never starts
> 
>         On Tue, Feb 19, 2019 at 4:30 PM Geertjan Wielenga <geertjan.wielenga@googlemail.com <ma...@googlemail.com>> wrote:
> 
>             Just double-click the executable and forget about that --jdkhome flag, you don't need it.
> 
>             Gj
> 
>             On Tue, Feb 19, 2019 at 4:26 PM Davide Moschini <davide.moschini@gmail.com <ma...@gmail.com>> wrote:
> 
>                 I would like to summarize the steps taken (sorry I forgot to include the netbeans mailing list in the last emails sent)
>                 - Netbeans 10.0 is "installed" in a folder on a D: partition.
>                 - JDK (openJDK at the moment) is installed in folder "C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
>                 - I'm using Windows 10 64 bit
>                 - ENVIRONMENT VARIABLES:
>                     * JAVA_HOME: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9\
>                     * JDK_HOME: %JAVA_HOME%
>                     * JRE_HOME: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9-jre
>                     * Path: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9\bin, C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9-jre\bin.....(other stuff)
>                 - netbeans.conf: commented out the line 
>                      netbeans_jdkhome="C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
>                 - cmd line 
>                     * netbeans64.exe --jdkhome "C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
>                    The answer from cmd is:
>                       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.
>                 - when I run javac -version from command line the answer is:
>                     javac 11.0.2
> 
>                 Netbeans never started.
> 
>                 davide
> 
> 
> 
>                 On Tue, Feb 19, 2019 at 3:48 PM Geertjan Wielenga <geertjan.wielenga@googlemail.com <ma...@googlemail.com>> wrote:
> 
>                     Maybe comment out the line in netbeans.conf pointing to the JDK, instead run 'echo %path%' to check that it is on your path (and put the JDK on your path in Environment Variables if needed) and then double-click the executable again.
> 
>                     Gj
> 
>                     On Tue, Feb 19, 2019 at 3:36 PM Geertjan Wielenga <geertjan.wielenga@googlemail.com <ma...@googlemail.com>> wrote:
> 
>                         On Windows, I don't have any problem starting up Apache NetBeans 10, just by double-clicking the executable. I don't need any --jdkhome switch. In etc/netbeans.conf, I have netbeans_jdkhome commented out, so that I use the system's installed JDK. When I run 'echo %path%' from the command line, I see that the JDK as well as its bin folder are included there.
> 
>                         Gj
> 
>                         On Tue, Feb 19, 2019 at 3:24 PM Davide Moschini <davide.moschini@gmail.com <ma...@gmail.com>> wrote:
> 
> 
> 
>                             ---------- Forwarded message ---------
>                             From: *Davide Moschini* <davide.moschini@gmail.com <ma...@gmail.com>>
>                             Date: Tue, Feb 19, 2019 at 2:58 PM
>                             Subject: Re: Netbeans 10.0 - doesn't start
>                             To: Geertjan Wielenga <geertjan.wielenga@googlemail.com <ma...@googlemail.com>>
> 
> 
>                             From command line, the version after the execution of "javac -version" is:
>                             javac 11.0.2
> 
>                             In netbeans.conf I have:
>                             netbeans_jdkhome="C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
> 
>                             davide
> 
>                             On Tue, Feb 19, 2019 at 2:52 PM Geertjan Wielenga <geertjan.wielenga@googlemail.com <ma...@googlemail.com>> wrote:
> 
>                                 When you run this on the command line, what do you see: javac -version
> 
>                                 What is the path you're referring to in netbeans.conf?
> 
>                                 Gj
> 
>                                 On Tue, Feb 19, 2019 at 2:50 PM Davide Moschini <davide.moschini@gmail.com <ma...@gmail.com>> wrote:
> 
>                                     I've just downloaded |Netbeans 10.0| and on a Windows 10 64 bit it doesn't start when i execute |netbeans64.exe| (not even with |netbeans.exe|)
> 
>                                     I removed all the previous java installations and installed |jdk-11.0.2+9| and |jdk-11.0.2+9-jre|.
> 
>                                     Also change the path in the netbeans configuration file to the right java path.
> 
>                                     Configured the environment variables |PATH| and |JAVA_HOME|.
> 
>                                     When I try to run the app nothing happens.
> 
>                                     Somebody else with same issue?
> 
> 
>                                     Also wrote this question on https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: Netbeans 10.0 - doesn't start

Posted by Davide Moschini <da...@gmail.com>.
Changed the folder name of JDK to C:\....\jdk-11.0.2
Changed Path and Environment Variables to point to this folder
Changed netbeans.conf to point to this folder

On Tue, Feb 19, 2019 at 4:41 PM Peter Steele <st...@gmail.com> wrote:

> Maybe the + in the jdk directory name is the problem
>
> On Tue, 19 Feb 2019, 15:32 Davide Moschini <davide.moschini@gmail.com
> wrote:
>
>> When I double click on the executable nothing happens. Checked in
>> processExplorer and i don't see the process in the list. Seems that it
>> never starts
>>
>> On Tue, Feb 19, 2019 at 4:30 PM Geertjan Wielenga <
>> geertjan.wielenga@googlemail.com> wrote:
>>
>>> Just double-click the executable and forget about that --jdkhome flag,
>>> you don't need it.
>>>
>>> Gj
>>>
>>> On Tue, Feb 19, 2019 at 4:26 PM Davide Moschini <
>>> davide.moschini@gmail.com> wrote:
>>>
>>>> I would like to summarize the steps taken (sorry I forgot to include
>>>> the netbeans mailing list in the last emails sent)
>>>> - Netbeans 10.0 is "installed" in a folder on a D: partition.
>>>> - JDK (openJDK at the moment) is installed in folder "C:\Program
>>>> Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>> - I'm using Windows 10 64 bit
>>>> - ENVIRONMENT VARIABLES:
>>>>     * JAVA_HOME: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9\
>>>>     * JDK_HOME: %JAVA_HOME%
>>>>     * JRE_HOME: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9-jre
>>>>     * Path: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9\bin, C:\Program
>>>> Files\AdoptOpenJDK\jdk-11.0.2+9-jre\bin.....(other stuff)
>>>> - netbeans.conf: commented out the line
>>>>      netbeans_jdkhome="C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>> - cmd line
>>>>     * netbeans64.exe --jdkhome "C:\Program
>>>> Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>    The answer from cmd is:
>>>>       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.
>>>> - when I run javac -version from command line the answer is:
>>>>     javac 11.0.2
>>>>
>>>> Netbeans never started.
>>>>
>>>> davide
>>>>
>>>>
>>>>
>>>> On Tue, Feb 19, 2019 at 3:48 PM Geertjan Wielenga <
>>>> geertjan.wielenga@googlemail.com> wrote:
>>>>
>>>>> Maybe comment out the line in netbeans.conf pointing to the JDK,
>>>>> instead run 'echo %path%' to check that it is on your path (and put the JDK
>>>>> on your path in Environment Variables if needed) and then double-click the
>>>>> executable again.
>>>>>
>>>>> Gj
>>>>>
>>>>> On Tue, Feb 19, 2019 at 3:36 PM Geertjan Wielenga <
>>>>> geertjan.wielenga@googlemail.com> wrote:
>>>>>
>>>>>> On Windows, I don't have any problem starting up Apache NetBeans 10,
>>>>>> just by double-clicking the executable. I don't need any --jdkhome switch.
>>>>>> In etc/netbeans.conf, I have netbeans_jdkhome commented out, so that I use
>>>>>> the system's installed JDK. When I run 'echo %path%' from the command line,
>>>>>> I see that the JDK as well as its bin folder are included there.
>>>>>>
>>>>>> Gj
>>>>>>
>>>>>> On Tue, Feb 19, 2019 at 3:24 PM Davide Moschini <
>>>>>> davide.moschini@gmail.com> wrote:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ---------- Forwarded message ---------
>>>>>>> From: Davide Moschini <da...@gmail.com>
>>>>>>> Date: Tue, Feb 19, 2019 at 2:58 PM
>>>>>>> Subject: Re: Netbeans 10.0 - doesn't start
>>>>>>> To: Geertjan Wielenga <ge...@googlemail.com>
>>>>>>>
>>>>>>>
>>>>>>> From command line, the version after the execution of "javac
>>>>>>> -version" is:
>>>>>>> javac 11.0.2
>>>>>>>
>>>>>>> In netbeans.conf I have:
>>>>>>> netbeans_jdkhome="C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>>>>
>>>>>>> davide
>>>>>>>
>>>>>>> On Tue, Feb 19, 2019 at 2:52 PM Geertjan Wielenga <
>>>>>>> geertjan.wielenga@googlemail.com> wrote:
>>>>>>>
>>>>>>>> When you run this on the command line, what do you see: javac
>>>>>>>> -version
>>>>>>>>
>>>>>>>> What is the path you're referring to in netbeans.conf?
>>>>>>>>
>>>>>>>> Gj
>>>>>>>>
>>>>>>>> On Tue, Feb 19, 2019 at 2:50 PM Davide Moschini <
>>>>>>>> davide.moschini@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> I've just downloaded Netbeans 10.0 and on a Windows 10 64 bit it
>>>>>>>>> doesn't start when i execute netbeans64.exe (not even with
>>>>>>>>> netbeans.exe)
>>>>>>>>>
>>>>>>>>> I removed all the previous java installations and installed
>>>>>>>>> jdk-11.0.2+9 and jdk-11.0.2+9-jre.
>>>>>>>>>
>>>>>>>>> Also change the path in the netbeans configuration file to the
>>>>>>>>> right java path.
>>>>>>>>>
>>>>>>>>> Configured the environment variables PATH and JAVA_HOME.
>>>>>>>>>
>>>>>>>>> When I try to run the app nothing happens.
>>>>>>>>>
>>>>>>>>> Somebody else with same issue?
>>>>>>>>>
>>>>>>>>> Also wrote this question on
>>>>>>>>> https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os
>>>>>>>>>
>>>>>>>>

Re: Netbeans 10.0 - doesn't start

Posted by Peter Steele <st...@gmail.com>.
Maybe the + in the jdk directory name is the problem

On Tue, 19 Feb 2019, 15:32 Davide Moschini <davide.moschini@gmail.com wrote:

> When I double click on the executable nothing happens. Checked in
> processExplorer and i don't see the process in the list. Seems that it
> never starts
>
> On Tue, Feb 19, 2019 at 4:30 PM Geertjan Wielenga <
> geertjan.wielenga@googlemail.com> wrote:
>
>> Just double-click the executable and forget about that --jdkhome flag,
>> you don't need it.
>>
>> Gj
>>
>> On Tue, Feb 19, 2019 at 4:26 PM Davide Moschini <
>> davide.moschini@gmail.com> wrote:
>>
>>> I would like to summarize the steps taken (sorry I forgot to include the
>>> netbeans mailing list in the last emails sent)
>>> - Netbeans 10.0 is "installed" in a folder on a D: partition.
>>> - JDK (openJDK at the moment) is installed in folder "C:\Program
>>> Files\AdoptOpenJDK\jdk-11.0.2+9"
>>> - I'm using Windows 10 64 bit
>>> - ENVIRONMENT VARIABLES:
>>>     * JAVA_HOME: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9\
>>>     * JDK_HOME: %JAVA_HOME%
>>>     * JRE_HOME: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9-jre
>>>     * Path: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9\bin, C:\Program
>>> Files\AdoptOpenJDK\jdk-11.0.2+9-jre\bin.....(other stuff)
>>> - netbeans.conf: commented out the line
>>>      netbeans_jdkhome="C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
>>> - cmd line
>>>     * netbeans64.exe --jdkhome "C:\Program
>>> Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>    The answer from cmd is:
>>>       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.
>>> - when I run javac -version from command line the answer is:
>>>     javac 11.0.2
>>>
>>> Netbeans never started.
>>>
>>> davide
>>>
>>>
>>>
>>> On Tue, Feb 19, 2019 at 3:48 PM Geertjan Wielenga <
>>> geertjan.wielenga@googlemail.com> wrote:
>>>
>>>> Maybe comment out the line in netbeans.conf pointing to the JDK,
>>>> instead run 'echo %path%' to check that it is on your path (and put the JDK
>>>> on your path in Environment Variables if needed) and then double-click the
>>>> executable again.
>>>>
>>>> Gj
>>>>
>>>> On Tue, Feb 19, 2019 at 3:36 PM Geertjan Wielenga <
>>>> geertjan.wielenga@googlemail.com> wrote:
>>>>
>>>>> On Windows, I don't have any problem starting up Apache NetBeans 10,
>>>>> just by double-clicking the executable. I don't need any --jdkhome switch.
>>>>> In etc/netbeans.conf, I have netbeans_jdkhome commented out, so that I use
>>>>> the system's installed JDK. When I run 'echo %path%' from the command line,
>>>>> I see that the JDK as well as its bin folder are included there.
>>>>>
>>>>> Gj
>>>>>
>>>>> On Tue, Feb 19, 2019 at 3:24 PM Davide Moschini <
>>>>> davide.moschini@gmail.com> wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> ---------- Forwarded message ---------
>>>>>> From: Davide Moschini <da...@gmail.com>
>>>>>> Date: Tue, Feb 19, 2019 at 2:58 PM
>>>>>> Subject: Re: Netbeans 10.0 - doesn't start
>>>>>> To: Geertjan Wielenga <ge...@googlemail.com>
>>>>>>
>>>>>>
>>>>>> From command line, the version after the execution of "javac
>>>>>> -version" is:
>>>>>> javac 11.0.2
>>>>>>
>>>>>> In netbeans.conf I have:
>>>>>> netbeans_jdkhome="C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>>>
>>>>>> davide
>>>>>>
>>>>>> On Tue, Feb 19, 2019 at 2:52 PM Geertjan Wielenga <
>>>>>> geertjan.wielenga@googlemail.com> wrote:
>>>>>>
>>>>>>> When you run this on the command line, what do you see: javac
>>>>>>> -version
>>>>>>>
>>>>>>> What is the path you're referring to in netbeans.conf?
>>>>>>>
>>>>>>> Gj
>>>>>>>
>>>>>>> On Tue, Feb 19, 2019 at 2:50 PM Davide Moschini <
>>>>>>> davide.moschini@gmail.com> wrote:
>>>>>>>
>>>>>>>> I've just downloaded Netbeans 10.0 and on a Windows 10 64 bit it
>>>>>>>> doesn't start when i execute netbeans64.exe (not even with
>>>>>>>> netbeans.exe)
>>>>>>>>
>>>>>>>> I removed all the previous java installations and installed
>>>>>>>> jdk-11.0.2+9 and jdk-11.0.2+9-jre.
>>>>>>>>
>>>>>>>> Also change the path in the netbeans configuration file to the
>>>>>>>> right java path.
>>>>>>>>
>>>>>>>> Configured the environment variables PATH and JAVA_HOME.
>>>>>>>>
>>>>>>>> When I try to run the app nothing happens.
>>>>>>>>
>>>>>>>> Somebody else with same issue?
>>>>>>>>
>>>>>>>> Also wrote this question on
>>>>>>>> https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os
>>>>>>>>
>>>>>>>

Re: Netbeans 10.0 - doesn't start

Posted by Davide Moschini <da...@gmail.com>.
When I double click on the executable nothing happens. Checked in
processExplorer and i don't see the process in the list. Seems that it
never starts

On Tue, Feb 19, 2019 at 4:30 PM Geertjan Wielenga <
geertjan.wielenga@googlemail.com> wrote:

> Just double-click the executable and forget about that --jdkhome flag, you
> don't need it.
>
> Gj
>
> On Tue, Feb 19, 2019 at 4:26 PM Davide Moschini <da...@gmail.com>
> wrote:
>
>> I would like to summarize the steps taken (sorry I forgot to include the
>> netbeans mailing list in the last emails sent)
>> - Netbeans 10.0 is "installed" in a folder on a D: partition.
>> - JDK (openJDK at the moment) is installed in folder "C:\Program
>> Files\AdoptOpenJDK\jdk-11.0.2+9"
>> - I'm using Windows 10 64 bit
>> - ENVIRONMENT VARIABLES:
>>     * JAVA_HOME: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9\
>>     * JDK_HOME: %JAVA_HOME%
>>     * JRE_HOME: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9-jre
>>     * Path: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9\bin, C:\Program
>> Files\AdoptOpenJDK\jdk-11.0.2+9-jre\bin.....(other stuff)
>> - netbeans.conf: commented out the line
>>      netbeans_jdkhome="C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
>> - cmd line
>>     * netbeans64.exe --jdkhome "C:\Program
>> Files\AdoptOpenJDK\jdk-11.0.2+9"
>>    The answer from cmd is:
>>       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.
>> - when I run javac -version from command line the answer is:
>>     javac 11.0.2
>>
>> Netbeans never started.
>>
>> davide
>>
>>
>>
>> On Tue, Feb 19, 2019 at 3:48 PM Geertjan Wielenga <
>> geertjan.wielenga@googlemail.com> wrote:
>>
>>> Maybe comment out the line in netbeans.conf pointing to the JDK, instead
>>> run 'echo %path%' to check that it is on your path (and put the JDK on your
>>> path in Environment Variables if needed) and then double-click the
>>> executable again.
>>>
>>> Gj
>>>
>>> On Tue, Feb 19, 2019 at 3:36 PM Geertjan Wielenga <
>>> geertjan.wielenga@googlemail.com> wrote:
>>>
>>>> On Windows, I don't have any problem starting up Apache NetBeans 10,
>>>> just by double-clicking the executable. I don't need any --jdkhome switch.
>>>> In etc/netbeans.conf, I have netbeans_jdkhome commented out, so that I use
>>>> the system's installed JDK. When I run 'echo %path%' from the command line,
>>>> I see that the JDK as well as its bin folder are included there.
>>>>
>>>> Gj
>>>>
>>>> On Tue, Feb 19, 2019 at 3:24 PM Davide Moschini <
>>>> davide.moschini@gmail.com> wrote:
>>>>
>>>>>
>>>>>
>>>>> ---------- Forwarded message ---------
>>>>> From: Davide Moschini <da...@gmail.com>
>>>>> Date: Tue, Feb 19, 2019 at 2:58 PM
>>>>> Subject: Re: Netbeans 10.0 - doesn't start
>>>>> To: Geertjan Wielenga <ge...@googlemail.com>
>>>>>
>>>>>
>>>>> From command line, the version after the execution of "javac -version"
>>>>> is:
>>>>> javac 11.0.2
>>>>>
>>>>> In netbeans.conf I have:
>>>>> netbeans_jdkhome="C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>>
>>>>> davide
>>>>>
>>>>> On Tue, Feb 19, 2019 at 2:52 PM Geertjan Wielenga <
>>>>> geertjan.wielenga@googlemail.com> wrote:
>>>>>
>>>>>> When you run this on the command line, what do you see: javac -version
>>>>>>
>>>>>> What is the path you're referring to in netbeans.conf?
>>>>>>
>>>>>> Gj
>>>>>>
>>>>>> On Tue, Feb 19, 2019 at 2:50 PM Davide Moschini <
>>>>>> davide.moschini@gmail.com> wrote:
>>>>>>
>>>>>>> I've just downloaded Netbeans 10.0 and on a Windows 10 64 bit it
>>>>>>> doesn't start when i execute netbeans64.exe (not even with
>>>>>>> netbeans.exe)
>>>>>>>
>>>>>>> I removed all the previous java installations and installed
>>>>>>> jdk-11.0.2+9 and jdk-11.0.2+9-jre.
>>>>>>>
>>>>>>> Also change the path in the netbeans configuration file to the right
>>>>>>> java path.
>>>>>>>
>>>>>>> Configured the environment variables PATH and JAVA_HOME.
>>>>>>>
>>>>>>> When I try to run the app nothing happens.
>>>>>>>
>>>>>>> Somebody else with same issue?
>>>>>>>
>>>>>>> Also wrote this question on
>>>>>>> https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os
>>>>>>>
>>>>>>

Re: Netbeans 10.0 - doesn't start

Posted by Thomas Kellerer <sh...@gmx.net>.
Geertjan Wielenga schrieb am 19.02.2019 um 16:31:
> And maybe the fact that you have NetBeans at D: and JDK at C: is the problem.

No, that works just fine for me. 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: Netbeans 10.0 - doesn't start

Posted by Geertjan Wielenga <ge...@googlemail.com.INVALID>.
I now have exactly the same JDK as Davide with Apache NetBeans 10, no
problems at all.

*Product Version:* Apache NetBeans IDE 10.0 (Build
incubator-netbeans-release-380-on-20181217)

*Java:* 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+9

*Runtime:* OpenJDK Runtime Environment 11.0.2+9


With this in netbeans.conf:


netbeans_jdkhome="C:\Users\g_wie\Downloads\OpenJDK11U-jdk_x64_windows_hotspot_11.0.2_9\jdk-11.0.2+9"

Gj

On Tue, Feb 19, 2019 at 4:47 PM Peter Steele <st...@gmail.com> wrote:

> Can you send the contents of the set command from the CMD cli? I'd
> recommending replacing personal identifiable information with dummy values.
> There is something odd going on
>
> On Tue, 19 Feb 2019, 15:43 Davide Moschini <davide.moschini@gmail.com
> wrote:
>
>> Moved everything in C:\Netbeans_10.0
>> no differences... the program doesn't start
>>
>>
>> On Tue, Feb 19, 2019 at 4:31 PM Geertjan Wielenga <
>> geertjan.wielenga@googlemail.com> wrote:
>>
>>> And maybe the fact that you have NetBeans at D: and JDK at C: is the
>>> problem.
>>>
>>> Gj
>>>
>>> On Tue, Feb 19, 2019 at 4:30 PM Geertjan Wielenga <
>>> geertjan.wielenga@googlemail.com> wrote:
>>>
>>>> Just double-click the executable and forget about that --jdkhome flag,
>>>> you don't need it.
>>>>
>>>> Gj
>>>>
>>>> On Tue, Feb 19, 2019 at 4:26 PM Davide Moschini <
>>>> davide.moschini@gmail.com> wrote:
>>>>
>>>>> I would like to summarize the steps taken (sorry I forgot to include
>>>>> the netbeans mailing list in the last emails sent)
>>>>> - Netbeans 10.0 is "installed" in a folder on a D: partition.
>>>>> - JDK (openJDK at the moment) is installed in folder "C:\Program
>>>>> Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>> - I'm using Windows 10 64 bit
>>>>> - ENVIRONMENT VARIABLES:
>>>>>     * JAVA_HOME: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9\
>>>>>     * JDK_HOME: %JAVA_HOME%
>>>>>     * JRE_HOME: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9-jre
>>>>>     * Path: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9\bin, C:\Program
>>>>> Files\AdoptOpenJDK\jdk-11.0.2+9-jre\bin.....(other stuff)
>>>>> - netbeans.conf: commented out the line
>>>>>      netbeans_jdkhome="C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>> - cmd line
>>>>>     * netbeans64.exe --jdkhome "C:\Program
>>>>> Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>>    The answer from cmd is:
>>>>>       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.
>>>>> - when I run javac -version from command line the answer is:
>>>>>     javac 11.0.2
>>>>>
>>>>> Netbeans never started.
>>>>>
>>>>> davide
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Feb 19, 2019 at 3:48 PM Geertjan Wielenga <
>>>>> geertjan.wielenga@googlemail.com> wrote:
>>>>>
>>>>>> Maybe comment out the line in netbeans.conf pointing to the JDK,
>>>>>> instead run 'echo %path%' to check that it is on your path (and put the JDK
>>>>>> on your path in Environment Variables if needed) and then double-click the
>>>>>> executable again.
>>>>>>
>>>>>> Gj
>>>>>>
>>>>>> On Tue, Feb 19, 2019 at 3:36 PM Geertjan Wielenga <
>>>>>> geertjan.wielenga@googlemail.com> wrote:
>>>>>>
>>>>>>> On Windows, I don't have any problem starting up Apache NetBeans 10,
>>>>>>> just by double-clicking the executable. I don't need any --jdkhome switch.
>>>>>>> In etc/netbeans.conf, I have netbeans_jdkhome commented out, so that I use
>>>>>>> the system's installed JDK. When I run 'echo %path%' from the command line,
>>>>>>> I see that the JDK as well as its bin folder are included there.
>>>>>>>
>>>>>>> Gj
>>>>>>>
>>>>>>> On Tue, Feb 19, 2019 at 3:24 PM Davide Moschini <
>>>>>>> davide.moschini@gmail.com> wrote:
>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ---------- Forwarded message ---------
>>>>>>>> From: Davide Moschini <da...@gmail.com>
>>>>>>>> Date: Tue, Feb 19, 2019 at 2:58 PM
>>>>>>>> Subject: Re: Netbeans 10.0 - doesn't start
>>>>>>>> To: Geertjan Wielenga <ge...@googlemail.com>
>>>>>>>>
>>>>>>>>
>>>>>>>> From command line, the version after the execution of "javac
>>>>>>>> -version" is:
>>>>>>>> javac 11.0.2
>>>>>>>>
>>>>>>>> In netbeans.conf I have:
>>>>>>>> netbeans_jdkhome="C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>>>>>
>>>>>>>> davide
>>>>>>>>
>>>>>>>> On Tue, Feb 19, 2019 at 2:52 PM Geertjan Wielenga <
>>>>>>>> geertjan.wielenga@googlemail.com> wrote:
>>>>>>>>
>>>>>>>>> When you run this on the command line, what do you see: javac
>>>>>>>>> -version
>>>>>>>>>
>>>>>>>>> What is the path you're referring to in netbeans.conf?
>>>>>>>>>
>>>>>>>>> Gj
>>>>>>>>>
>>>>>>>>> On Tue, Feb 19, 2019 at 2:50 PM Davide Moschini <
>>>>>>>>> davide.moschini@gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> I've just downloaded Netbeans 10.0 and on a Windows 10 64 bit it
>>>>>>>>>> doesn't start when i execute netbeans64.exe (not even with
>>>>>>>>>> netbeans.exe)
>>>>>>>>>>
>>>>>>>>>> I removed all the previous java installations and installed
>>>>>>>>>> jdk-11.0.2+9 and jdk-11.0.2+9-jre.
>>>>>>>>>>
>>>>>>>>>> Also change the path in the netbeans configuration file to the
>>>>>>>>>> right java path.
>>>>>>>>>>
>>>>>>>>>> Configured the environment variables PATH and JAVA_HOME.
>>>>>>>>>>
>>>>>>>>>> When I try to run the app nothing happens.
>>>>>>>>>>
>>>>>>>>>> Somebody else with same issue?
>>>>>>>>>>
>>>>>>>>>> Also wrote this question on
>>>>>>>>>> https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os
>>>>>>>>>>
>>>>>>>>>

Re: Netbeans 10.0 - doesn't start

Posted by Thomas Kellerer <sh...@gmx.net>.
Do you have any anti-virus running? If yes, try to exclude the JDK and NetBeans directories

Davide Moschini schrieb am 19.02.2019 um 17:48:
> Changed the java installation folder to one in root folder without spaces in the name, and changed the environment variables.
> Changed the netbeans.conf file using my jdk folder as parameter.
> Tried to execute from cmd using no parameters... same output as before
> Tried with parameter --jdkhome and path using slashes or backslashes... same output :/
> 
> Tried both cmd in user and administrator mode.
> 
> 
> 
> On Tue, Feb 19, 2019 at 5:41 PM Geertjan Wielenga <geertjan.wielenga@googlemail.com <ma...@googlemail.com>> wrote:
> 
>     After you install the JDK in a folder without a space, don't use the --jdkhome flag, instead use this in etc/netbeans.conf, which I have just tried and it works:
> 
>     netbeans_jdkhome="C:\Users\g_wie\Downloads\OpenJDK11U-jdk_x64_windows_hotspot_11.0.2_9\jdk-11.0.2+9"
> 
> 
>     I.e., replace 'C:\Users\g_wie\Downloads\' above with 'C:\whatever-is-applicable-to-you'.
> 
>     **
>     Gj


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


RE: Netbeans 10.0 - doesn't start

Posted by Joseph Huber <JH...@stanref.com>.
Hello Davide!

In the reply to your question on stack overflow, there was a suggestion to check if netbeans is creating any kind of logs,
i.e. C:\Users\[yourusername]\AppData\Roaming\NetBeans\10.0\var\log

Did you happen to check that location to see if anything is there?  I didn’t see any mention in the email chain here. Although, you might not be getting far enough along in the launch process for anything to be written there.

Thank You!

Joe Huber
Standard Refrigeration LLC

From: Davide Moschini <da...@gmail.com>
Sent: Tuesday, February 19, 2019 10:48 AM
To: Geertjan Wielenga <ge...@googlemail.com>
Cc: Peter Nabbefeld <pe...@gmx.de>; NetBeans Mailing List <us...@netbeans.apache.org>
Subject: Re: Netbeans 10.0 - doesn't start

Changed the java installation folder to one in root folder without spaces in the name, and changed the environment variables.
Changed the netbeans.conf file using my jdk folder as parameter.
Tried to execute from cmd using no parameters... same output as before
Tried with parameter --jdkhome and path using slashes or backslashes... same output :/

Tried both cmd in user and administrator mode.



On Tue, Feb 19, 2019 at 5:41 PM Geertjan Wielenga <ge...@googlemail.com>> wrote:
After you install the JDK in a folder without a space, don't use the --jdkhome flag, instead use this in etc/netbeans.conf, which I have just tried and it works:


netbeans_jdkhome="C:\Users\g_wie\Downloads\OpenJDK11U-jdk_x64_windows_hotspot_11.0.2_9\jdk-11.0.2+9"



I.e., replace 'C:\Users\g_wie\Downloads\' above with 'C:\whatever-is-applicable-to-you'.

Gj

On Tue, Feb 19, 2019 at 5:29 PM Davide Moschini <da...@gmail.com>> wrote:
Nothing else,
these are the only things printed out.

Now I try to invert the slash and to move the java installation to a folder path without spaces

On Tue, Feb 19, 2019 at 5:20 PM Peter Nabbefeld <pe...@gmx.de>> wrote:
(see inline)

Am 19.02.19 um 17:16 schrieb Davide Moschini:
> Using CMD cli:
> changed the directory to Netbeans bin folder.
> this is the command I wrote:
> netbeans64.exe --jdk-home "C:\.....\jdk-11.0.2"
>
> This is the answer:
> 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.
>
Nothing more? Did it stop right after the last line? Without complaining
about anything?
BTW, probably try to use forward slashes, I'm not sure if Java needs
them to be doubled otherwise (as backslashes are also escape characters
in Java)

P.

>
> On Tue, Feb 19, 2019 at 4:47 PM Peter Steele <st...@gmail.com>
> <ma...@gmail.com>>> wrote:
>
>     Can you send the contents of the set command from the CMD cli? I'd
>     recommending replacing personal identifiable information with
>     dummy values. There is something odd going on
>
>     On Tue, 19 Feb 2019, 15:43 Davide Moschini
>     <da...@gmail.com> <ma...@gmail.com>> wrote:
>
>         Moved everything in C:\Netbeans_10.0
>         no differences... the program doesn't start
>
>
>         On Tue, Feb 19, 2019 at 4:31 PM Geertjan Wielenga
>         <ge...@googlemail.com>
>         <ma...@googlemail.com>>> wrote:
>
>             And maybe the fact that you have NetBeans at D: and JDK at
>             C: is the problem.
>
>             Gj
>
>             On Tue, Feb 19, 2019 at 4:30 PM Geertjan Wielenga
>             <ge...@googlemail.com>
>             <ma...@googlemail.com>>> wrote:
>
>                 Just double-click the executable and forget about that
>                 --jdkhome flag, you don't need it.
>
>                 Gj
>
>                 On Tue, Feb 19, 2019 at 4:26 PM Davide Moschini
>                 <da...@gmail.com>
>                 <ma...@gmail.com>>> wrote:
>
>                     I would like to summarize the steps taken (sorry I
>                     forgot to include the netbeans mailing list in the
>                     last emails sent)
>                     - Netbeans 10.0 is "installed" in a folder on a D:
>                     partition.
>                     - JDK (openJDK at the moment) is installed in
>                     folder "C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
>                     - I'm using Windows 10 64 bit
>                     - ENVIRONMENT VARIABLES:
>                         * JAVA_HOME: C:\Program
>                     Files\AdoptOpenJDK\jdk-11.0.2+9\
>                         * JDK_HOME: %JAVA_HOME%
>                         * JRE_HOME: C:\Program
>                     Files\AdoptOpenJDK\jdk-11.0.2+9-jre
>                         * Path: C:\Program
>                     Files\AdoptOpenJDK\jdk-11.0.2+9\bin, C:\Program
>                     Files\AdoptOpenJDK\jdk-11.0.2+9-jre\bin.....(other
>                     stuff)
>                     - netbeans.conf: commented out the line
>                      netbeans_jdkhome="C:\Program
>                     Files\AdoptOpenJDK\jdk-11.0.2+9"
>                     - cmd line
>                     * netbeans64.exe --jdkhome "C:\Program
>                     Files\AdoptOpenJDK\jdk-11.0.2+9"
>                        The answer from cmd is:
>                           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.
>                     - when I run javac -version from command line the
>                     answer is:
>                         javac 11.0.2
>
>                     Netbeans never started.
>
>                     davide
>
>
>
>                     On Tue, Feb 19, 2019 at 3:48 PM Geertjan Wielenga
>                     <ge...@googlemail.com>
>                     <ma...@googlemail.com>>> wrote:
>
>                         Maybe comment out the line in netbeans.conf
>                         pointing to the JDK, instead run 'echo %path%'
>                         to check that it is on your path (and put the
>                         JDK on your path in Environment Variables if
>                         needed) and then double-click the executable
>                         again.
>
>                         Gj
>
>                         On Tue, Feb 19, 2019 at 3:36 PM Geertjan
>                         Wielenga <ge...@googlemail.com>
>                         <ma...@googlemail.com>>> wrote:
>
>                             On Windows, I don't have any problem
>                             starting up Apache NetBeans 10, just by
>                             double-clicking the executable. I don't
>                             need any --jdkhome switch. In
>                             etc/netbeans.conf, I have netbeans_jdkhome
>                             commented out, so that I use the system's
>                             installed JDK. When I run 'echo %path%'
>                             from the command line, I see that the JDK
>                             as well as its bin folder are included there.
>
>                             Gj
>
>                             On Tue, Feb 19, 2019 at 3:24 PM Davide
>                             Moschini <da...@gmail.com>
>                             <ma...@gmail.com>>> wrote:
>
>
>
>                                 ---------- Forwarded message ---------
>                                 From: *Davide Moschini*
>                                 <da...@gmail.com>
>                                 <ma...@gmail.com>>>
>                                 Date: Tue, Feb 19, 2019 at 2:58 PM
>                                 Subject: Re: Netbeans 10.0 - doesn't start
>                                 To: Geertjan Wielenga
>                                 <ge...@googlemail.com>
>                                 <ma...@googlemail.com>>>
>
>
>                                 From command line, the version after
>                                 the execution of "javac -version" is:
>                                 javac 11.0.2
>
>                                 In netbeans.conf I have:
>                                 netbeans_jdkhome="C:\Program
>                                 Files\AdoptOpenJDK\jdk-11.0.2+9"
>
>                                 davide
>
>                                 On Tue, Feb 19, 2019 at 2:52 PM
>                                 Geertjan Wielenga
>                                 <ge...@googlemail.com>
>                                 <ma...@googlemail.com>>>
>                                 wrote:
>
>                                     When you run this on the command
>                                     line, what do you see: javac -version
>
>                                     What is the path you're referring
>                                     to in netbeans.conf?
>
>                                     Gj
>
>                                     On Tue, Feb 19, 2019 at 2:50 PM
>                                     Davide Moschini
>                                     <da...@gmail.com>
>                                     <ma...@gmail.com>>>
>                                     wrote:
>
>                                         I've just downloaded |Netbeans
>                                         10.0| and on a Windows 10 64
>                                         bit it doesn't start when i
>                                         execute |netbeans64.exe| (not
>                                         even with |netbeans.exe|)
>
>                                         I removed all the previous
>                                         java installations and
>                                         installed |jdk-11.0.2+9| and
>                                         |jdk-11.0.2+9-jre|.
>
>                                         Also change the path in the
>                                         netbeans configuration file to
>                                         the right java path.
>
>                                         Configured the environment
>                                         variables |PATH| and |JAVA_HOME|.
>
>                                         When I try to run the app
>                                         nothing happens.
>
>                                         Somebody else with same issue?
>
>
>                                         Also wrote this question on
>                                         https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org<ma...@netbeans.apache.org>
For additional commands, e-mail: users-help@netbeans.apache.org<ma...@netbeans.apache.org>

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Re: Netbeans 10.0 - doesn't start

Posted by Davide Moschini <da...@gmail.com>.
This is what I have in the log file in the var folder

-------------------------------------------------------------------------------
>Log Session: Tuesday, February 19, 2019 at 6:19:03 PM Central European
Standard Time
>System Info:
  Product Version         = Apache NetBeans Platform 10.0 (Build
incubator-netbeans-release-380-on-20181217)
  Operating System        = Windows 10 version 10.0 running on amd64
  Java; VM; Vendor        = 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+9;
AdoptOpenJDK
  Runtime                 = OpenJDK Runtime Environment 11.0.2+9
  Java Home               = C:\OpenJDK\jdk-11.0.2
  System Locale; Encoding = it_IT (nb); Cp1252
  Home Directory          = C:\Users\davide
  Current Directory       = C:\NetBeans_10.0\bin
  User Directory          = C:\davide_usr
  Cache Directory         = C:\davide_cach
  Installation            = C:\NetBeans_10.0\ergonomics
                            C:\NetBeans_10.0\ide
                            C:\NetBeans_10.0\extide
                            C:\NetBeans_10.0\java
                            C:\NetBeans_10.0\apisupport
                            C:\NetBeans_10.0\webcommon
                            C:\NetBeans_10.0\websvccommon
                            C:\NetBeans_10.0\profiler
                            C:\NetBeans_10.0\php
                            C:\NetBeans_10.0\harness
                            C:\NetBeans_10.0\groovy
                            C:\NetBeans_10.0\javafx
                            C:\NetBeans_10.0\platform
  Boot & Ext. Classpath   =
  Application Classpath   =
C:\NetBeans_10.0\platform\lib\boot.jar;C:\NetBeans_10.0\platform\lib\org-openide-modules.jar;C:\NetBeans_10.0\platform\lib\org-openide-util-lookup.jar;C:\NetBeans_10.0\platform\lib\org-openide-util-ui.jar;C:\NetBeans_10.0\platform\lib\org-openide-util.jar
  Startup Classpath       =
C:\NetBeans_10.0\platform\core\asm-all-5.0.1.jar;C:\NetBeans_10.0\platform\core\core-base.jar;C:\NetBeans_10.0\platform\core\core.jar;C:\NetBeans_10.0\platform\core\org-netbeans-libs-asm.jar;C:\NetBeans_10.0\platform\core\org-openide-filesystems-compat8.jar;C:\NetBeans_10.0\platform\core\org-openide-filesystems.jar
-------------------------------------------------------------------------------
WARNING [org.netbeans.core.startup.Main]
java.lang.NoClassDefFoundError: org.netbeans.upgrade.AutoUpgrade starting
from org.netbeans.MainImpl$BootClassLoader@1810399e with possible defining
loaders null and declared parents ]
at org.netbeans.core.startup.Main.getKlass(Main.java:341)
at org.netbeans.core.startup.Main.access$000(Main.java:49)
[catch] at org.netbeans.core.startup.Main$1ImportHandler.run(Main.java:367)
at
java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at
java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at
java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)


On Tue, Feb 19, 2019 at 5:53 PM Geertjan Wielenga <
geertjan.wielenga@googlemail.com> wrote:

> Only way I can think of is to actually take a look. I am geertjanwielenga
> on Skype, I'm on-line now.
>
> Gj
>
> On Tue, Feb 19, 2019 at 5:48 PM Davide Moschini <da...@gmail.com>
> wrote:
>
>> Changed the java installation folder to one in root folder without spaces
>> in the name, and changed the environment variables.
>> Changed the netbeans.conf file using my jdk folder as parameter.
>> Tried to execute from cmd using no parameters... same output as before
>> Tried with parameter --jdkhome and path using slashes or backslashes...
>> same output :/
>>
>> Tried both cmd in user and administrator mode.
>>
>>
>>
>> On Tue, Feb 19, 2019 at 5:41 PM Geertjan Wielenga <
>> geertjan.wielenga@googlemail.com> wrote:
>>
>>> After you install the JDK in a folder without a space, don't use the
>>> --jdkhome flag, instead use this in etc/netbeans.conf, which I have just
>>> tried and it works:
>>>
>>>
>>> netbeans_jdkhome="C:\Users\g_wie\Downloads\OpenJDK11U-jdk_x64_windows_hotspot_11.0.2_9\jdk-11.0.2+9"
>>>
>>>
>>> I.e., replace 'C:\Users\g_wie\Downloads\' above with
>>> 'C:\whatever-is-applicable-to-you'.
>>>
>>> Gj
>>>
>>> On Tue, Feb 19, 2019 at 5:29 PM Davide Moschini <
>>> davide.moschini@gmail.com> wrote:
>>>
>>>> Nothing else,
>>>> these are the only things printed out.
>>>>
>>>> Now I try to invert the slash and to move the java installation to a
>>>> folder path without spaces
>>>>
>>>> On Tue, Feb 19, 2019 at 5:20 PM Peter Nabbefeld <pe...@gmx.de>
>>>> wrote:
>>>>
>>>>> (see inline)
>>>>>
>>>>> Am 19.02.19 um 17:16 schrieb Davide Moschini:
>>>>> > Using CMD cli:
>>>>> > changed the directory to Netbeans bin folder.
>>>>> > this is the command I wrote:
>>>>> > netbeans64.exe --jdk-home "C:\.....\jdk-11.0.2"
>>>>> >
>>>>> > This is the answer:
>>>>> > 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.
>>>>> >
>>>>> Nothing more? Did it stop right after the last line? Without
>>>>> complaining
>>>>> about anything?
>>>>> BTW, probably try to use forward slashes, I'm not sure if Java needs
>>>>> them to be doubled otherwise (as backslashes are also escape
>>>>> characters
>>>>> in Java)
>>>>>
>>>>> P.
>>>>>
>>>>> >
>>>>> > On Tue, Feb 19, 2019 at 4:47 PM Peter Steele <steelehere@gmail.com
>>>>> > <ma...@gmail.com>> wrote:
>>>>> >
>>>>> >     Can you send the contents of the set command from the CMD cli?
>>>>> I'd
>>>>> >     recommending replacing personal identifiable information with
>>>>> >     dummy values. There is something odd going on
>>>>> >
>>>>> >     On Tue, 19 Feb 2019, 15:43 Davide Moschini
>>>>> >     <davide.moschini@gmail.com <ma...@gmail.com>
>>>>> wrote:
>>>>> >
>>>>> >         Moved everything in C:\Netbeans_10.0
>>>>> >         no differences... the program doesn't start
>>>>> >
>>>>> >
>>>>> >         On Tue, Feb 19, 2019 at 4:31 PM Geertjan Wielenga
>>>>> >         <geertjan.wielenga@googlemail.com
>>>>> >         <ma...@googlemail.com>> wrote:
>>>>> >
>>>>> >             And maybe the fact that you have NetBeans at D: and JDK
>>>>> at
>>>>> >             C: is the problem.
>>>>> >
>>>>> >             Gj
>>>>> >
>>>>> >             On Tue, Feb 19, 2019 at 4:30 PM Geertjan Wielenga
>>>>> >             <geertjan.wielenga@googlemail.com
>>>>> >             <ma...@googlemail.com>> wrote:
>>>>> >
>>>>> >                 Just double-click the executable and forget about
>>>>> that
>>>>> >                 --jdkhome flag, you don't need it.
>>>>> >
>>>>> >                 Gj
>>>>> >
>>>>> >                 On Tue, Feb 19, 2019 at 4:26 PM Davide Moschini
>>>>> >                 <davide.moschini@gmail.com
>>>>> >                 <ma...@gmail.com>> wrote:
>>>>> >
>>>>> >                     I would like to summarize the steps taken (sorry
>>>>> I
>>>>> >                     forgot to include the netbeans mailing list in
>>>>> the
>>>>> >                     last emails sent)
>>>>> >                     - Netbeans 10.0 is "installed" in a folder on a
>>>>> D:
>>>>> >                     partition.
>>>>> >                     - JDK (openJDK at the moment) is installed in
>>>>> >                     folder "C:\Program
>>>>> Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>> >                     - I'm using Windows 10 64 bit
>>>>> >                     - ENVIRONMENT VARIABLES:
>>>>> >                         * JAVA_HOME: C:\Program
>>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9\
>>>>> >                         * JDK_HOME: %JAVA_HOME%
>>>>> >                         * JRE_HOME: C:\Program
>>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9-jre
>>>>> >                         * Path: C:\Program
>>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9\bin, C:\Program
>>>>> >
>>>>>  Files\AdoptOpenJDK\jdk-11.0.2+9-jre\bin.....(other
>>>>> >                     stuff)
>>>>> >                     - netbeans.conf: commented out the line
>>>>> >                      netbeans_jdkhome="C:\Program
>>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>> >                     - cmd line
>>>>> >                     * netbeans64.exe --jdkhome "C:\Program
>>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>> >                        The answer from cmd is:
>>>>> >                           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.
>>>>> >                     - when I run javac -version from command line the
>>>>> >                     answer is:
>>>>> >                         javac 11.0.2
>>>>> >
>>>>> >                     Netbeans never started.
>>>>> >
>>>>> >                     davide
>>>>> >
>>>>> >
>>>>> >
>>>>> >                     On Tue, Feb 19, 2019 at 3:48 PM Geertjan Wielenga
>>>>> >                     <geertjan.wielenga@googlemail.com
>>>>> >                     <ma...@googlemail.com>>
>>>>> wrote:
>>>>> >
>>>>> >                         Maybe comment out the line in netbeans.conf
>>>>> >                         pointing to the JDK, instead run 'echo
>>>>> %path%'
>>>>> >                         to check that it is on your path (and put the
>>>>> >                         JDK on your path in Environment Variables if
>>>>> >                         needed) and then double-click the executable
>>>>> >                         again.
>>>>> >
>>>>> >                         Gj
>>>>> >
>>>>> >                         On Tue, Feb 19, 2019 at 3:36 PM Geertjan
>>>>> >                         Wielenga <geertjan.wielenga@googlemail.com
>>>>> >                         <ma...@googlemail.com>>
>>>>> wrote:
>>>>> >
>>>>> >                             On Windows, I don't have any problem
>>>>> >                             starting up Apache NetBeans 10, just by
>>>>> >                             double-clicking the executable. I don't
>>>>> >                             need any --jdkhome switch. In
>>>>> >                             etc/netbeans.conf, I have
>>>>> netbeans_jdkhome
>>>>> >                             commented out, so that I use the system's
>>>>> >                             installed JDK. When I run 'echo %path%'
>>>>> >                             from the command line, I see that the JDK
>>>>> >                             as well as its bin folder are included
>>>>> there.
>>>>> >
>>>>> >                             Gj
>>>>> >
>>>>> >                             On Tue, Feb 19, 2019 at 3:24 PM Davide
>>>>> >                             Moschini <davide.moschini@gmail.com
>>>>> >                             <ma...@gmail.com>>
>>>>> wrote:
>>>>> >
>>>>> >
>>>>> >
>>>>> >                                 ---------- Forwarded message
>>>>> ---------
>>>>> >                                 From: *Davide Moschini*
>>>>> >                                 <davide.moschini@gmail.com
>>>>> >                                 <ma...@gmail.com>>
>>>>> >                                 Date: Tue, Feb 19, 2019 at 2:58 PM
>>>>> >                                 Subject: Re: Netbeans 10.0 - doesn't
>>>>> start
>>>>> >                                 To: Geertjan Wielenga
>>>>> >                                 <geertjan.wielenga@googlemail.com
>>>>> >                                 <mailto:
>>>>> geertjan.wielenga@googlemail.com>>
>>>>> >
>>>>> >
>>>>> >                                 From command line, the version after
>>>>> >                                 the execution of "javac -version" is:
>>>>> >                                 javac 11.0.2
>>>>> >
>>>>> >                                 In netbeans.conf I have:
>>>>> >                                 netbeans_jdkhome="C:\Program
>>>>> >                                 Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>> >
>>>>> >                                 davide
>>>>> >
>>>>> >                                 On Tue, Feb 19, 2019 at 2:52 PM
>>>>> >                                 Geertjan Wielenga
>>>>> >                                 <geertjan.wielenga@googlemail.com
>>>>> >                                 <mailto:
>>>>> geertjan.wielenga@googlemail.com>>
>>>>> >                                 wrote:
>>>>> >
>>>>> >                                     When you run this on the command
>>>>> >                                     line, what do you see: javac
>>>>> -version
>>>>> >
>>>>> >                                     What is the path you're referring
>>>>> >                                     to in netbeans.conf?
>>>>> >
>>>>> >                                     Gj
>>>>> >
>>>>> >                                     On Tue, Feb 19, 2019 at 2:50 PM
>>>>> >                                     Davide Moschini
>>>>> >                                     <davide.moschini@gmail.com
>>>>> >                                     <mailto:
>>>>> davide.moschini@gmail.com>>
>>>>> >                                     wrote:
>>>>> >
>>>>> >                                         I've just downloaded
>>>>> |Netbeans
>>>>> >                                         10.0| and on a Windows 10 64
>>>>> >                                         bit it doesn't start when i
>>>>> >                                         execute |netbeans64.exe| (not
>>>>> >                                         even with |netbeans.exe|)
>>>>> >
>>>>> >                                         I removed all the previous
>>>>> >                                         java installations and
>>>>> >                                         installed |jdk-11.0.2+9| and
>>>>> >                                         |jdk-11.0.2+9-jre|.
>>>>> >
>>>>> >                                         Also change the path in the
>>>>> >                                         netbeans configuration file
>>>>> to
>>>>> >                                         the right java path.
>>>>> >
>>>>> >                                         Configured the environment
>>>>> >                                         variables |PATH| and
>>>>> |JAVA_HOME|.
>>>>> >
>>>>> >                                         When I try to run the app
>>>>> >                                         nothing happens.
>>>>> >
>>>>> >                                         Somebody else with same
>>>>> issue?
>>>>> >
>>>>> >
>>>>> >                                         Also wrote this question on
>>>>> >
>>>>> https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os
>>>>> >
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
>>>>> For additional commands, e-mail: users-help@netbeans.apache.org
>>>>>
>>>>> For further information about the NetBeans mailing lists, visit:
>>>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>>>>
>>>>>

Re: Netbeans 10.0 - doesn't start

Posted by Davide Moschini <da...@gmail.com>.
Thank you everybody,
I moved again the Netbeans instalation folder from C: drive to D: drive and
now it works (and also renamed it in Netbeans10 without any strange chars)

Thanks to Geertjan for the online chat we had yesterday.

Davide

On Wed, Feb 20, 2019 at 10:35 AM Davide Moschini <da...@gmail.com>
wrote:

> At the moment my system is a laptop with two hard drives: one SSD drive
> (100GB) with OS and some installations (30GB free space left).
> A second hard drive (1Tb) with 600Gb free space.
> 16Gb RAM and a Intel i7-7700 processor.
>
> Netbeans was in the D: Drive before and I moved it now in the C: SSD Drive.
>
> I've tried to change the permission on the netbeans folder and subfolders
> and files but have the same problem.
> Today I try to work on it again and see what can I do.
>
> On Tue, Feb 19, 2019 at 7:29 PM Geertjan Wielenga <
> geertjan.wielenga@googlemail.com> wrote:
>
>> Your system looked pretty full to me, with multiple different drives, and
>> quite a lot going on -- that could explain the problems you're having.
>> Though the tips in https://netbeans.org/bugzilla/show_bug.cgi?id=200324
>> should help you -- please keep responding with your findings, we're very
>> happy to help you as you can see.
>>
>> Gj
>>
>>
>> On Tue, Feb 19, 2019 at 6:29 PM Geertjan Wielenga <
>> geertjan.wielenga@googlemail.com> wrote:
>>
>>> Some more clues and tips, based on your error message:
>>> https://netbeans.org/bugzilla/show_bug.cgi?id=200324
>>>
>>> Can't help thinking it may have something to do with permissions -- and
>>> maybe your disk is full or almost full?
>>>
>>> Gj
>>>
>>> On Tue, Feb 19, 2019 at 6:26 PM Davide Moschini <
>>> davide.moschini@gmail.com> wrote:
>>>
>>>> And this is the trace I have
>>>>
>>>> LoadLibrary("C:\OpenJDK\jdk-11.0.2\bin\server\jvm.dll")
>>>> PrepareDllPath: C:\OpenJDK\jdk-11.0.2\bin
>>>> JVM options:
>>>> -Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade
>>>> -XX:+UseStringDeduplication
>>>> -Xss2m
>>>> -Xms32m
>>>> -Djdk.gtk.version=2.2
>>>> -Dapple.laf.useScreenMenuBar=true
>>>> -Dapple.awt.graphics.UseQuartz=true
>>>> -Dsun.java2d.noddraw=true
>>>> -Dsun.java2d.dpiaware=true
>>>> -Dsun.zip.disableMemoryMapping=true
>>>> -Dplugin.manager.check.updates=false
>>>> -Dnetbeans.extbrowser.manual_chrome_plugin_install=yes
>>>> --add-opens=java.base/java.net=ALL-UNNAMED
>>>> --add-opens=java.base/java.lang.ref=ALL-UNNAMED
>>>> --add-opens=java.base/java.lang=ALL-UNNAMED
>>>> --add-opens=java.base/java.security=ALL-UNNAMED
>>>> --add-opens=java.base/java.util=ALL-UNNAMED
>>>> --add-opens=java.desktop/javax.swing.plaf.basic=ALL-UNNAMED
>>>> --add-opens=java.desktop/javax.swing.text=ALL-UNNAMED
>>>> --add-opens=java.desktop/javax.swing=ALL-UNNAMED
>>>> --add-opens=java.desktop/java.awt=ALL-UNNAMED
>>>> --add-opens=java.desktop/java.awt.event=ALL-UNNAMED
>>>> --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED
>>>> --add-opens=jdk.jshell/jdk.jshell=ALL-UNNAMED
>>>> --add-modules=jdk.jshell
>>>> --add-exports=java.desktop/sun.awt=ALL-UNNAMED
>>>> --add-exports=java.desktop/java.awt.peer=ALL-UNNAMED
>>>> --add-exports=java.desktop/com.sun.beans.editors=ALL-UNNAMED
>>>> --add-exports=java.desktop/sun.swing=ALL-UNNAMED
>>>> --add-exports=java.desktop/sun.awt.im=ALL-UNNAMED
>>>> --add-exports=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED
>>>> --add-exports=java.management/sun.management=ALL-UNNAMED
>>>> --add-exports=java.base/sun.reflect.annotation=ALL-UNNAMED
>>>> --add-exports=jdk.javadoc/com.sun.tools.javadoc.main=ALL-UNNAMED
>>>> -XX:+IgnoreUnrecognizedVMOptions
>>>> -Xmx1024m
>>>> -Djdk.home=C:\OpenJDK\jdk-11.0.2
>>>> -Dnetbeans.home=C:\NetBeans_10.0\platform
>>>> -Dnetbeans.user=C:\davide_usr
>>>> -Dnetbeans.default_userdir_root=C:\Users\davide\AppData\Roaming\NetBeans
>>>> -XX:+HeapDumpOnOutOfMemoryError
>>>> -XX:HeapDumpPath=C:\davide_usr\var\log\heapdump.hprof
>>>> -Dsun.awt.keepWorkingSetOnMinimize=true
>>>>
>>>> -Dnetbeans.dirs=C:\NetBeans_10.0\nb;C:\NetBeans_10.0\ergonomics;C:\NetBeans_10.0\ide;C:\NetBeans_10.0\extide;C:\NetBeans_10.0\java;C:\NetBeans_10.0\apisupport;C:\NetBeans_10.0\webcommon;C:\NetBeans_10.0\websvccommon;C:\NetBeans_10.0\enterprise;C:\NetBeans_10.0\mobility;C:\NetBeans_10.0\profiler;C:\NetBeans_10.0\python;C:\NetBeans_10.0\php;C:\NetBeans_10.0\identity;C:\NetBeans_10.0\harness;C:\NetBeans_10.0\cnd;C:\NetBeans_10.0\cndext;C:\NetBeans_10.0\dlight;C:\NetBeans_10.0\groovy;C:\NetBeans_10.0\extra;C:\NetBeans_10.0\javacard;C:\NetBeans_10.0\javafx
>>>>
>>>> -Djava.class.path=C:\NetBeans_10.0\platform\lib\boot.jar;C:\NetBeans_10.0\platform\lib\org-openide-modules.jar;C:\NetBeans_10.0\platform\lib\org-openide-util-lookup.jar;C:\NetBeans_10.0\platform\lib\org-openide-util-ui.jar;C:\NetBeans_10.0\platform\lib\org-openide-util.jar
>>>> Creating JVM...
>>>> JVM created.
>>>> Exit hook called with status 0
>>>> onExit()
>>>> processAutoUpdateCL()...
>>>> File "C:\davide_usr\update\download\netbeans.dirs" does not exist
>>>> checkForNewUpdater() at C:\NetBeans_10.0\platform
>>>> No new updater at
>>>> C:\NetBeans_10.0\platform\update\new_updater\updater.jar
>>>> Checking for updates: C:\NetBeans_10.0\platform\update\download\*.nbm
>>>> checkForNewUpdater() at C:\NetBeans_10.0\nb
>>>> No new updater at C:\NetBeans_10.0\nb\update\new_updater\updater.jar
>>>> Checking for updates: C:\NetBeans_10.0\nb\update\download\*.nbm
>>>> checkForNewUpdater() at C:\NetBeans_10.0\ergonomics
>>>> No new updater at
>>>> C:\NetBeans_10.0\ergonomics\update\new_updater\updater.jar
>>>> Checking for updates: C:\NetBeans_10.0\ergonomics\update\download\*.nbm
>>>> checkForNewUpdater() at C:\NetBeans_10.0\ide
>>>> No new updater at C:\NetBeans_10.0\ide\update\new_updater\updater.jar
>>>> Checking for updates: C:\NetBeans_10.0\ide\update\download\*.nbm
>>>> checkForNewUpdater() at C:\NetBeans_10.0\extide
>>>> No new updater at C:\NetBeans_10.0\extide\update\new_updater\updater.jar
>>>> Checking for updates: C:\NetBeans_10.0\extide\update\download\*.nbm
>>>> checkForNewUpdater() at C:\NetBeans_10.0\java
>>>> No new updater at C:\NetBeans_10.0\java\update\new_updater\updater.jar
>>>> Checking for updates: C:\NetBeans_10.0\java\update\download\*.nbm
>>>> checkForNewUpdater() at C:\NetBeans_10.0\apisupport
>>>> No new updater at
>>>> C:\NetBeans_10.0\apisupport\update\new_updater\updater.jar
>>>> Checking for updates: C:\NetBeans_10.0\apisupport\update\download\*.nbm
>>>> checkForNewUpdater() at C:\NetBeans_10.0\webcommon
>>>> No new updater at
>>>> C:\NetBeans_10.0\webcommon\update\new_updater\updater.jar
>>>> Checking for updates: C:\NetBeans_10.0\webcommon\update\download\*.nbm
>>>> checkForNewUpdater() at C:\NetBeans_10.0\websvccommon
>>>> No new updater at
>>>> C:\NetBeans_10.0\websvccommon\update\new_updater\updater.jar
>>>> Checking for updates:
>>>> C:\NetBeans_10.0\websvccommon\update\download\*.nbm
>>>> checkForNewUpdater() at C:\NetBeans_10.0\enterprise
>>>> No new updater at
>>>> C:\NetBeans_10.0\enterprise\update\new_updater\updater.jar
>>>> Checking for updates: C:\NetBeans_10.0\enterprise\update\download\*.nbm
>>>> checkForNewUpdater() at C:\NetBeans_10.0\mobility
>>>> No new updater at
>>>> C:\NetBeans_10.0\mobility\update\new_updater\updater.jar
>>>> Checking for updates: C:\NetBeans_10.0\mobility\update\download\*.nbm
>>>> checkForNewUpdater() at C:\NetBeans_10.0\profiler
>>>> No new updater at
>>>> C:\NetBeans_10.0\profiler\update\new_updater\updater.jar
>>>> Checking for updates: C:\NetBeans_10.0\profiler\update\download\*.nbm
>>>> checkForNewUpdater() at C:\NetBeans_10.0\python
>>>> No new updater at C:\NetBeans_10.0\python\update\new_updater\updater.jar
>>>> Checking for updates: C:\NetBeans_10.0\python\update\download\*.nbm
>>>> checkForNewUpdater() at C:\NetBeans_10.0\php
>>>> No new updater at C:\NetBeans_10.0\php\update\new_updater\updater.jar
>>>> Checking for updates: C:\NetBeans_10.0\php\update\download\*.nbm
>>>> checkForNewUpdater() at C:\NetBeans_10.0\identity
>>>> No new updater at
>>>> C:\NetBeans_10.0\identity\update\new_updater\updater.jar
>>>> Checking for updates: C:\NetBeans_10.0\identity\update\download\*.nbm
>>>> checkForNewUpdater() at C:\NetBeans_10.0\harness
>>>> No new updater at
>>>> C:\NetBeans_10.0\harness\update\new_updater\updater.jar
>>>> Checking for updates: C:\NetBeans_10.0\harness\update\download\*.nbm
>>>> checkForNewUpdater() at C:\NetBeans_10.0\cnd
>>>> No new updater at C:\NetBeans_10.0\cnd\update\new_updater\updater.jar
>>>> Checking for updates: C:\NetBeans_10.0\cnd\update\download\*.nbm
>>>> checkForNewUpdater() at C:\NetBeans_10.0\cndext
>>>> No new updater at C:\NetBeans_10.0\cndext\update\new_updater\updater.jar
>>>> Checking for updates: C:\NetBeans_10.0\cndext\update\download\*.nbm
>>>> checkForNewUpdater() at C:\NetBeans_10.0\dlight
>>>> No new updater at C:\NetBeans_10.0\dlight\update\new_updater\updater.jar
>>>> Checking for updates: C:\NetBeans_10.0\dlight\update\download\*.nbm
>>>> checkForNewUpdater() at C:\NetBeans_10.0\groovy
>>>> No new updater at C:\NetBeans_10.0\groovy\update\new_updater\updater.jar
>>>> Checking for updates: C:\NetBeans_10.0\groovy\update\download\*.nbm
>>>> checkForNewUpdater() at C:\NetBeans_10.0\extra
>>>> No new updater at C:\NetBeans_10.0\extra\update\new_updater\updater.jar
>>>> Checking for updates: C:\NetBeans_10.0\extra\update\download\*.nbm
>>>> checkForNewUpdater() at C:\NetBeans_10.0\javacard
>>>> No new updater at
>>>> C:\NetBeans_10.0\javacard\update\new_updater\updater.jar
>>>> Checking for updates: C:\NetBeans_10.0\javacard\update\download\*.nbm
>>>> checkForNewUpdater() at C:\NetBeans_10.0\javafx
>>>> No new updater at C:\NetBeans_10.0\javafx\update\new_updater\updater.jar
>>>> Checking for updates: C:\NetBeans_10.0\javafx\update\download\*.nbm
>>>> checkForNewUpdater() at C:\davide_usr
>>>> No new updater at C:\davide_usr\update\new_updater\updater.jar
>>>> Checking for updates: C:\davide_usr\update\download\*.nbm
>>>> File "C:\davide_usr\var\restart" does not exist
>>>> onExit()
>>>> Already exiting, no need to schedule restart
>>>>
>>>> On Tue, Feb 19, 2019 at 6:01 PM Lars Bruun-Hansen <
>>>> lbruunhansen@gmail.com> wrote:
>>>>
>>>>>
>>>>> Perhaps do a trace on the launcher, i.e.
>>>>>
>>>>> netbeans64.exe --trace "mytrace.log"
>>>>>
>>>>> and then post the file mytrace.log here.
>>>>>
>>>>> Note that I cannot get the argument to "--trace" to accept a full
>>>>> path. Don't really understand why. In any case the above command will
>>>>> produce the "mytrace.log" file in the current directory.
>>>>>
>>>>> /Lars
>>>>>
>>>>> On Tue, Feb 19, 2019 at 5:53 PM Geertjan Wielenga
>>>>> <ge...@googlemail.com.invalid> wrote:
>>>>>
>>>>>> Only way I can think of is to actually take a look. I am
>>>>>> geertjanwielenga on Skype, I'm on-line now.
>>>>>>
>>>>>> Gj
>>>>>>
>>>>>> On Tue, Feb 19, 2019 at 5:48 PM Davide Moschini <
>>>>>> davide.moschini@gmail.com> wrote:
>>>>>>
>>>>>>> Changed the java installation folder to one in root folder without
>>>>>>> spaces in the name, and changed the environment variables.
>>>>>>> Changed the netbeans.conf file using my jdk folder as parameter.
>>>>>>> Tried to execute from cmd using no parameters... same output as
>>>>>>> before
>>>>>>> Tried with parameter --jdkhome and path using slashes or
>>>>>>> backslashes... same output :/
>>>>>>>
>>>>>>> Tried both cmd in user and administrator mode.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Feb 19, 2019 at 5:41 PM Geertjan Wielenga <
>>>>>>> geertjan.wielenga@googlemail.com> wrote:
>>>>>>>
>>>>>>>> After you install the JDK in a folder without a space, don't use
>>>>>>>> the --jdkhome flag, instead use this in etc/netbeans.conf, which I have
>>>>>>>> just tried and it works:
>>>>>>>>
>>>>>>>>
>>>>>>>> netbeans_jdkhome="C:\Users\g_wie\Downloads\OpenJDK11U-jdk_x64_windows_hotspot_11.0.2_9\jdk-11.0.2+9"
>>>>>>>>
>>>>>>>>
>>>>>>>> I.e., replace 'C:\Users\g_wie\Downloads\' above with
>>>>>>>> 'C:\whatever-is-applicable-to-you'.
>>>>>>>>
>>>>>>>> Gj
>>>>>>>>
>>>>>>>> On Tue, Feb 19, 2019 at 5:29 PM Davide Moschini <
>>>>>>>> davide.moschini@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> Nothing else,
>>>>>>>>> these are the only things printed out.
>>>>>>>>>
>>>>>>>>> Now I try to invert the slash and to move the java installation to
>>>>>>>>> a folder path without spaces
>>>>>>>>>
>>>>>>>>> On Tue, Feb 19, 2019 at 5:20 PM Peter Nabbefeld <
>>>>>>>>> peter.nabbefeld@gmx.de> wrote:
>>>>>>>>>
>>>>>>>>>> (see inline)
>>>>>>>>>>
>>>>>>>>>> Am 19.02.19 um 17:16 schrieb Davide Moschini:
>>>>>>>>>> > Using CMD cli:
>>>>>>>>>> > changed the directory to Netbeans bin folder.
>>>>>>>>>> > this is the command I wrote:
>>>>>>>>>> > netbeans64.exe --jdk-home "C:\.....\jdk-11.0.2"
>>>>>>>>>> >
>>>>>>>>>> > This is the answer:
>>>>>>>>>> > 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.
>>>>>>>>>> >
>>>>>>>>>> Nothing more? Did it stop right after the last line? Without
>>>>>>>>>> complaining
>>>>>>>>>> about anything?
>>>>>>>>>> BTW, probably try to use forward slashes, I'm not sure if Java
>>>>>>>>>> needs
>>>>>>>>>> them to be doubled otherwise (as backslashes are also escape
>>>>>>>>>> characters
>>>>>>>>>> in Java)
>>>>>>>>>>
>>>>>>>>>> P.
>>>>>>>>>>
>>>>>>>>>> >
>>>>>>>>>> > On Tue, Feb 19, 2019 at 4:47 PM Peter Steele <
>>>>>>>>>> steelehere@gmail.com
>>>>>>>>>> > <ma...@gmail.com>> wrote:
>>>>>>>>>> >
>>>>>>>>>> >     Can you send the contents of the set command from the CMD
>>>>>>>>>> cli? I'd
>>>>>>>>>> >     recommending replacing personal identifiable information
>>>>>>>>>> with
>>>>>>>>>> >     dummy values. There is something odd going on
>>>>>>>>>> >
>>>>>>>>>> >     On Tue, 19 Feb 2019, 15:43 Davide Moschini
>>>>>>>>>> >     <davide.moschini@gmail.com <mailto:
>>>>>>>>>> davide.moschini@gmail.com> wrote:
>>>>>>>>>> >
>>>>>>>>>> >         Moved everything in C:\Netbeans_10.0
>>>>>>>>>> >         no differences... the program doesn't start
>>>>>>>>>> >
>>>>>>>>>> >
>>>>>>>>>> >         On Tue, Feb 19, 2019 at 4:31 PM Geertjan Wielenga
>>>>>>>>>> >         <geertjan.wielenga@googlemail.com
>>>>>>>>>> >         <ma...@googlemail.com>> wrote:
>>>>>>>>>> >
>>>>>>>>>> >             And maybe the fact that you have NetBeans at D: and
>>>>>>>>>> JDK at
>>>>>>>>>> >             C: is the problem.
>>>>>>>>>> >
>>>>>>>>>> >             Gj
>>>>>>>>>> >
>>>>>>>>>> >             On Tue, Feb 19, 2019 at 4:30 PM Geertjan Wielenga
>>>>>>>>>> >             <geertjan.wielenga@googlemail.com
>>>>>>>>>> >             <ma...@googlemail.com>> wrote:
>>>>>>>>>> >
>>>>>>>>>> >                 Just double-click the executable and forget
>>>>>>>>>> about that
>>>>>>>>>> >                 --jdkhome flag, you don't need it.
>>>>>>>>>> >
>>>>>>>>>> >                 Gj
>>>>>>>>>> >
>>>>>>>>>> >                 On Tue, Feb 19, 2019 at 4:26 PM Davide Moschini
>>>>>>>>>> >                 <davide.moschini@gmail.com
>>>>>>>>>> >                 <ma...@gmail.com>> wrote:
>>>>>>>>>> >
>>>>>>>>>> >                     I would like to summarize the steps taken
>>>>>>>>>> (sorry I
>>>>>>>>>> >                     forgot to include the netbeans mailing list
>>>>>>>>>> in the
>>>>>>>>>> >                     last emails sent)
>>>>>>>>>> >                     - Netbeans 10.0 is "installed" in a folder
>>>>>>>>>> on a D:
>>>>>>>>>> >                     partition.
>>>>>>>>>> >                     - JDK (openJDK at the moment) is installed
>>>>>>>>>> in
>>>>>>>>>> >                     folder "C:\Program
>>>>>>>>>> Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>>>>>>> >                     - I'm using Windows 10 64 bit
>>>>>>>>>> >                     - ENVIRONMENT VARIABLES:
>>>>>>>>>> >                         * JAVA_HOME: C:\Program
>>>>>>>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9\
>>>>>>>>>> >                         * JDK_HOME: %JAVA_HOME%
>>>>>>>>>> >                         * JRE_HOME: C:\Program
>>>>>>>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9-jre
>>>>>>>>>> >                         * Path: C:\Program
>>>>>>>>>> >
>>>>>>>>>>  Files\AdoptOpenJDK\jdk-11.0.2+9\bin, C:\Program
>>>>>>>>>> >
>>>>>>>>>>  Files\AdoptOpenJDK\jdk-11.0.2+9-jre\bin.....(other
>>>>>>>>>> >                     stuff)
>>>>>>>>>> >                     - netbeans.conf: commented out the line
>>>>>>>>>> >                      netbeans_jdkhome="C:\Program
>>>>>>>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>>>>>>> >                     - cmd line
>>>>>>>>>> >                     * netbeans64.exe --jdkhome "C:\Program
>>>>>>>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>>>>>>> >                        The answer from cmd is:
>>>>>>>>>> >                           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.
>>>>>>>>>> >                     - when I run javac -version from command
>>>>>>>>>> line the
>>>>>>>>>> >                     answer is:
>>>>>>>>>> >                         javac 11.0.2
>>>>>>>>>> >
>>>>>>>>>> >                     Netbeans never started.
>>>>>>>>>> >
>>>>>>>>>> >                     davide
>>>>>>>>>> >
>>>>>>>>>> >
>>>>>>>>>> >
>>>>>>>>>> >                     On Tue, Feb 19, 2019 at 3:48 PM Geertjan
>>>>>>>>>> Wielenga
>>>>>>>>>> >                     <geertjan.wielenga@googlemail.com
>>>>>>>>>> >                     <ma...@googlemail.com>>
>>>>>>>>>> wrote:
>>>>>>>>>> >
>>>>>>>>>> >                         Maybe comment out the line in
>>>>>>>>>> netbeans.conf
>>>>>>>>>> >                         pointing to the JDK, instead run 'echo
>>>>>>>>>> %path%'
>>>>>>>>>> >                         to check that it is on your path (and
>>>>>>>>>> put the
>>>>>>>>>> >                         JDK on your path in Environment
>>>>>>>>>> Variables if
>>>>>>>>>> >                         needed) and then double-click the
>>>>>>>>>> executable
>>>>>>>>>> >                         again.
>>>>>>>>>> >
>>>>>>>>>> >                         Gj
>>>>>>>>>> >
>>>>>>>>>> >                         On Tue, Feb 19, 2019 at 3:36 PM Geertjan
>>>>>>>>>> >                         Wielenga <
>>>>>>>>>> geertjan.wielenga@googlemail.com
>>>>>>>>>> >                         <mailto:
>>>>>>>>>> geertjan.wielenga@googlemail.com>> wrote:
>>>>>>>>>> >
>>>>>>>>>> >                             On Windows, I don't have any problem
>>>>>>>>>> >                             starting up Apache NetBeans 10,
>>>>>>>>>> just by
>>>>>>>>>> >                             double-clicking the executable. I
>>>>>>>>>> don't
>>>>>>>>>> >                             need any --jdkhome switch. In
>>>>>>>>>> >                             etc/netbeans.conf, I have
>>>>>>>>>> netbeans_jdkhome
>>>>>>>>>> >                             commented out, so that I use the
>>>>>>>>>> system's
>>>>>>>>>> >                             installed JDK. When I run 'echo
>>>>>>>>>> %path%'
>>>>>>>>>> >                             from the command line, I see that
>>>>>>>>>> the JDK
>>>>>>>>>> >                             as well as its bin folder are
>>>>>>>>>> included there.
>>>>>>>>>> >
>>>>>>>>>> >                             Gj
>>>>>>>>>> >
>>>>>>>>>> >                             On Tue, Feb 19, 2019 at 3:24 PM
>>>>>>>>>> Davide
>>>>>>>>>> >                             Moschini <davide.moschini@gmail.com
>>>>>>>>>> >                             <ma...@gmail.com>>
>>>>>>>>>> wrote:
>>>>>>>>>> >
>>>>>>>>>> >
>>>>>>>>>> >
>>>>>>>>>> >                                 ---------- Forwarded message
>>>>>>>>>> ---------
>>>>>>>>>> >                                 From: *Davide Moschini*
>>>>>>>>>> >                                 <davide.moschini@gmail.com
>>>>>>>>>> >                                 <mailto:
>>>>>>>>>> davide.moschini@gmail.com>>
>>>>>>>>>> >                                 Date: Tue, Feb 19, 2019 at 2:58
>>>>>>>>>> PM
>>>>>>>>>> >                                 Subject: Re: Netbeans 10.0 -
>>>>>>>>>> doesn't start
>>>>>>>>>> >                                 To: Geertjan Wielenga
>>>>>>>>>> >                                 <
>>>>>>>>>> geertjan.wielenga@googlemail.com
>>>>>>>>>> >                                 <mailto:
>>>>>>>>>> geertjan.wielenga@googlemail.com>>
>>>>>>>>>> >
>>>>>>>>>> >
>>>>>>>>>> >                                 From command line, the version
>>>>>>>>>> after
>>>>>>>>>> >                                 the execution of "javac
>>>>>>>>>> -version" is:
>>>>>>>>>> >                                 javac 11.0.2
>>>>>>>>>> >
>>>>>>>>>> >                                 In netbeans.conf I have:
>>>>>>>>>> >                                 netbeans_jdkhome="C:\Program
>>>>>>>>>> >                                 Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>>>>>>> >
>>>>>>>>>> >                                 davide
>>>>>>>>>> >
>>>>>>>>>> >                                 On Tue, Feb 19, 2019 at 2:52 PM
>>>>>>>>>> >                                 Geertjan Wielenga
>>>>>>>>>> >                                 <
>>>>>>>>>> geertjan.wielenga@googlemail.com
>>>>>>>>>> >                                 <mailto:
>>>>>>>>>> geertjan.wielenga@googlemail.com>>
>>>>>>>>>> >                                 wrote:
>>>>>>>>>> >
>>>>>>>>>> >                                     When you run this on the
>>>>>>>>>> command
>>>>>>>>>> >                                     line, what do you see:
>>>>>>>>>> javac -version
>>>>>>>>>> >
>>>>>>>>>> >                                     What is the path you're
>>>>>>>>>> referring
>>>>>>>>>> >                                     to in netbeans.conf?
>>>>>>>>>> >
>>>>>>>>>> >                                     Gj
>>>>>>>>>> >
>>>>>>>>>> >                                     On Tue, Feb 19, 2019 at
>>>>>>>>>> 2:50 PM
>>>>>>>>>> >                                     Davide Moschini
>>>>>>>>>> >                                     <davide.moschini@gmail.com
>>>>>>>>>> >                                     <mailto:
>>>>>>>>>> davide.moschini@gmail.com>>
>>>>>>>>>> >                                     wrote:
>>>>>>>>>> >
>>>>>>>>>> >                                         I've just downloaded
>>>>>>>>>> |Netbeans
>>>>>>>>>> >                                         10.0| and on a Windows
>>>>>>>>>> 10 64
>>>>>>>>>> >                                         bit it doesn't start
>>>>>>>>>> when i
>>>>>>>>>> >                                         execute
>>>>>>>>>> |netbeans64.exe| (not
>>>>>>>>>> >                                         even with
>>>>>>>>>> |netbeans.exe|)
>>>>>>>>>> >
>>>>>>>>>> >                                         I removed all the
>>>>>>>>>> previous
>>>>>>>>>> >                                         java installations and
>>>>>>>>>> >                                         installed
>>>>>>>>>> |jdk-11.0.2+9| and
>>>>>>>>>> >                                         |jdk-11.0.2+9-jre|.
>>>>>>>>>> >
>>>>>>>>>> >                                         Also change the path in
>>>>>>>>>> the
>>>>>>>>>> >                                         netbeans configuration
>>>>>>>>>> file to
>>>>>>>>>> >                                         the right java path.
>>>>>>>>>> >
>>>>>>>>>> >                                         Configured the
>>>>>>>>>> environment
>>>>>>>>>> >                                         variables |PATH| and
>>>>>>>>>> |JAVA_HOME|.
>>>>>>>>>> >
>>>>>>>>>> >                                         When I try to run the
>>>>>>>>>> app
>>>>>>>>>> >                                         nothing happens.
>>>>>>>>>> >
>>>>>>>>>> >                                         Somebody else with same
>>>>>>>>>> issue?
>>>>>>>>>> >
>>>>>>>>>> >
>>>>>>>>>> >                                         Also wrote this
>>>>>>>>>> question on
>>>>>>>>>> >
>>>>>>>>>> https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os
>>>>>>>>>> >
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>>> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
>>>>>>>>>> For additional commands, e-mail: users-help@netbeans.apache.org
>>>>>>>>>>
>>>>>>>>>> For further information about the NetBeans mailing lists, visit:
>>>>>>>>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>>>>>>>>>
>>>>>>>>>>

Re: Netbeans 10.0 - doesn't start

Posted by Davide Moschini <da...@gmail.com>.
At the moment my system is a laptop with two hard drives: one SSD drive
(100GB) with OS and some installations (30GB free space left).
A second hard drive (1Tb) with 600Gb free space.
16Gb RAM and a Intel i7-7700 processor.

Netbeans was in the D: Drive before and I moved it now in the C: SSD Drive.

I've tried to change the permission on the netbeans folder and subfolders
and files but have the same problem.
Today I try to work on it again and see what can I do.

On Tue, Feb 19, 2019 at 7:29 PM Geertjan Wielenga <
geertjan.wielenga@googlemail.com> wrote:

> Your system looked pretty full to me, with multiple different drives, and
> quite a lot going on -- that could explain the problems you're having.
> Though the tips in https://netbeans.org/bugzilla/show_bug.cgi?id=200324
> should help you -- please keep responding with your findings, we're very
> happy to help you as you can see.
>
> Gj
>
>
> On Tue, Feb 19, 2019 at 6:29 PM Geertjan Wielenga <
> geertjan.wielenga@googlemail.com> wrote:
>
>> Some more clues and tips, based on your error message:
>> https://netbeans.org/bugzilla/show_bug.cgi?id=200324
>>
>> Can't help thinking it may have something to do with permissions -- and
>> maybe your disk is full or almost full?
>>
>> Gj
>>
>> On Tue, Feb 19, 2019 at 6:26 PM Davide Moschini <
>> davide.moschini@gmail.com> wrote:
>>
>>> And this is the trace I have
>>>
>>> LoadLibrary("C:\OpenJDK\jdk-11.0.2\bin\server\jvm.dll")
>>> PrepareDllPath: C:\OpenJDK\jdk-11.0.2\bin
>>> JVM options:
>>> -Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade
>>> -XX:+UseStringDeduplication
>>> -Xss2m
>>> -Xms32m
>>> -Djdk.gtk.version=2.2
>>> -Dapple.laf.useScreenMenuBar=true
>>> -Dapple.awt.graphics.UseQuartz=true
>>> -Dsun.java2d.noddraw=true
>>> -Dsun.java2d.dpiaware=true
>>> -Dsun.zip.disableMemoryMapping=true
>>> -Dplugin.manager.check.updates=false
>>> -Dnetbeans.extbrowser.manual_chrome_plugin_install=yes
>>> --add-opens=java.base/java.net=ALL-UNNAMED
>>> --add-opens=java.base/java.lang.ref=ALL-UNNAMED
>>> --add-opens=java.base/java.lang=ALL-UNNAMED
>>> --add-opens=java.base/java.security=ALL-UNNAMED
>>> --add-opens=java.base/java.util=ALL-UNNAMED
>>> --add-opens=java.desktop/javax.swing.plaf.basic=ALL-UNNAMED
>>> --add-opens=java.desktop/javax.swing.text=ALL-UNNAMED
>>> --add-opens=java.desktop/javax.swing=ALL-UNNAMED
>>> --add-opens=java.desktop/java.awt=ALL-UNNAMED
>>> --add-opens=java.desktop/java.awt.event=ALL-UNNAMED
>>> --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED
>>> --add-opens=jdk.jshell/jdk.jshell=ALL-UNNAMED
>>> --add-modules=jdk.jshell
>>> --add-exports=java.desktop/sun.awt=ALL-UNNAMED
>>> --add-exports=java.desktop/java.awt.peer=ALL-UNNAMED
>>> --add-exports=java.desktop/com.sun.beans.editors=ALL-UNNAMED
>>> --add-exports=java.desktop/sun.swing=ALL-UNNAMED
>>> --add-exports=java.desktop/sun.awt.im=ALL-UNNAMED
>>> --add-exports=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED
>>> --add-exports=java.management/sun.management=ALL-UNNAMED
>>> --add-exports=java.base/sun.reflect.annotation=ALL-UNNAMED
>>> --add-exports=jdk.javadoc/com.sun.tools.javadoc.main=ALL-UNNAMED
>>> -XX:+IgnoreUnrecognizedVMOptions
>>> -Xmx1024m
>>> -Djdk.home=C:\OpenJDK\jdk-11.0.2
>>> -Dnetbeans.home=C:\NetBeans_10.0\platform
>>> -Dnetbeans.user=C:\davide_usr
>>> -Dnetbeans.default_userdir_root=C:\Users\davide\AppData\Roaming\NetBeans
>>> -XX:+HeapDumpOnOutOfMemoryError
>>> -XX:HeapDumpPath=C:\davide_usr\var\log\heapdump.hprof
>>> -Dsun.awt.keepWorkingSetOnMinimize=true
>>>
>>> -Dnetbeans.dirs=C:\NetBeans_10.0\nb;C:\NetBeans_10.0\ergonomics;C:\NetBeans_10.0\ide;C:\NetBeans_10.0\extide;C:\NetBeans_10.0\java;C:\NetBeans_10.0\apisupport;C:\NetBeans_10.0\webcommon;C:\NetBeans_10.0\websvccommon;C:\NetBeans_10.0\enterprise;C:\NetBeans_10.0\mobility;C:\NetBeans_10.0\profiler;C:\NetBeans_10.0\python;C:\NetBeans_10.0\php;C:\NetBeans_10.0\identity;C:\NetBeans_10.0\harness;C:\NetBeans_10.0\cnd;C:\NetBeans_10.0\cndext;C:\NetBeans_10.0\dlight;C:\NetBeans_10.0\groovy;C:\NetBeans_10.0\extra;C:\NetBeans_10.0\javacard;C:\NetBeans_10.0\javafx
>>>
>>> -Djava.class.path=C:\NetBeans_10.0\platform\lib\boot.jar;C:\NetBeans_10.0\platform\lib\org-openide-modules.jar;C:\NetBeans_10.0\platform\lib\org-openide-util-lookup.jar;C:\NetBeans_10.0\platform\lib\org-openide-util-ui.jar;C:\NetBeans_10.0\platform\lib\org-openide-util.jar
>>> Creating JVM...
>>> JVM created.
>>> Exit hook called with status 0
>>> onExit()
>>> processAutoUpdateCL()...
>>> File "C:\davide_usr\update\download\netbeans.dirs" does not exist
>>> checkForNewUpdater() at C:\NetBeans_10.0\platform
>>> No new updater at
>>> C:\NetBeans_10.0\platform\update\new_updater\updater.jar
>>> Checking for updates: C:\NetBeans_10.0\platform\update\download\*.nbm
>>> checkForNewUpdater() at C:\NetBeans_10.0\nb
>>> No new updater at C:\NetBeans_10.0\nb\update\new_updater\updater.jar
>>> Checking for updates: C:\NetBeans_10.0\nb\update\download\*.nbm
>>> checkForNewUpdater() at C:\NetBeans_10.0\ergonomics
>>> No new updater at
>>> C:\NetBeans_10.0\ergonomics\update\new_updater\updater.jar
>>> Checking for updates: C:\NetBeans_10.0\ergonomics\update\download\*.nbm
>>> checkForNewUpdater() at C:\NetBeans_10.0\ide
>>> No new updater at C:\NetBeans_10.0\ide\update\new_updater\updater.jar
>>> Checking for updates: C:\NetBeans_10.0\ide\update\download\*.nbm
>>> checkForNewUpdater() at C:\NetBeans_10.0\extide
>>> No new updater at C:\NetBeans_10.0\extide\update\new_updater\updater.jar
>>> Checking for updates: C:\NetBeans_10.0\extide\update\download\*.nbm
>>> checkForNewUpdater() at C:\NetBeans_10.0\java
>>> No new updater at C:\NetBeans_10.0\java\update\new_updater\updater.jar
>>> Checking for updates: C:\NetBeans_10.0\java\update\download\*.nbm
>>> checkForNewUpdater() at C:\NetBeans_10.0\apisupport
>>> No new updater at
>>> C:\NetBeans_10.0\apisupport\update\new_updater\updater.jar
>>> Checking for updates: C:\NetBeans_10.0\apisupport\update\download\*.nbm
>>> checkForNewUpdater() at C:\NetBeans_10.0\webcommon
>>> No new updater at
>>> C:\NetBeans_10.0\webcommon\update\new_updater\updater.jar
>>> Checking for updates: C:\NetBeans_10.0\webcommon\update\download\*.nbm
>>> checkForNewUpdater() at C:\NetBeans_10.0\websvccommon
>>> No new updater at
>>> C:\NetBeans_10.0\websvccommon\update\new_updater\updater.jar
>>> Checking for updates: C:\NetBeans_10.0\websvccommon\update\download\*.nbm
>>> checkForNewUpdater() at C:\NetBeans_10.0\enterprise
>>> No new updater at
>>> C:\NetBeans_10.0\enterprise\update\new_updater\updater.jar
>>> Checking for updates: C:\NetBeans_10.0\enterprise\update\download\*.nbm
>>> checkForNewUpdater() at C:\NetBeans_10.0\mobility
>>> No new updater at
>>> C:\NetBeans_10.0\mobility\update\new_updater\updater.jar
>>> Checking for updates: C:\NetBeans_10.0\mobility\update\download\*.nbm
>>> checkForNewUpdater() at C:\NetBeans_10.0\profiler
>>> No new updater at
>>> C:\NetBeans_10.0\profiler\update\new_updater\updater.jar
>>> Checking for updates: C:\NetBeans_10.0\profiler\update\download\*.nbm
>>> checkForNewUpdater() at C:\NetBeans_10.0\python
>>> No new updater at C:\NetBeans_10.0\python\update\new_updater\updater.jar
>>> Checking for updates: C:\NetBeans_10.0\python\update\download\*.nbm
>>> checkForNewUpdater() at C:\NetBeans_10.0\php
>>> No new updater at C:\NetBeans_10.0\php\update\new_updater\updater.jar
>>> Checking for updates: C:\NetBeans_10.0\php\update\download\*.nbm
>>> checkForNewUpdater() at C:\NetBeans_10.0\identity
>>> No new updater at
>>> C:\NetBeans_10.0\identity\update\new_updater\updater.jar
>>> Checking for updates: C:\NetBeans_10.0\identity\update\download\*.nbm
>>> checkForNewUpdater() at C:\NetBeans_10.0\harness
>>> No new updater at C:\NetBeans_10.0\harness\update\new_updater\updater.jar
>>> Checking for updates: C:\NetBeans_10.0\harness\update\download\*.nbm
>>> checkForNewUpdater() at C:\NetBeans_10.0\cnd
>>> No new updater at C:\NetBeans_10.0\cnd\update\new_updater\updater.jar
>>> Checking for updates: C:\NetBeans_10.0\cnd\update\download\*.nbm
>>> checkForNewUpdater() at C:\NetBeans_10.0\cndext
>>> No new updater at C:\NetBeans_10.0\cndext\update\new_updater\updater.jar
>>> Checking for updates: C:\NetBeans_10.0\cndext\update\download\*.nbm
>>> checkForNewUpdater() at C:\NetBeans_10.0\dlight
>>> No new updater at C:\NetBeans_10.0\dlight\update\new_updater\updater.jar
>>> Checking for updates: C:\NetBeans_10.0\dlight\update\download\*.nbm
>>> checkForNewUpdater() at C:\NetBeans_10.0\groovy
>>> No new updater at C:\NetBeans_10.0\groovy\update\new_updater\updater.jar
>>> Checking for updates: C:\NetBeans_10.0\groovy\update\download\*.nbm
>>> checkForNewUpdater() at C:\NetBeans_10.0\extra
>>> No new updater at C:\NetBeans_10.0\extra\update\new_updater\updater.jar
>>> Checking for updates: C:\NetBeans_10.0\extra\update\download\*.nbm
>>> checkForNewUpdater() at C:\NetBeans_10.0\javacard
>>> No new updater at
>>> C:\NetBeans_10.0\javacard\update\new_updater\updater.jar
>>> Checking for updates: C:\NetBeans_10.0\javacard\update\download\*.nbm
>>> checkForNewUpdater() at C:\NetBeans_10.0\javafx
>>> No new updater at C:\NetBeans_10.0\javafx\update\new_updater\updater.jar
>>> Checking for updates: C:\NetBeans_10.0\javafx\update\download\*.nbm
>>> checkForNewUpdater() at C:\davide_usr
>>> No new updater at C:\davide_usr\update\new_updater\updater.jar
>>> Checking for updates: C:\davide_usr\update\download\*.nbm
>>> File "C:\davide_usr\var\restart" does not exist
>>> onExit()
>>> Already exiting, no need to schedule restart
>>>
>>> On Tue, Feb 19, 2019 at 6:01 PM Lars Bruun-Hansen <
>>> lbruunhansen@gmail.com> wrote:
>>>
>>>>
>>>> Perhaps do a trace on the launcher, i.e.
>>>>
>>>> netbeans64.exe --trace "mytrace.log"
>>>>
>>>> and then post the file mytrace.log here.
>>>>
>>>> Note that I cannot get the argument to "--trace" to accept a full path.
>>>> Don't really understand why. In any case the above command will produce the
>>>> "mytrace.log" file in the current directory.
>>>>
>>>> /Lars
>>>>
>>>> On Tue, Feb 19, 2019 at 5:53 PM Geertjan Wielenga
>>>> <ge...@googlemail.com.invalid> wrote:
>>>>
>>>>> Only way I can think of is to actually take a look. I am
>>>>> geertjanwielenga on Skype, I'm on-line now.
>>>>>
>>>>> Gj
>>>>>
>>>>> On Tue, Feb 19, 2019 at 5:48 PM Davide Moschini <
>>>>> davide.moschini@gmail.com> wrote:
>>>>>
>>>>>> Changed the java installation folder to one in root folder without
>>>>>> spaces in the name, and changed the environment variables.
>>>>>> Changed the netbeans.conf file using my jdk folder as parameter.
>>>>>> Tried to execute from cmd using no parameters... same output as before
>>>>>> Tried with parameter --jdkhome and path using slashes or
>>>>>> backslashes... same output :/
>>>>>>
>>>>>> Tried both cmd in user and administrator mode.
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Feb 19, 2019 at 5:41 PM Geertjan Wielenga <
>>>>>> geertjan.wielenga@googlemail.com> wrote:
>>>>>>
>>>>>>> After you install the JDK in a folder without a space, don't use the
>>>>>>> --jdkhome flag, instead use this in etc/netbeans.conf, which I have just
>>>>>>> tried and it works:
>>>>>>>
>>>>>>>
>>>>>>> netbeans_jdkhome="C:\Users\g_wie\Downloads\OpenJDK11U-jdk_x64_windows_hotspot_11.0.2_9\jdk-11.0.2+9"
>>>>>>>
>>>>>>>
>>>>>>> I.e., replace 'C:\Users\g_wie\Downloads\' above with
>>>>>>> 'C:\whatever-is-applicable-to-you'.
>>>>>>>
>>>>>>> Gj
>>>>>>>
>>>>>>> On Tue, Feb 19, 2019 at 5:29 PM Davide Moschini <
>>>>>>> davide.moschini@gmail.com> wrote:
>>>>>>>
>>>>>>>> Nothing else,
>>>>>>>> these are the only things printed out.
>>>>>>>>
>>>>>>>> Now I try to invert the slash and to move the java installation to
>>>>>>>> a folder path without spaces
>>>>>>>>
>>>>>>>> On Tue, Feb 19, 2019 at 5:20 PM Peter Nabbefeld <
>>>>>>>> peter.nabbefeld@gmx.de> wrote:
>>>>>>>>
>>>>>>>>> (see inline)
>>>>>>>>>
>>>>>>>>> Am 19.02.19 um 17:16 schrieb Davide Moschini:
>>>>>>>>> > Using CMD cli:
>>>>>>>>> > changed the directory to Netbeans bin folder.
>>>>>>>>> > this is the command I wrote:
>>>>>>>>> > netbeans64.exe --jdk-home "C:\.....\jdk-11.0.2"
>>>>>>>>> >
>>>>>>>>> > This is the answer:
>>>>>>>>> > 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.
>>>>>>>>> >
>>>>>>>>> Nothing more? Did it stop right after the last line? Without
>>>>>>>>> complaining
>>>>>>>>> about anything?
>>>>>>>>> BTW, probably try to use forward slashes, I'm not sure if Java
>>>>>>>>> needs
>>>>>>>>> them to be doubled otherwise (as backslashes are also escape
>>>>>>>>> characters
>>>>>>>>> in Java)
>>>>>>>>>
>>>>>>>>> P.
>>>>>>>>>
>>>>>>>>> >
>>>>>>>>> > On Tue, Feb 19, 2019 at 4:47 PM Peter Steele <
>>>>>>>>> steelehere@gmail.com
>>>>>>>>> > <ma...@gmail.com>> wrote:
>>>>>>>>> >
>>>>>>>>> >     Can you send the contents of the set command from the CMD
>>>>>>>>> cli? I'd
>>>>>>>>> >     recommending replacing personal identifiable information with
>>>>>>>>> >     dummy values. There is something odd going on
>>>>>>>>> >
>>>>>>>>> >     On Tue, 19 Feb 2019, 15:43 Davide Moschini
>>>>>>>>> >     <davide.moschini@gmail.com <ma...@gmail.com>
>>>>>>>>> wrote:
>>>>>>>>> >
>>>>>>>>> >         Moved everything in C:\Netbeans_10.0
>>>>>>>>> >         no differences... the program doesn't start
>>>>>>>>> >
>>>>>>>>> >
>>>>>>>>> >         On Tue, Feb 19, 2019 at 4:31 PM Geertjan Wielenga
>>>>>>>>> >         <geertjan.wielenga@googlemail.com
>>>>>>>>> >         <ma...@googlemail.com>> wrote:
>>>>>>>>> >
>>>>>>>>> >             And maybe the fact that you have NetBeans at D: and
>>>>>>>>> JDK at
>>>>>>>>> >             C: is the problem.
>>>>>>>>> >
>>>>>>>>> >             Gj
>>>>>>>>> >
>>>>>>>>> >             On Tue, Feb 19, 2019 at 4:30 PM Geertjan Wielenga
>>>>>>>>> >             <geertjan.wielenga@googlemail.com
>>>>>>>>> >             <ma...@googlemail.com>> wrote:
>>>>>>>>> >
>>>>>>>>> >                 Just double-click the executable and forget
>>>>>>>>> about that
>>>>>>>>> >                 --jdkhome flag, you don't need it.
>>>>>>>>> >
>>>>>>>>> >                 Gj
>>>>>>>>> >
>>>>>>>>> >                 On Tue, Feb 19, 2019 at 4:26 PM Davide Moschini
>>>>>>>>> >                 <davide.moschini@gmail.com
>>>>>>>>> >                 <ma...@gmail.com>> wrote:
>>>>>>>>> >
>>>>>>>>> >                     I would like to summarize the steps taken
>>>>>>>>> (sorry I
>>>>>>>>> >                     forgot to include the netbeans mailing list
>>>>>>>>> in the
>>>>>>>>> >                     last emails sent)
>>>>>>>>> >                     - Netbeans 10.0 is "installed" in a folder
>>>>>>>>> on a D:
>>>>>>>>> >                     partition.
>>>>>>>>> >                     - JDK (openJDK at the moment) is installed in
>>>>>>>>> >                     folder "C:\Program
>>>>>>>>> Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>>>>>> >                     - I'm using Windows 10 64 bit
>>>>>>>>> >                     - ENVIRONMENT VARIABLES:
>>>>>>>>> >                         * JAVA_HOME: C:\Program
>>>>>>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9\
>>>>>>>>> >                         * JDK_HOME: %JAVA_HOME%
>>>>>>>>> >                         * JRE_HOME: C:\Program
>>>>>>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9-jre
>>>>>>>>> >                         * Path: C:\Program
>>>>>>>>> >
>>>>>>>>>  Files\AdoptOpenJDK\jdk-11.0.2+9\bin, C:\Program
>>>>>>>>> >
>>>>>>>>>  Files\AdoptOpenJDK\jdk-11.0.2+9-jre\bin.....(other
>>>>>>>>> >                     stuff)
>>>>>>>>> >                     - netbeans.conf: commented out the line
>>>>>>>>> >                      netbeans_jdkhome="C:\Program
>>>>>>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>>>>>> >                     - cmd line
>>>>>>>>> >                     * netbeans64.exe --jdkhome "C:\Program
>>>>>>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>>>>>> >                        The answer from cmd is:
>>>>>>>>> >                           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.
>>>>>>>>> >                     - when I run javac -version from command
>>>>>>>>> line the
>>>>>>>>> >                     answer is:
>>>>>>>>> >                         javac 11.0.2
>>>>>>>>> >
>>>>>>>>> >                     Netbeans never started.
>>>>>>>>> >
>>>>>>>>> >                     davide
>>>>>>>>> >
>>>>>>>>> >
>>>>>>>>> >
>>>>>>>>> >                     On Tue, Feb 19, 2019 at 3:48 PM Geertjan
>>>>>>>>> Wielenga
>>>>>>>>> >                     <geertjan.wielenga@googlemail.com
>>>>>>>>> >                     <ma...@googlemail.com>>
>>>>>>>>> wrote:
>>>>>>>>> >
>>>>>>>>> >                         Maybe comment out the line in
>>>>>>>>> netbeans.conf
>>>>>>>>> >                         pointing to the JDK, instead run 'echo
>>>>>>>>> %path%'
>>>>>>>>> >                         to check that it is on your path (and
>>>>>>>>> put the
>>>>>>>>> >                         JDK on your path in Environment
>>>>>>>>> Variables if
>>>>>>>>> >                         needed) and then double-click the
>>>>>>>>> executable
>>>>>>>>> >                         again.
>>>>>>>>> >
>>>>>>>>> >                         Gj
>>>>>>>>> >
>>>>>>>>> >                         On Tue, Feb 19, 2019 at 3:36 PM Geertjan
>>>>>>>>> >                         Wielenga <
>>>>>>>>> geertjan.wielenga@googlemail.com
>>>>>>>>> >                         <ma...@googlemail.com>>
>>>>>>>>> wrote:
>>>>>>>>> >
>>>>>>>>> >                             On Windows, I don't have any problem
>>>>>>>>> >                             starting up Apache NetBeans 10, just
>>>>>>>>> by
>>>>>>>>> >                             double-clicking the executable. I
>>>>>>>>> don't
>>>>>>>>> >                             need any --jdkhome switch. In
>>>>>>>>> >                             etc/netbeans.conf, I have
>>>>>>>>> netbeans_jdkhome
>>>>>>>>> >                             commented out, so that I use the
>>>>>>>>> system's
>>>>>>>>> >                             installed JDK. When I run 'echo
>>>>>>>>> %path%'
>>>>>>>>> >                             from the command line, I see that
>>>>>>>>> the JDK
>>>>>>>>> >                             as well as its bin folder are
>>>>>>>>> included there.
>>>>>>>>> >
>>>>>>>>> >                             Gj
>>>>>>>>> >
>>>>>>>>> >                             On Tue, Feb 19, 2019 at 3:24 PM
>>>>>>>>> Davide
>>>>>>>>> >                             Moschini <davide.moschini@gmail.com
>>>>>>>>> >                             <ma...@gmail.com>>
>>>>>>>>> wrote:
>>>>>>>>> >
>>>>>>>>> >
>>>>>>>>> >
>>>>>>>>> >                                 ---------- Forwarded message
>>>>>>>>> ---------
>>>>>>>>> >                                 From: *Davide Moschini*
>>>>>>>>> >                                 <davide.moschini@gmail.com
>>>>>>>>> >                                 <mailto:
>>>>>>>>> davide.moschini@gmail.com>>
>>>>>>>>> >                                 Date: Tue, Feb 19, 2019 at 2:58
>>>>>>>>> PM
>>>>>>>>> >                                 Subject: Re: Netbeans 10.0 -
>>>>>>>>> doesn't start
>>>>>>>>> >                                 To: Geertjan Wielenga
>>>>>>>>> >                                 <
>>>>>>>>> geertjan.wielenga@googlemail.com
>>>>>>>>> >                                 <mailto:
>>>>>>>>> geertjan.wielenga@googlemail.com>>
>>>>>>>>> >
>>>>>>>>> >
>>>>>>>>> >                                 From command line, the version
>>>>>>>>> after
>>>>>>>>> >                                 the execution of "javac
>>>>>>>>> -version" is:
>>>>>>>>> >                                 javac 11.0.2
>>>>>>>>> >
>>>>>>>>> >                                 In netbeans.conf I have:
>>>>>>>>> >                                 netbeans_jdkhome="C:\Program
>>>>>>>>> >                                 Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>>>>>> >
>>>>>>>>> >                                 davide
>>>>>>>>> >
>>>>>>>>> >                                 On Tue, Feb 19, 2019 at 2:52 PM
>>>>>>>>> >                                 Geertjan Wielenga
>>>>>>>>> >                                 <
>>>>>>>>> geertjan.wielenga@googlemail.com
>>>>>>>>> >                                 <mailto:
>>>>>>>>> geertjan.wielenga@googlemail.com>>
>>>>>>>>> >                                 wrote:
>>>>>>>>> >
>>>>>>>>> >                                     When you run this on the
>>>>>>>>> command
>>>>>>>>> >                                     line, what do you see: javac
>>>>>>>>> -version
>>>>>>>>> >
>>>>>>>>> >                                     What is the path you're
>>>>>>>>> referring
>>>>>>>>> >                                     to in netbeans.conf?
>>>>>>>>> >
>>>>>>>>> >                                     Gj
>>>>>>>>> >
>>>>>>>>> >                                     On Tue, Feb 19, 2019 at 2:50
>>>>>>>>> PM
>>>>>>>>> >                                     Davide Moschini
>>>>>>>>> >                                     <davide.moschini@gmail.com
>>>>>>>>> >                                     <mailto:
>>>>>>>>> davide.moschini@gmail.com>>
>>>>>>>>> >                                     wrote:
>>>>>>>>> >
>>>>>>>>> >                                         I've just downloaded
>>>>>>>>> |Netbeans
>>>>>>>>> >                                         10.0| and on a Windows
>>>>>>>>> 10 64
>>>>>>>>> >                                         bit it doesn't start
>>>>>>>>> when i
>>>>>>>>> >                                         execute
>>>>>>>>> |netbeans64.exe| (not
>>>>>>>>> >                                         even with |netbeans.exe|)
>>>>>>>>> >
>>>>>>>>> >                                         I removed all the
>>>>>>>>> previous
>>>>>>>>> >                                         java installations and
>>>>>>>>> >                                         installed
>>>>>>>>> |jdk-11.0.2+9| and
>>>>>>>>> >                                         |jdk-11.0.2+9-jre|.
>>>>>>>>> >
>>>>>>>>> >                                         Also change the path in
>>>>>>>>> the
>>>>>>>>> >                                         netbeans configuration
>>>>>>>>> file to
>>>>>>>>> >                                         the right java path.
>>>>>>>>> >
>>>>>>>>> >                                         Configured the
>>>>>>>>> environment
>>>>>>>>> >                                         variables |PATH| and
>>>>>>>>> |JAVA_HOME|.
>>>>>>>>> >
>>>>>>>>> >                                         When I try to run the app
>>>>>>>>> >                                         nothing happens.
>>>>>>>>> >
>>>>>>>>> >                                         Somebody else with same
>>>>>>>>> issue?
>>>>>>>>> >
>>>>>>>>> >
>>>>>>>>> >                                         Also wrote this question
>>>>>>>>> on
>>>>>>>>> >
>>>>>>>>> https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os
>>>>>>>>> >
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
>>>>>>>>> For additional commands, e-mail: users-help@netbeans.apache.org
>>>>>>>>>
>>>>>>>>> For further information about the NetBeans mailing lists, visit:
>>>>>>>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>>>>>>>>
>>>>>>>>>

Re: Netbeans 10.0 - doesn't start

Posted by Geertjan Wielenga <ge...@googlemail.com.INVALID>.
Your system looked pretty full to me, with multiple different drives, and
quite a lot going on -- that could explain the problems you're having.
Though the tips in https://netbeans.org/bugzilla/show_bug.cgi?id=200324
should help you -- please keep responding with your findings, we're very
happy to help you as you can see.

Gj


On Tue, Feb 19, 2019 at 6:29 PM Geertjan Wielenga <
geertjan.wielenga@googlemail.com> wrote:

> Some more clues and tips, based on your error message:
> https://netbeans.org/bugzilla/show_bug.cgi?id=200324
>
> Can't help thinking it may have something to do with permissions -- and
> maybe your disk is full or almost full?
>
> Gj
>
> On Tue, Feb 19, 2019 at 6:26 PM Davide Moschini <da...@gmail.com>
> wrote:
>
>> And this is the trace I have
>>
>> LoadLibrary("C:\OpenJDK\jdk-11.0.2\bin\server\jvm.dll")
>> PrepareDllPath: C:\OpenJDK\jdk-11.0.2\bin
>> JVM options:
>> -Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade
>> -XX:+UseStringDeduplication
>> -Xss2m
>> -Xms32m
>> -Djdk.gtk.version=2.2
>> -Dapple.laf.useScreenMenuBar=true
>> -Dapple.awt.graphics.UseQuartz=true
>> -Dsun.java2d.noddraw=true
>> -Dsun.java2d.dpiaware=true
>> -Dsun.zip.disableMemoryMapping=true
>> -Dplugin.manager.check.updates=false
>> -Dnetbeans.extbrowser.manual_chrome_plugin_install=yes
>> --add-opens=java.base/java.net=ALL-UNNAMED
>> --add-opens=java.base/java.lang.ref=ALL-UNNAMED
>> --add-opens=java.base/java.lang=ALL-UNNAMED
>> --add-opens=java.base/java.security=ALL-UNNAMED
>> --add-opens=java.base/java.util=ALL-UNNAMED
>> --add-opens=java.desktop/javax.swing.plaf.basic=ALL-UNNAMED
>> --add-opens=java.desktop/javax.swing.text=ALL-UNNAMED
>> --add-opens=java.desktop/javax.swing=ALL-UNNAMED
>> --add-opens=java.desktop/java.awt=ALL-UNNAMED
>> --add-opens=java.desktop/java.awt.event=ALL-UNNAMED
>> --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED
>> --add-opens=jdk.jshell/jdk.jshell=ALL-UNNAMED
>> --add-modules=jdk.jshell
>> --add-exports=java.desktop/sun.awt=ALL-UNNAMED
>> --add-exports=java.desktop/java.awt.peer=ALL-UNNAMED
>> --add-exports=java.desktop/com.sun.beans.editors=ALL-UNNAMED
>> --add-exports=java.desktop/sun.swing=ALL-UNNAMED
>> --add-exports=java.desktop/sun.awt.im=ALL-UNNAMED
>> --add-exports=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED
>> --add-exports=java.management/sun.management=ALL-UNNAMED
>> --add-exports=java.base/sun.reflect.annotation=ALL-UNNAMED
>> --add-exports=jdk.javadoc/com.sun.tools.javadoc.main=ALL-UNNAMED
>> -XX:+IgnoreUnrecognizedVMOptions
>> -Xmx1024m
>> -Djdk.home=C:\OpenJDK\jdk-11.0.2
>> -Dnetbeans.home=C:\NetBeans_10.0\platform
>> -Dnetbeans.user=C:\davide_usr
>> -Dnetbeans.default_userdir_root=C:\Users\davide\AppData\Roaming\NetBeans
>> -XX:+HeapDumpOnOutOfMemoryError
>> -XX:HeapDumpPath=C:\davide_usr\var\log\heapdump.hprof
>> -Dsun.awt.keepWorkingSetOnMinimize=true
>>
>> -Dnetbeans.dirs=C:\NetBeans_10.0\nb;C:\NetBeans_10.0\ergonomics;C:\NetBeans_10.0\ide;C:\NetBeans_10.0\extide;C:\NetBeans_10.0\java;C:\NetBeans_10.0\apisupport;C:\NetBeans_10.0\webcommon;C:\NetBeans_10.0\websvccommon;C:\NetBeans_10.0\enterprise;C:\NetBeans_10.0\mobility;C:\NetBeans_10.0\profiler;C:\NetBeans_10.0\python;C:\NetBeans_10.0\php;C:\NetBeans_10.0\identity;C:\NetBeans_10.0\harness;C:\NetBeans_10.0\cnd;C:\NetBeans_10.0\cndext;C:\NetBeans_10.0\dlight;C:\NetBeans_10.0\groovy;C:\NetBeans_10.0\extra;C:\NetBeans_10.0\javacard;C:\NetBeans_10.0\javafx
>>
>> -Djava.class.path=C:\NetBeans_10.0\platform\lib\boot.jar;C:\NetBeans_10.0\platform\lib\org-openide-modules.jar;C:\NetBeans_10.0\platform\lib\org-openide-util-lookup.jar;C:\NetBeans_10.0\platform\lib\org-openide-util-ui.jar;C:\NetBeans_10.0\platform\lib\org-openide-util.jar
>> Creating JVM...
>> JVM created.
>> Exit hook called with status 0
>> onExit()
>> processAutoUpdateCL()...
>> File "C:\davide_usr\update\download\netbeans.dirs" does not exist
>> checkForNewUpdater() at C:\NetBeans_10.0\platform
>> No new updater at C:\NetBeans_10.0\platform\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\platform\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\nb
>> No new updater at C:\NetBeans_10.0\nb\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\nb\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\ergonomics
>> No new updater at
>> C:\NetBeans_10.0\ergonomics\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\ergonomics\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\ide
>> No new updater at C:\NetBeans_10.0\ide\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\ide\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\extide
>> No new updater at C:\NetBeans_10.0\extide\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\extide\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\java
>> No new updater at C:\NetBeans_10.0\java\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\java\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\apisupport
>> No new updater at
>> C:\NetBeans_10.0\apisupport\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\apisupport\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\webcommon
>> No new updater at
>> C:\NetBeans_10.0\webcommon\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\webcommon\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\websvccommon
>> No new updater at
>> C:\NetBeans_10.0\websvccommon\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\websvccommon\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\enterprise
>> No new updater at
>> C:\NetBeans_10.0\enterprise\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\enterprise\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\mobility
>> No new updater at C:\NetBeans_10.0\mobility\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\mobility\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\profiler
>> No new updater at C:\NetBeans_10.0\profiler\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\profiler\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\python
>> No new updater at C:\NetBeans_10.0\python\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\python\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\php
>> No new updater at C:\NetBeans_10.0\php\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\php\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\identity
>> No new updater at C:\NetBeans_10.0\identity\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\identity\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\harness
>> No new updater at C:\NetBeans_10.0\harness\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\harness\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\cnd
>> No new updater at C:\NetBeans_10.0\cnd\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\cnd\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\cndext
>> No new updater at C:\NetBeans_10.0\cndext\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\cndext\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\dlight
>> No new updater at C:\NetBeans_10.0\dlight\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\dlight\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\groovy
>> No new updater at C:\NetBeans_10.0\groovy\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\groovy\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\extra
>> No new updater at C:\NetBeans_10.0\extra\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\extra\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\javacard
>> No new updater at C:\NetBeans_10.0\javacard\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\javacard\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\javafx
>> No new updater at C:\NetBeans_10.0\javafx\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\javafx\update\download\*.nbm
>> checkForNewUpdater() at C:\davide_usr
>> No new updater at C:\davide_usr\update\new_updater\updater.jar
>> Checking for updates: C:\davide_usr\update\download\*.nbm
>> File "C:\davide_usr\var\restart" does not exist
>> onExit()
>> Already exiting, no need to schedule restart
>>
>> On Tue, Feb 19, 2019 at 6:01 PM Lars Bruun-Hansen <lb...@gmail.com>
>> wrote:
>>
>>>
>>> Perhaps do a trace on the launcher, i.e.
>>>
>>> netbeans64.exe --trace "mytrace.log"
>>>
>>> and then post the file mytrace.log here.
>>>
>>> Note that I cannot get the argument to "--trace" to accept a full path.
>>> Don't really understand why. In any case the above command will produce the
>>> "mytrace.log" file in the current directory.
>>>
>>> /Lars
>>>
>>> On Tue, Feb 19, 2019 at 5:53 PM Geertjan Wielenga
>>> <ge...@googlemail.com.invalid> wrote:
>>>
>>>> Only way I can think of is to actually take a look. I am
>>>> geertjanwielenga on Skype, I'm on-line now.
>>>>
>>>> Gj
>>>>
>>>> On Tue, Feb 19, 2019 at 5:48 PM Davide Moschini <
>>>> davide.moschini@gmail.com> wrote:
>>>>
>>>>> Changed the java installation folder to one in root folder without
>>>>> spaces in the name, and changed the environment variables.
>>>>> Changed the netbeans.conf file using my jdk folder as parameter.
>>>>> Tried to execute from cmd using no parameters... same output as before
>>>>> Tried with parameter --jdkhome and path using slashes or
>>>>> backslashes... same output :/
>>>>>
>>>>> Tried both cmd in user and administrator mode.
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Feb 19, 2019 at 5:41 PM Geertjan Wielenga <
>>>>> geertjan.wielenga@googlemail.com> wrote:
>>>>>
>>>>>> After you install the JDK in a folder without a space, don't use the
>>>>>> --jdkhome flag, instead use this in etc/netbeans.conf, which I have just
>>>>>> tried and it works:
>>>>>>
>>>>>>
>>>>>> netbeans_jdkhome="C:\Users\g_wie\Downloads\OpenJDK11U-jdk_x64_windows_hotspot_11.0.2_9\jdk-11.0.2+9"
>>>>>>
>>>>>>
>>>>>> I.e., replace 'C:\Users\g_wie\Downloads\' above with
>>>>>> 'C:\whatever-is-applicable-to-you'.
>>>>>>
>>>>>> Gj
>>>>>>
>>>>>> On Tue, Feb 19, 2019 at 5:29 PM Davide Moschini <
>>>>>> davide.moschini@gmail.com> wrote:
>>>>>>
>>>>>>> Nothing else,
>>>>>>> these are the only things printed out.
>>>>>>>
>>>>>>> Now I try to invert the slash and to move the java installation to a
>>>>>>> folder path without spaces
>>>>>>>
>>>>>>> On Tue, Feb 19, 2019 at 5:20 PM Peter Nabbefeld <
>>>>>>> peter.nabbefeld@gmx.de> wrote:
>>>>>>>
>>>>>>>> (see inline)
>>>>>>>>
>>>>>>>> Am 19.02.19 um 17:16 schrieb Davide Moschini:
>>>>>>>> > Using CMD cli:
>>>>>>>> > changed the directory to Netbeans bin folder.
>>>>>>>> > this is the command I wrote:
>>>>>>>> > netbeans64.exe --jdk-home "C:\.....\jdk-11.0.2"
>>>>>>>> >
>>>>>>>> > This is the answer:
>>>>>>>> > 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.
>>>>>>>> >
>>>>>>>> Nothing more? Did it stop right after the last line? Without
>>>>>>>> complaining
>>>>>>>> about anything?
>>>>>>>> BTW, probably try to use forward slashes, I'm not sure if Java
>>>>>>>> needs
>>>>>>>> them to be doubled otherwise (as backslashes are also escape
>>>>>>>> characters
>>>>>>>> in Java)
>>>>>>>>
>>>>>>>> P.
>>>>>>>>
>>>>>>>> >
>>>>>>>> > On Tue, Feb 19, 2019 at 4:47 PM Peter Steele <
>>>>>>>> steelehere@gmail.com
>>>>>>>> > <ma...@gmail.com>> wrote:
>>>>>>>> >
>>>>>>>> >     Can you send the contents of the set command from the CMD
>>>>>>>> cli? I'd
>>>>>>>> >     recommending replacing personal identifiable information with
>>>>>>>> >     dummy values. There is something odd going on
>>>>>>>> >
>>>>>>>> >     On Tue, 19 Feb 2019, 15:43 Davide Moschini
>>>>>>>> >     <davide.moschini@gmail.com <ma...@gmail.com>
>>>>>>>> wrote:
>>>>>>>> >
>>>>>>>> >         Moved everything in C:\Netbeans_10.0
>>>>>>>> >         no differences... the program doesn't start
>>>>>>>> >
>>>>>>>> >
>>>>>>>> >         On Tue, Feb 19, 2019 at 4:31 PM Geertjan Wielenga
>>>>>>>> >         <geertjan.wielenga@googlemail.com
>>>>>>>> >         <ma...@googlemail.com>> wrote:
>>>>>>>> >
>>>>>>>> >             And maybe the fact that you have NetBeans at D: and
>>>>>>>> JDK at
>>>>>>>> >             C: is the problem.
>>>>>>>> >
>>>>>>>> >             Gj
>>>>>>>> >
>>>>>>>> >             On Tue, Feb 19, 2019 at 4:30 PM Geertjan Wielenga
>>>>>>>> >             <geertjan.wielenga@googlemail.com
>>>>>>>> >             <ma...@googlemail.com>> wrote:
>>>>>>>> >
>>>>>>>> >                 Just double-click the executable and forget about
>>>>>>>> that
>>>>>>>> >                 --jdkhome flag, you don't need it.
>>>>>>>> >
>>>>>>>> >                 Gj
>>>>>>>> >
>>>>>>>> >                 On Tue, Feb 19, 2019 at 4:26 PM Davide Moschini
>>>>>>>> >                 <davide.moschini@gmail.com
>>>>>>>> >                 <ma...@gmail.com>> wrote:
>>>>>>>> >
>>>>>>>> >                     I would like to summarize the steps taken
>>>>>>>> (sorry I
>>>>>>>> >                     forgot to include the netbeans mailing list
>>>>>>>> in the
>>>>>>>> >                     last emails sent)
>>>>>>>> >                     - Netbeans 10.0 is "installed" in a folder on
>>>>>>>> a D:
>>>>>>>> >                     partition.
>>>>>>>> >                     - JDK (openJDK at the moment) is installed in
>>>>>>>> >                     folder "C:\Program
>>>>>>>> Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>>>>> >                     - I'm using Windows 10 64 bit
>>>>>>>> >                     - ENVIRONMENT VARIABLES:
>>>>>>>> >                         * JAVA_HOME: C:\Program
>>>>>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9\
>>>>>>>> >                         * JDK_HOME: %JAVA_HOME%
>>>>>>>> >                         * JRE_HOME: C:\Program
>>>>>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9-jre
>>>>>>>> >                         * Path: C:\Program
>>>>>>>> >
>>>>>>>>  Files\AdoptOpenJDK\jdk-11.0.2+9\bin, C:\Program
>>>>>>>> >
>>>>>>>>  Files\AdoptOpenJDK\jdk-11.0.2+9-jre\bin.....(other
>>>>>>>> >                     stuff)
>>>>>>>> >                     - netbeans.conf: commented out the line
>>>>>>>> >                      netbeans_jdkhome="C:\Program
>>>>>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>>>>> >                     - cmd line
>>>>>>>> >                     * netbeans64.exe --jdkhome "C:\Program
>>>>>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>>>>> >                        The answer from cmd is:
>>>>>>>> >                           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.
>>>>>>>> >                     - when I run javac -version from command line
>>>>>>>> the
>>>>>>>> >                     answer is:
>>>>>>>> >                         javac 11.0.2
>>>>>>>> >
>>>>>>>> >                     Netbeans never started.
>>>>>>>> >
>>>>>>>> >                     davide
>>>>>>>> >
>>>>>>>> >
>>>>>>>> >
>>>>>>>> >                     On Tue, Feb 19, 2019 at 3:48 PM Geertjan
>>>>>>>> Wielenga
>>>>>>>> >                     <geertjan.wielenga@googlemail.com
>>>>>>>> >                     <ma...@googlemail.com>>
>>>>>>>> wrote:
>>>>>>>> >
>>>>>>>> >                         Maybe comment out the line in
>>>>>>>> netbeans.conf
>>>>>>>> >                         pointing to the JDK, instead run 'echo
>>>>>>>> %path%'
>>>>>>>> >                         to check that it is on your path (and put
>>>>>>>> the
>>>>>>>> >                         JDK on your path in Environment Variables
>>>>>>>> if
>>>>>>>> >                         needed) and then double-click the
>>>>>>>> executable
>>>>>>>> >                         again.
>>>>>>>> >
>>>>>>>> >                         Gj
>>>>>>>> >
>>>>>>>> >                         On Tue, Feb 19, 2019 at 3:36 PM Geertjan
>>>>>>>> >                         Wielenga <
>>>>>>>> geertjan.wielenga@googlemail.com
>>>>>>>> >                         <ma...@googlemail.com>>
>>>>>>>> wrote:
>>>>>>>> >
>>>>>>>> >                             On Windows, I don't have any problem
>>>>>>>> >                             starting up Apache NetBeans 10, just
>>>>>>>> by
>>>>>>>> >                             double-clicking the executable. I
>>>>>>>> don't
>>>>>>>> >                             need any --jdkhome switch. In
>>>>>>>> >                             etc/netbeans.conf, I have
>>>>>>>> netbeans_jdkhome
>>>>>>>> >                             commented out, so that I use the
>>>>>>>> system's
>>>>>>>> >                             installed JDK. When I run 'echo
>>>>>>>> %path%'
>>>>>>>> >                             from the command line, I see that the
>>>>>>>> JDK
>>>>>>>> >                             as well as its bin folder are
>>>>>>>> included there.
>>>>>>>> >
>>>>>>>> >                             Gj
>>>>>>>> >
>>>>>>>> >                             On Tue, Feb 19, 2019 at 3:24 PM Davide
>>>>>>>> >                             Moschini <davide.moschini@gmail.com
>>>>>>>> >                             <ma...@gmail.com>>
>>>>>>>> wrote:
>>>>>>>> >
>>>>>>>> >
>>>>>>>> >
>>>>>>>> >                                 ---------- Forwarded message
>>>>>>>> ---------
>>>>>>>> >                                 From: *Davide Moschini*
>>>>>>>> >                                 <davide.moschini@gmail.com
>>>>>>>> >                                 <mailto:davide.moschini@gmail.com
>>>>>>>> >>
>>>>>>>> >                                 Date: Tue, Feb 19, 2019 at 2:58 PM
>>>>>>>> >                                 Subject: Re: Netbeans 10.0 -
>>>>>>>> doesn't start
>>>>>>>> >                                 To: Geertjan Wielenga
>>>>>>>> >                                 <geertjan.wielenga@googlemail.com
>>>>>>>> >                                 <mailto:
>>>>>>>> geertjan.wielenga@googlemail.com>>
>>>>>>>> >
>>>>>>>> >
>>>>>>>> >                                 From command line, the version
>>>>>>>> after
>>>>>>>> >                                 the execution of "javac -version"
>>>>>>>> is:
>>>>>>>> >                                 javac 11.0.2
>>>>>>>> >
>>>>>>>> >                                 In netbeans.conf I have:
>>>>>>>> >                                 netbeans_jdkhome="C:\Program
>>>>>>>> >                                 Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>>>>> >
>>>>>>>> >                                 davide
>>>>>>>> >
>>>>>>>> >                                 On Tue, Feb 19, 2019 at 2:52 PM
>>>>>>>> >                                 Geertjan Wielenga
>>>>>>>> >                                 <geertjan.wielenga@googlemail.com
>>>>>>>> >                                 <mailto:
>>>>>>>> geertjan.wielenga@googlemail.com>>
>>>>>>>> >                                 wrote:
>>>>>>>> >
>>>>>>>> >                                     When you run this on the
>>>>>>>> command
>>>>>>>> >                                     line, what do you see: javac
>>>>>>>> -version
>>>>>>>> >
>>>>>>>> >                                     What is the path you're
>>>>>>>> referring
>>>>>>>> >                                     to in netbeans.conf?
>>>>>>>> >
>>>>>>>> >                                     Gj
>>>>>>>> >
>>>>>>>> >                                     On Tue, Feb 19, 2019 at 2:50
>>>>>>>> PM
>>>>>>>> >                                     Davide Moschini
>>>>>>>> >                                     <davide.moschini@gmail.com
>>>>>>>> >                                     <mailto:
>>>>>>>> davide.moschini@gmail.com>>
>>>>>>>> >                                     wrote:
>>>>>>>> >
>>>>>>>> >                                         I've just downloaded
>>>>>>>> |Netbeans
>>>>>>>> >                                         10.0| and on a Windows 10
>>>>>>>> 64
>>>>>>>> >                                         bit it doesn't start when
>>>>>>>> i
>>>>>>>> >                                         execute
>>>>>>>> |netbeans64.exe| (not
>>>>>>>> >                                         even with |netbeans.exe|)
>>>>>>>> >
>>>>>>>> >                                         I removed all the previous
>>>>>>>> >                                         java installations and
>>>>>>>> >                                         installed
>>>>>>>> |jdk-11.0.2+9| and
>>>>>>>> >                                         |jdk-11.0.2+9-jre|.
>>>>>>>> >
>>>>>>>> >                                         Also change the path in
>>>>>>>> the
>>>>>>>> >                                         netbeans configuration
>>>>>>>> file to
>>>>>>>> >                                         the right java path.
>>>>>>>> >
>>>>>>>> >                                         Configured the environment
>>>>>>>> >                                         variables |PATH| and
>>>>>>>> |JAVA_HOME|.
>>>>>>>> >
>>>>>>>> >                                         When I try to run the app
>>>>>>>> >                                         nothing happens.
>>>>>>>> >
>>>>>>>> >                                         Somebody else with same
>>>>>>>> issue?
>>>>>>>> >
>>>>>>>> >
>>>>>>>> >                                         Also wrote this question
>>>>>>>> on
>>>>>>>> >
>>>>>>>> https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os
>>>>>>>> >
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ---------------------------------------------------------------------
>>>>>>>> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
>>>>>>>> For additional commands, e-mail: users-help@netbeans.apache.org
>>>>>>>>
>>>>>>>> For further information about the NetBeans mailing lists, visit:
>>>>>>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>>>>>>>
>>>>>>>>

Re: Netbeans 10.0 - doesn't start

Posted by John Lavelle <jo...@jql.co.uk>.
I know I'm a bit late to this party but, if it's of any help, I have some
suggestions:

Double check that the folders and/or executables haven't been "locked down"
by Windows as coming from a different computer.:

   - Right click on the folder/executables
   - Click on *Properties*.
   - At the bottom it might say: "*This file came from another computer and
   might be blocked to help protect this computer*" with a button marked:
   *Unblock*.
   - Click the Unblock button.

Also, if that isn't the case, I've done a couple of videos about installing
NetBeans 9 and 10 and you can find them here:

NetBeans 10: https://youtu.be/1RXf7W_jBks
NetBeans 9: https://youtu.be/711vqQEQHBI

Web pages about it:

NetBeans 9:
http://jlavelle.uk/pfw/netbeans-ide/installing-netbeans-9-0-on-windows/
NetBeans 10:
http://jlavelle.uk/pfw/netbeans-ide/installing-netbeans-10-0-on-windows/

The videos and web pages might give you some pointers to what's going wrong.

This is quite a long thread and I'm still reading through it so I apologise
if these "fixes" have been mentions previously.

Best regards,
John



On Tue, 19 Feb 2019 at 18:29, Geertjan Wielenga
<ge...@googlemail.com.invalid> wrote:

> Some more clues and tips, based on your error message:
> https://netbeans.org/bugzilla/show_bug.cgi?id=200324
>
> Can't help thinking it may have something to do with permissions -- and
> maybe your disk is full or almost full?
>
> Gj
>
> On Tue, Feb 19, 2019 at 6:26 PM Davide Moschini <da...@gmail.com>
> wrote:
>
>> And this is the trace I have
>>
>> LoadLibrary("C:\OpenJDK\jdk-11.0.2\bin\server\jvm.dll")
>> PrepareDllPath: C:\OpenJDK\jdk-11.0.2\bin
>> JVM options:
>> -Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade
>> -XX:+UseStringDeduplication
>> -Xss2m
>> -Xms32m
>> -Djdk.gtk.version=2.2
>> -Dapple.laf.useScreenMenuBar=true
>> -Dapple.awt.graphics.UseQuartz=true
>> -Dsun.java2d.noddraw=true
>> -Dsun.java2d.dpiaware=true
>> -Dsun.zip.disableMemoryMapping=true
>> -Dplugin.manager.check.updates=false
>> -Dnetbeans.extbrowser.manual_chrome_plugin_install=yes
>> --add-opens=java.base/java.net=ALL-UNNAMED
>> --add-opens=java.base/java.lang.ref=ALL-UNNAMED
>> --add-opens=java.base/java.lang=ALL-UNNAMED
>> --add-opens=java.base/java.security=ALL-UNNAMED
>> --add-opens=java.base/java.util=ALL-UNNAMED
>> --add-opens=java.desktop/javax.swing.plaf.basic=ALL-UNNAMED
>> --add-opens=java.desktop/javax.swing.text=ALL-UNNAMED
>> --add-opens=java.desktop/javax.swing=ALL-UNNAMED
>> --add-opens=java.desktop/java.awt=ALL-UNNAMED
>> --add-opens=java.desktop/java.awt.event=ALL-UNNAMED
>> --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED
>> --add-opens=jdk.jshell/jdk.jshell=ALL-UNNAMED
>> --add-modules=jdk.jshell
>> --add-exports=java.desktop/sun.awt=ALL-UNNAMED
>> --add-exports=java.desktop/java.awt.peer=ALL-UNNAMED
>> --add-exports=java.desktop/com.sun.beans.editors=ALL-UNNAMED
>> --add-exports=java.desktop/sun.swing=ALL-UNNAMED
>> --add-exports=java.desktop/sun.awt.im=ALL-UNNAMED
>> --add-exports=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED
>> --add-exports=java.management/sun.management=ALL-UNNAMED
>> --add-exports=java.base/sun.reflect.annotation=ALL-UNNAMED
>> --add-exports=jdk.javadoc/com.sun.tools.javadoc.main=ALL-UNNAMED
>> -XX:+IgnoreUnrecognizedVMOptions
>> -Xmx1024m
>> -Djdk.home=C:\OpenJDK\jdk-11.0.2
>> -Dnetbeans.home=C:\NetBeans_10.0\platform
>> -Dnetbeans.user=C:\davide_usr
>> -Dnetbeans.default_userdir_root=C:\Users\davide\AppData\Roaming\NetBeans
>> -XX:+HeapDumpOnOutOfMemoryError
>> -XX:HeapDumpPath=C:\davide_usr\var\log\heapdump.hprof
>> -Dsun.awt.keepWorkingSetOnMinimize=true
>>
>> -Dnetbeans.dirs=C:\NetBeans_10.0\nb;C:\NetBeans_10.0\ergonomics;C:\NetBeans_10.0\ide;C:\NetBeans_10.0\extide;C:\NetBeans_10.0\java;C:\NetBeans_10.0\apisupport;C:\NetBeans_10.0\webcommon;C:\NetBeans_10.0\websvccommon;C:\NetBeans_10.0\enterprise;C:\NetBeans_10.0\mobility;C:\NetBeans_10.0\profiler;C:\NetBeans_10.0\python;C:\NetBeans_10.0\php;C:\NetBeans_10.0\identity;C:\NetBeans_10.0\harness;C:\NetBeans_10.0\cnd;C:\NetBeans_10.0\cndext;C:\NetBeans_10.0\dlight;C:\NetBeans_10.0\groovy;C:\NetBeans_10.0\extra;C:\NetBeans_10.0\javacard;C:\NetBeans_10.0\javafx
>>
>> -Djava.class.path=C:\NetBeans_10.0\platform\lib\boot.jar;C:\NetBeans_10.0\platform\lib\org-openide-modules.jar;C:\NetBeans_10.0\platform\lib\org-openide-util-lookup.jar;C:\NetBeans_10.0\platform\lib\org-openide-util-ui.jar;C:\NetBeans_10.0\platform\lib\org-openide-util.jar
>> Creating JVM...
>> JVM created.
>> Exit hook called with status 0
>> onExit()
>> processAutoUpdateCL()...
>> File "C:\davide_usr\update\download\netbeans.dirs" does not exist
>> checkForNewUpdater() at C:\NetBeans_10.0\platform
>> No new updater at C:\NetBeans_10.0\platform\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\platform\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\nb
>> No new updater at C:\NetBeans_10.0\nb\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\nb\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\ergonomics
>> No new updater at
>> C:\NetBeans_10.0\ergonomics\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\ergonomics\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\ide
>> No new updater at C:\NetBeans_10.0\ide\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\ide\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\extide
>> No new updater at C:\NetBeans_10.0\extide\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\extide\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\java
>> No new updater at C:\NetBeans_10.0\java\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\java\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\apisupport
>> No new updater at
>> C:\NetBeans_10.0\apisupport\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\apisupport\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\webcommon
>> No new updater at
>> C:\NetBeans_10.0\webcommon\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\webcommon\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\websvccommon
>> No new updater at
>> C:\NetBeans_10.0\websvccommon\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\websvccommon\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\enterprise
>> No new updater at
>> C:\NetBeans_10.0\enterprise\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\enterprise\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\mobility
>> No new updater at C:\NetBeans_10.0\mobility\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\mobility\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\profiler
>> No new updater at C:\NetBeans_10.0\profiler\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\profiler\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\python
>> No new updater at C:\NetBeans_10.0\python\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\python\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\php
>> No new updater at C:\NetBeans_10.0\php\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\php\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\identity
>> No new updater at C:\NetBeans_10.0\identity\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\identity\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\harness
>> No new updater at C:\NetBeans_10.0\harness\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\harness\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\cnd
>> No new updater at C:\NetBeans_10.0\cnd\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\cnd\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\cndext
>> No new updater at C:\NetBeans_10.0\cndext\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\cndext\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\dlight
>> No new updater at C:\NetBeans_10.0\dlight\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\dlight\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\groovy
>> No new updater at C:\NetBeans_10.0\groovy\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\groovy\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\extra
>> No new updater at C:\NetBeans_10.0\extra\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\extra\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\javacard
>> No new updater at C:\NetBeans_10.0\javacard\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\javacard\update\download\*.nbm
>> checkForNewUpdater() at C:\NetBeans_10.0\javafx
>> No new updater at C:\NetBeans_10.0\javafx\update\new_updater\updater.jar
>> Checking for updates: C:\NetBeans_10.0\javafx\update\download\*.nbm
>> checkForNewUpdater() at C:\davide_usr
>> No new updater at C:\davide_usr\update\new_updater\updater.jar
>> Checking for updates: C:\davide_usr\update\download\*.nbm
>> File "C:\davide_usr\var\restart" does not exist
>> onExit()
>> Already exiting, no need to schedule restart
>>
>> On Tue, Feb 19, 2019 at 6:01 PM Lars Bruun-Hansen <lb...@gmail.com>
>> wrote:
>>
>>>
>>> Perhaps do a trace on the launcher, i.e.
>>>
>>> netbeans64.exe --trace "mytrace.log"
>>>
>>> and then post the file mytrace.log here.
>>>
>>> Note that I cannot get the argument to "--trace" to accept a full path.
>>> Don't really understand why. In any case the above command will produce the
>>> "mytrace.log" file in the current directory.
>>>
>>> /Lars
>>>
>>> On Tue, Feb 19, 2019 at 5:53 PM Geertjan Wielenga
>>> <ge...@googlemail.com.invalid> wrote:
>>>
>>>> Only way I can think of is to actually take a look. I am
>>>> geertjanwielenga on Skype, I'm on-line now.
>>>>
>>>> Gj
>>>>
>>>> On Tue, Feb 19, 2019 at 5:48 PM Davide Moschini <
>>>> davide.moschini@gmail.com> wrote:
>>>>
>>>>> Changed the java installation folder to one in root folder without
>>>>> spaces in the name, and changed the environment variables.
>>>>> Changed the netbeans.conf file using my jdk folder as parameter.
>>>>> Tried to execute from cmd using no parameters... same output as before
>>>>> Tried with parameter --jdkhome and path using slashes or
>>>>> backslashes... same output :/
>>>>>
>>>>> Tried both cmd in user and administrator mode.
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Feb 19, 2019 at 5:41 PM Geertjan Wielenga <
>>>>> geertjan.wielenga@googlemail.com> wrote:
>>>>>
>>>>>> After you install the JDK in a folder without a space, don't use the
>>>>>> --jdkhome flag, instead use this in etc/netbeans.conf, which I have just
>>>>>> tried and it works:
>>>>>>
>>>>>>
>>>>>> netbeans_jdkhome="C:\Users\g_wie\Downloads\OpenJDK11U-jdk_x64_windows_hotspot_11.0.2_9\jdk-11.0.2+9"
>>>>>>
>>>>>>
>>>>>> I.e., replace 'C:\Users\g_wie\Downloads\' above with
>>>>>> 'C:\whatever-is-applicable-to-you'.
>>>>>>
>>>>>> Gj
>>>>>>
>>>>>> On Tue, Feb 19, 2019 at 5:29 PM Davide Moschini <
>>>>>> davide.moschini@gmail.com> wrote:
>>>>>>
>>>>>>> Nothing else,
>>>>>>> these are the only things printed out.
>>>>>>>
>>>>>>> Now I try to invert the slash and to move the java installation to a
>>>>>>> folder path without spaces
>>>>>>>
>>>>>>> On Tue, Feb 19, 2019 at 5:20 PM Peter Nabbefeld <
>>>>>>> peter.nabbefeld@gmx.de> wrote:
>>>>>>>
>>>>>>>> (see inline)
>>>>>>>>
>>>>>>>> Am 19.02.19 um 17:16 schrieb Davide Moschini:
>>>>>>>> > Using CMD cli:
>>>>>>>> > changed the directory to Netbeans bin folder.
>>>>>>>> > this is the command I wrote:
>>>>>>>> > netbeans64.exe --jdk-home "C:\.....\jdk-11.0.2"
>>>>>>>> >
>>>>>>>> > This is the answer:
>>>>>>>> > 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.
>>>>>>>> >
>>>>>>>> Nothing more? Did it stop right after the last line? Without
>>>>>>>> complaining
>>>>>>>> about anything?
>>>>>>>> BTW, probably try to use forward slashes, I'm not sure if Java
>>>>>>>> needs
>>>>>>>> them to be doubled otherwise (as backslashes are also escape
>>>>>>>> characters
>>>>>>>> in Java)
>>>>>>>>
>>>>>>>> P.
>>>>>>>>
>>>>>>>> >
>>>>>>>> > On Tue, Feb 19, 2019 at 4:47 PM Peter Steele <
>>>>>>>> steelehere@gmail.com
>>>>>>>> > <ma...@gmail.com>> wrote:
>>>>>>>> >
>>>>>>>> >     Can you send the contents of the set command from the CMD
>>>>>>>> cli? I'd
>>>>>>>> >     recommending replacing personal identifiable information with
>>>>>>>> >     dummy values. There is something odd going on
>>>>>>>> >
>>>>>>>> >     On Tue, 19 Feb 2019, 15:43 Davide Moschini
>>>>>>>> >     <davide.moschini@gmail.com <ma...@gmail.com>
>>>>>>>> wrote:
>>>>>>>> >
>>>>>>>> >         Moved everything in C:\Netbeans_10.0
>>>>>>>> >         no differences... the program doesn't start
>>>>>>>> >
>>>>>>>> >
>>>>>>>> >         On Tue, Feb 19, 2019 at 4:31 PM Geertjan Wielenga
>>>>>>>> >         <geertjan.wielenga@googlemail.com
>>>>>>>> >         <ma...@googlemail.com>> wrote:
>>>>>>>> >
>>>>>>>> >             And maybe the fact that you have NetBeans at D: and
>>>>>>>> JDK at
>>>>>>>> >             C: is the problem.
>>>>>>>> >
>>>>>>>> >             Gj
>>>>>>>> >
>>>>>>>> >             On Tue, Feb 19, 2019 at 4:30 PM Geertjan Wielenga
>>>>>>>> >             <geertjan.wielenga@googlemail.com
>>>>>>>> >             <ma...@googlemail.com>> wrote:
>>>>>>>> >
>>>>>>>> >                 Just double-click the executable and forget about
>>>>>>>> that
>>>>>>>> >                 --jdkhome flag, you don't need it.
>>>>>>>> >
>>>>>>>> >                 Gj
>>>>>>>> >
>>>>>>>> >                 On Tue, Feb 19, 2019 at 4:26 PM Davide Moschini
>>>>>>>> >                 <davide.moschini@gmail.com
>>>>>>>> >                 <ma...@gmail.com>> wrote:
>>>>>>>> >
>>>>>>>> >                     I would like to summarize the steps taken
>>>>>>>> (sorry I
>>>>>>>> >                     forgot to include the netbeans mailing list
>>>>>>>> in the
>>>>>>>> >                     last emails sent)
>>>>>>>> >                     - Netbeans 10.0 is "installed" in a folder on
>>>>>>>> a D:
>>>>>>>> >                     partition.
>>>>>>>> >                     - JDK (openJDK at the moment) is installed in
>>>>>>>> >                     folder "C:\Program
>>>>>>>> Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>>>>> >                     - I'm using Windows 10 64 bit
>>>>>>>> >                     - ENVIRONMENT VARIABLES:
>>>>>>>> >                         * JAVA_HOME: C:\Program
>>>>>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9\
>>>>>>>> >                         * JDK_HOME: %JAVA_HOME%
>>>>>>>> >                         * JRE_HOME: C:\Program
>>>>>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9-jre
>>>>>>>> >                         * Path: C:\Program
>>>>>>>> >
>>>>>>>>  Files\AdoptOpenJDK\jdk-11.0.2+9\bin, C:\Program
>>>>>>>> >
>>>>>>>>  Files\AdoptOpenJDK\jdk-11.0.2+9-jre\bin.....(other
>>>>>>>> >                     stuff)
>>>>>>>> >                     - netbeans.conf: commented out the line
>>>>>>>> >                      netbeans_jdkhome="C:\Program
>>>>>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>>>>> >                     - cmd line
>>>>>>>> >                     * netbeans64.exe --jdkhome "C:\Program
>>>>>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>>>>> >                        The answer from cmd is:
>>>>>>>> >                           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.
>>>>>>>> >                     - when I run javac -version from command line
>>>>>>>> the
>>>>>>>> >                     answer is:
>>>>>>>> >                         javac 11.0.2
>>>>>>>> >
>>>>>>>> >                     Netbeans never started.
>>>>>>>> >
>>>>>>>> >                     davide
>>>>>>>> >
>>>>>>>> >
>>>>>>>> >
>>>>>>>> >                     On Tue, Feb 19, 2019 at 3:48 PM Geertjan
>>>>>>>> Wielenga
>>>>>>>> >                     <geertjan.wielenga@googlemail.com
>>>>>>>> >                     <ma...@googlemail.com>>
>>>>>>>> wrote:
>>>>>>>> >
>>>>>>>> >                         Maybe comment out the line in
>>>>>>>> netbeans.conf
>>>>>>>> >                         pointing to the JDK, instead run 'echo
>>>>>>>> %path%'
>>>>>>>> >                         to check that it is on your path (and put
>>>>>>>> the
>>>>>>>> >                         JDK on your path in Environment Variables
>>>>>>>> if
>>>>>>>> >                         needed) and then double-click the
>>>>>>>> executable
>>>>>>>> >                         again.
>>>>>>>> >
>>>>>>>> >                         Gj
>>>>>>>> >
>>>>>>>> >                         On Tue, Feb 19, 2019 at 3:36 PM Geertjan
>>>>>>>> >                         Wielenga <
>>>>>>>> geertjan.wielenga@googlemail.com
>>>>>>>> >                         <ma...@googlemail.com>>
>>>>>>>> wrote:
>>>>>>>> >
>>>>>>>> >                             On Windows, I don't have any problem
>>>>>>>> >                             starting up Apache NetBeans 10, just
>>>>>>>> by
>>>>>>>> >                             double-clicking the executable. I
>>>>>>>> don't
>>>>>>>> >                             need any --jdkhome switch. In
>>>>>>>> >                             etc/netbeans.conf, I have
>>>>>>>> netbeans_jdkhome
>>>>>>>> >                             commented out, so that I use the
>>>>>>>> system's
>>>>>>>> >                             installed JDK. When I run 'echo
>>>>>>>> %path%'
>>>>>>>> >                             from the command line, I see that the
>>>>>>>> JDK
>>>>>>>> >                             as well as its bin folder are
>>>>>>>> included there.
>>>>>>>> >
>>>>>>>> >                             Gj
>>>>>>>> >
>>>>>>>> >                             On Tue, Feb 19, 2019 at 3:24 PM Davide
>>>>>>>> >                             Moschini <davide.moschini@gmail.com
>>>>>>>> >                             <ma...@gmail.com>>
>>>>>>>> wrote:
>>>>>>>> >
>>>>>>>> >
>>>>>>>> >
>>>>>>>> >                                 ---------- Forwarded message
>>>>>>>> ---------
>>>>>>>> >                                 From: *Davide Moschini*
>>>>>>>> >                                 <davide.moschini@gmail.com
>>>>>>>> >                                 <mailto:davide.moschini@gmail.com
>>>>>>>> >>
>>>>>>>> >                                 Date: Tue, Feb 19, 2019 at 2:58 PM
>>>>>>>> >                                 Subject: Re: Netbeans 10.0 -
>>>>>>>> doesn't start
>>>>>>>> >                                 To: Geertjan Wielenga
>>>>>>>> >                                 <geertjan.wielenga@googlemail.com
>>>>>>>> >                                 <mailto:
>>>>>>>> geertjan.wielenga@googlemail.com>>
>>>>>>>> >
>>>>>>>> >
>>>>>>>> >                                 From command line, the version
>>>>>>>> after
>>>>>>>> >                                 the execution of "javac -version"
>>>>>>>> is:
>>>>>>>> >                                 javac 11.0.2
>>>>>>>> >
>>>>>>>> >                                 In netbeans.conf I have:
>>>>>>>> >                                 netbeans_jdkhome="C:\Program
>>>>>>>> >                                 Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>>>>> >
>>>>>>>> >                                 davide
>>>>>>>> >
>>>>>>>> >                                 On Tue, Feb 19, 2019 at 2:52 PM
>>>>>>>> >                                 Geertjan Wielenga
>>>>>>>> >                                 <geertjan.wielenga@googlemail.com
>>>>>>>> >                                 <mailto:
>>>>>>>> geertjan.wielenga@googlemail.com>>
>>>>>>>> >                                 wrote:
>>>>>>>> >
>>>>>>>> >                                     When you run this on the
>>>>>>>> command
>>>>>>>> >                                     line, what do you see: javac
>>>>>>>> -version
>>>>>>>> >
>>>>>>>> >                                     What is the path you're
>>>>>>>> referring
>>>>>>>> >                                     to in netbeans.conf?
>>>>>>>> >
>>>>>>>> >                                     Gj
>>>>>>>> >
>>>>>>>> >                                     On Tue, Feb 19, 2019 at 2:50
>>>>>>>> PM
>>>>>>>> >                                     Davide Moschini
>>>>>>>> >                                     <davide.moschini@gmail.com
>>>>>>>> >                                     <mailto:
>>>>>>>> davide.moschini@gmail.com>>
>>>>>>>> >                                     wrote:
>>>>>>>> >
>>>>>>>> >                                         I've just downloaded
>>>>>>>> |Netbeans
>>>>>>>> >                                         10.0| and on a Windows 10
>>>>>>>> 64
>>>>>>>> >                                         bit it doesn't start when
>>>>>>>> i
>>>>>>>> >                                         execute
>>>>>>>> |netbeans64.exe| (not
>>>>>>>> >                                         even with |netbeans.exe|)
>>>>>>>> >
>>>>>>>> >                                         I removed all the previous
>>>>>>>> >                                         java installations and
>>>>>>>> >                                         installed
>>>>>>>> |jdk-11.0.2+9| and
>>>>>>>> >                                         |jdk-11.0.2+9-jre|.
>>>>>>>> >
>>>>>>>> >                                         Also change the path in
>>>>>>>> the
>>>>>>>> >                                         netbeans configuration
>>>>>>>> file to
>>>>>>>> >                                         the right java path.
>>>>>>>> >
>>>>>>>> >                                         Configured the environment
>>>>>>>> >                                         variables |PATH| and
>>>>>>>> |JAVA_HOME|.
>>>>>>>> >
>>>>>>>> >                                         When I try to run the app
>>>>>>>> >                                         nothing happens.
>>>>>>>> >
>>>>>>>> >                                         Somebody else with same
>>>>>>>> issue?
>>>>>>>> >
>>>>>>>> >
>>>>>>>> >                                         Also wrote this question
>>>>>>>> on
>>>>>>>> >
>>>>>>>> https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os
>>>>>>>> >
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ---------------------------------------------------------------------
>>>>>>>> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
>>>>>>>> For additional commands, e-mail: users-help@netbeans.apache.org
>>>>>>>>
>>>>>>>> For further information about the NetBeans mailing lists, visit:
>>>>>>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>>>>>>>
>>>>>>>>

Re: Netbeans 10.0 - doesn't start

Posted by Geertjan Wielenga <ge...@googlemail.com.INVALID>.
Some more clues and tips, based on your error message:
https://netbeans.org/bugzilla/show_bug.cgi?id=200324

Can't help thinking it may have something to do with permissions -- and
maybe your disk is full or almost full?

Gj

On Tue, Feb 19, 2019 at 6:26 PM Davide Moschini <da...@gmail.com>
wrote:

> And this is the trace I have
>
> LoadLibrary("C:\OpenJDK\jdk-11.0.2\bin\server\jvm.dll")
> PrepareDllPath: C:\OpenJDK\jdk-11.0.2\bin
> JVM options:
> -Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade
> -XX:+UseStringDeduplication
> -Xss2m
> -Xms32m
> -Djdk.gtk.version=2.2
> -Dapple.laf.useScreenMenuBar=true
> -Dapple.awt.graphics.UseQuartz=true
> -Dsun.java2d.noddraw=true
> -Dsun.java2d.dpiaware=true
> -Dsun.zip.disableMemoryMapping=true
> -Dplugin.manager.check.updates=false
> -Dnetbeans.extbrowser.manual_chrome_plugin_install=yes
> --add-opens=java.base/java.net=ALL-UNNAMED
> --add-opens=java.base/java.lang.ref=ALL-UNNAMED
> --add-opens=java.base/java.lang=ALL-UNNAMED
> --add-opens=java.base/java.security=ALL-UNNAMED
> --add-opens=java.base/java.util=ALL-UNNAMED
> --add-opens=java.desktop/javax.swing.plaf.basic=ALL-UNNAMED
> --add-opens=java.desktop/javax.swing.text=ALL-UNNAMED
> --add-opens=java.desktop/javax.swing=ALL-UNNAMED
> --add-opens=java.desktop/java.awt=ALL-UNNAMED
> --add-opens=java.desktop/java.awt.event=ALL-UNNAMED
> --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED
> --add-opens=jdk.jshell/jdk.jshell=ALL-UNNAMED
> --add-modules=jdk.jshell
> --add-exports=java.desktop/sun.awt=ALL-UNNAMED
> --add-exports=java.desktop/java.awt.peer=ALL-UNNAMED
> --add-exports=java.desktop/com.sun.beans.editors=ALL-UNNAMED
> --add-exports=java.desktop/sun.swing=ALL-UNNAMED
> --add-exports=java.desktop/sun.awt.im=ALL-UNNAMED
> --add-exports=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED
> --add-exports=java.management/sun.management=ALL-UNNAMED
> --add-exports=java.base/sun.reflect.annotation=ALL-UNNAMED
> --add-exports=jdk.javadoc/com.sun.tools.javadoc.main=ALL-UNNAMED
> -XX:+IgnoreUnrecognizedVMOptions
> -Xmx1024m
> -Djdk.home=C:\OpenJDK\jdk-11.0.2
> -Dnetbeans.home=C:\NetBeans_10.0\platform
> -Dnetbeans.user=C:\davide_usr
> -Dnetbeans.default_userdir_root=C:\Users\davide\AppData\Roaming\NetBeans
> -XX:+HeapDumpOnOutOfMemoryError
> -XX:HeapDumpPath=C:\davide_usr\var\log\heapdump.hprof
> -Dsun.awt.keepWorkingSetOnMinimize=true
>
> -Dnetbeans.dirs=C:\NetBeans_10.0\nb;C:\NetBeans_10.0\ergonomics;C:\NetBeans_10.0\ide;C:\NetBeans_10.0\extide;C:\NetBeans_10.0\java;C:\NetBeans_10.0\apisupport;C:\NetBeans_10.0\webcommon;C:\NetBeans_10.0\websvccommon;C:\NetBeans_10.0\enterprise;C:\NetBeans_10.0\mobility;C:\NetBeans_10.0\profiler;C:\NetBeans_10.0\python;C:\NetBeans_10.0\php;C:\NetBeans_10.0\identity;C:\NetBeans_10.0\harness;C:\NetBeans_10.0\cnd;C:\NetBeans_10.0\cndext;C:\NetBeans_10.0\dlight;C:\NetBeans_10.0\groovy;C:\NetBeans_10.0\extra;C:\NetBeans_10.0\javacard;C:\NetBeans_10.0\javafx
>
> -Djava.class.path=C:\NetBeans_10.0\platform\lib\boot.jar;C:\NetBeans_10.0\platform\lib\org-openide-modules.jar;C:\NetBeans_10.0\platform\lib\org-openide-util-lookup.jar;C:\NetBeans_10.0\platform\lib\org-openide-util-ui.jar;C:\NetBeans_10.0\platform\lib\org-openide-util.jar
> Creating JVM...
> JVM created.
> Exit hook called with status 0
> onExit()
> processAutoUpdateCL()...
> File "C:\davide_usr\update\download\netbeans.dirs" does not exist
> checkForNewUpdater() at C:\NetBeans_10.0\platform
> No new updater at C:\NetBeans_10.0\platform\update\new_updater\updater.jar
> Checking for updates: C:\NetBeans_10.0\platform\update\download\*.nbm
> checkForNewUpdater() at C:\NetBeans_10.0\nb
> No new updater at C:\NetBeans_10.0\nb\update\new_updater\updater.jar
> Checking for updates: C:\NetBeans_10.0\nb\update\download\*.nbm
> checkForNewUpdater() at C:\NetBeans_10.0\ergonomics
> No new updater at
> C:\NetBeans_10.0\ergonomics\update\new_updater\updater.jar
> Checking for updates: C:\NetBeans_10.0\ergonomics\update\download\*.nbm
> checkForNewUpdater() at C:\NetBeans_10.0\ide
> No new updater at C:\NetBeans_10.0\ide\update\new_updater\updater.jar
> Checking for updates: C:\NetBeans_10.0\ide\update\download\*.nbm
> checkForNewUpdater() at C:\NetBeans_10.0\extide
> No new updater at C:\NetBeans_10.0\extide\update\new_updater\updater.jar
> Checking for updates: C:\NetBeans_10.0\extide\update\download\*.nbm
> checkForNewUpdater() at C:\NetBeans_10.0\java
> No new updater at C:\NetBeans_10.0\java\update\new_updater\updater.jar
> Checking for updates: C:\NetBeans_10.0\java\update\download\*.nbm
> checkForNewUpdater() at C:\NetBeans_10.0\apisupport
> No new updater at
> C:\NetBeans_10.0\apisupport\update\new_updater\updater.jar
> Checking for updates: C:\NetBeans_10.0\apisupport\update\download\*.nbm
> checkForNewUpdater() at C:\NetBeans_10.0\webcommon
> No new updater at C:\NetBeans_10.0\webcommon\update\new_updater\updater.jar
> Checking for updates: C:\NetBeans_10.0\webcommon\update\download\*.nbm
> checkForNewUpdater() at C:\NetBeans_10.0\websvccommon
> No new updater at
> C:\NetBeans_10.0\websvccommon\update\new_updater\updater.jar
> Checking for updates: C:\NetBeans_10.0\websvccommon\update\download\*.nbm
> checkForNewUpdater() at C:\NetBeans_10.0\enterprise
> No new updater at
> C:\NetBeans_10.0\enterprise\update\new_updater\updater.jar
> Checking for updates: C:\NetBeans_10.0\enterprise\update\download\*.nbm
> checkForNewUpdater() at C:\NetBeans_10.0\mobility
> No new updater at C:\NetBeans_10.0\mobility\update\new_updater\updater.jar
> Checking for updates: C:\NetBeans_10.0\mobility\update\download\*.nbm
> checkForNewUpdater() at C:\NetBeans_10.0\profiler
> No new updater at C:\NetBeans_10.0\profiler\update\new_updater\updater.jar
> Checking for updates: C:\NetBeans_10.0\profiler\update\download\*.nbm
> checkForNewUpdater() at C:\NetBeans_10.0\python
> No new updater at C:\NetBeans_10.0\python\update\new_updater\updater.jar
> Checking for updates: C:\NetBeans_10.0\python\update\download\*.nbm
> checkForNewUpdater() at C:\NetBeans_10.0\php
> No new updater at C:\NetBeans_10.0\php\update\new_updater\updater.jar
> Checking for updates: C:\NetBeans_10.0\php\update\download\*.nbm
> checkForNewUpdater() at C:\NetBeans_10.0\identity
> No new updater at C:\NetBeans_10.0\identity\update\new_updater\updater.jar
> Checking for updates: C:\NetBeans_10.0\identity\update\download\*.nbm
> checkForNewUpdater() at C:\NetBeans_10.0\harness
> No new updater at C:\NetBeans_10.0\harness\update\new_updater\updater.jar
> Checking for updates: C:\NetBeans_10.0\harness\update\download\*.nbm
> checkForNewUpdater() at C:\NetBeans_10.0\cnd
> No new updater at C:\NetBeans_10.0\cnd\update\new_updater\updater.jar
> Checking for updates: C:\NetBeans_10.0\cnd\update\download\*.nbm
> checkForNewUpdater() at C:\NetBeans_10.0\cndext
> No new updater at C:\NetBeans_10.0\cndext\update\new_updater\updater.jar
> Checking for updates: C:\NetBeans_10.0\cndext\update\download\*.nbm
> checkForNewUpdater() at C:\NetBeans_10.0\dlight
> No new updater at C:\NetBeans_10.0\dlight\update\new_updater\updater.jar
> Checking for updates: C:\NetBeans_10.0\dlight\update\download\*.nbm
> checkForNewUpdater() at C:\NetBeans_10.0\groovy
> No new updater at C:\NetBeans_10.0\groovy\update\new_updater\updater.jar
> Checking for updates: C:\NetBeans_10.0\groovy\update\download\*.nbm
> checkForNewUpdater() at C:\NetBeans_10.0\extra
> No new updater at C:\NetBeans_10.0\extra\update\new_updater\updater.jar
> Checking for updates: C:\NetBeans_10.0\extra\update\download\*.nbm
> checkForNewUpdater() at C:\NetBeans_10.0\javacard
> No new updater at C:\NetBeans_10.0\javacard\update\new_updater\updater.jar
> Checking for updates: C:\NetBeans_10.0\javacard\update\download\*.nbm
> checkForNewUpdater() at C:\NetBeans_10.0\javafx
> No new updater at C:\NetBeans_10.0\javafx\update\new_updater\updater.jar
> Checking for updates: C:\NetBeans_10.0\javafx\update\download\*.nbm
> checkForNewUpdater() at C:\davide_usr
> No new updater at C:\davide_usr\update\new_updater\updater.jar
> Checking for updates: C:\davide_usr\update\download\*.nbm
> File "C:\davide_usr\var\restart" does not exist
> onExit()
> Already exiting, no need to schedule restart
>
> On Tue, Feb 19, 2019 at 6:01 PM Lars Bruun-Hansen <lb...@gmail.com>
> wrote:
>
>>
>> Perhaps do a trace on the launcher, i.e.
>>
>> netbeans64.exe --trace "mytrace.log"
>>
>> and then post the file mytrace.log here.
>>
>> Note that I cannot get the argument to "--trace" to accept a full path.
>> Don't really understand why. In any case the above command will produce the
>> "mytrace.log" file in the current directory.
>>
>> /Lars
>>
>> On Tue, Feb 19, 2019 at 5:53 PM Geertjan Wielenga
>> <ge...@googlemail.com.invalid> wrote:
>>
>>> Only way I can think of is to actually take a look. I am
>>> geertjanwielenga on Skype, I'm on-line now.
>>>
>>> Gj
>>>
>>> On Tue, Feb 19, 2019 at 5:48 PM Davide Moschini <
>>> davide.moschini@gmail.com> wrote:
>>>
>>>> Changed the java installation folder to one in root folder without
>>>> spaces in the name, and changed the environment variables.
>>>> Changed the netbeans.conf file using my jdk folder as parameter.
>>>> Tried to execute from cmd using no parameters... same output as before
>>>> Tried with parameter --jdkhome and path using slashes or backslashes...
>>>> same output :/
>>>>
>>>> Tried both cmd in user and administrator mode.
>>>>
>>>>
>>>>
>>>> On Tue, Feb 19, 2019 at 5:41 PM Geertjan Wielenga <
>>>> geertjan.wielenga@googlemail.com> wrote:
>>>>
>>>>> After you install the JDK in a folder without a space, don't use the
>>>>> --jdkhome flag, instead use this in etc/netbeans.conf, which I have just
>>>>> tried and it works:
>>>>>
>>>>>
>>>>> netbeans_jdkhome="C:\Users\g_wie\Downloads\OpenJDK11U-jdk_x64_windows_hotspot_11.0.2_9\jdk-11.0.2+9"
>>>>>
>>>>>
>>>>> I.e., replace 'C:\Users\g_wie\Downloads\' above with
>>>>> 'C:\whatever-is-applicable-to-you'.
>>>>>
>>>>> Gj
>>>>>
>>>>> On Tue, Feb 19, 2019 at 5:29 PM Davide Moschini <
>>>>> davide.moschini@gmail.com> wrote:
>>>>>
>>>>>> Nothing else,
>>>>>> these are the only things printed out.
>>>>>>
>>>>>> Now I try to invert the slash and to move the java installation to a
>>>>>> folder path without spaces
>>>>>>
>>>>>> On Tue, Feb 19, 2019 at 5:20 PM Peter Nabbefeld <
>>>>>> peter.nabbefeld@gmx.de> wrote:
>>>>>>
>>>>>>> (see inline)
>>>>>>>
>>>>>>> Am 19.02.19 um 17:16 schrieb Davide Moschini:
>>>>>>> > Using CMD cli:
>>>>>>> > changed the directory to Netbeans bin folder.
>>>>>>> > this is the command I wrote:
>>>>>>> > netbeans64.exe --jdk-home "C:\.....\jdk-11.0.2"
>>>>>>> >
>>>>>>> > This is the answer:
>>>>>>> > 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.
>>>>>>> >
>>>>>>> Nothing more? Did it stop right after the last line? Without
>>>>>>> complaining
>>>>>>> about anything?
>>>>>>> BTW, probably try to use forward slashes, I'm not sure if Java needs
>>>>>>> them to be doubled otherwise (as backslashes are also escape
>>>>>>> characters
>>>>>>> in Java)
>>>>>>>
>>>>>>> P.
>>>>>>>
>>>>>>> >
>>>>>>> > On Tue, Feb 19, 2019 at 4:47 PM Peter Steele <steelehere@gmail.com
>>>>>>> > <ma...@gmail.com>> wrote:
>>>>>>> >
>>>>>>> >     Can you send the contents of the set command from the CMD cli?
>>>>>>> I'd
>>>>>>> >     recommending replacing personal identifiable information with
>>>>>>> >     dummy values. There is something odd going on
>>>>>>> >
>>>>>>> >     On Tue, 19 Feb 2019, 15:43 Davide Moschini
>>>>>>> >     <davide.moschini@gmail.com <ma...@gmail.com>
>>>>>>> wrote:
>>>>>>> >
>>>>>>> >         Moved everything in C:\Netbeans_10.0
>>>>>>> >         no differences... the program doesn't start
>>>>>>> >
>>>>>>> >
>>>>>>> >         On Tue, Feb 19, 2019 at 4:31 PM Geertjan Wielenga
>>>>>>> >         <geertjan.wielenga@googlemail.com
>>>>>>> >         <ma...@googlemail.com>> wrote:
>>>>>>> >
>>>>>>> >             And maybe the fact that you have NetBeans at D: and
>>>>>>> JDK at
>>>>>>> >             C: is the problem.
>>>>>>> >
>>>>>>> >             Gj
>>>>>>> >
>>>>>>> >             On Tue, Feb 19, 2019 at 4:30 PM Geertjan Wielenga
>>>>>>> >             <geertjan.wielenga@googlemail.com
>>>>>>> >             <ma...@googlemail.com>> wrote:
>>>>>>> >
>>>>>>> >                 Just double-click the executable and forget about
>>>>>>> that
>>>>>>> >                 --jdkhome flag, you don't need it.
>>>>>>> >
>>>>>>> >                 Gj
>>>>>>> >
>>>>>>> >                 On Tue, Feb 19, 2019 at 4:26 PM Davide Moschini
>>>>>>> >                 <davide.moschini@gmail.com
>>>>>>> >                 <ma...@gmail.com>> wrote:
>>>>>>> >
>>>>>>> >                     I would like to summarize the steps taken
>>>>>>> (sorry I
>>>>>>> >                     forgot to include the netbeans mailing list in
>>>>>>> the
>>>>>>> >                     last emails sent)
>>>>>>> >                     - Netbeans 10.0 is "installed" in a folder on
>>>>>>> a D:
>>>>>>> >                     partition.
>>>>>>> >                     - JDK (openJDK at the moment) is installed in
>>>>>>> >                     folder "C:\Program
>>>>>>> Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>>>> >                     - I'm using Windows 10 64 bit
>>>>>>> >                     - ENVIRONMENT VARIABLES:
>>>>>>> >                         * JAVA_HOME: C:\Program
>>>>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9\
>>>>>>> >                         * JDK_HOME: %JAVA_HOME%
>>>>>>> >                         * JRE_HOME: C:\Program
>>>>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9-jre
>>>>>>> >                         * Path: C:\Program
>>>>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9\bin, C:\Program
>>>>>>> >
>>>>>>>  Files\AdoptOpenJDK\jdk-11.0.2+9-jre\bin.....(other
>>>>>>> >                     stuff)
>>>>>>> >                     - netbeans.conf: commented out the line
>>>>>>> >                      netbeans_jdkhome="C:\Program
>>>>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>>>> >                     - cmd line
>>>>>>> >                     * netbeans64.exe --jdkhome "C:\Program
>>>>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>>>> >                        The answer from cmd is:
>>>>>>> >                           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.
>>>>>>> >                     - when I run javac -version from command line
>>>>>>> the
>>>>>>> >                     answer is:
>>>>>>> >                         javac 11.0.2
>>>>>>> >
>>>>>>> >                     Netbeans never started.
>>>>>>> >
>>>>>>> >                     davide
>>>>>>> >
>>>>>>> >
>>>>>>> >
>>>>>>> >                     On Tue, Feb 19, 2019 at 3:48 PM Geertjan
>>>>>>> Wielenga
>>>>>>> >                     <geertjan.wielenga@googlemail.com
>>>>>>> >                     <ma...@googlemail.com>>
>>>>>>> wrote:
>>>>>>> >
>>>>>>> >                         Maybe comment out the line in netbeans.conf
>>>>>>> >                         pointing to the JDK, instead run 'echo
>>>>>>> %path%'
>>>>>>> >                         to check that it is on your path (and put
>>>>>>> the
>>>>>>> >                         JDK on your path in Environment Variables
>>>>>>> if
>>>>>>> >                         needed) and then double-click the
>>>>>>> executable
>>>>>>> >                         again.
>>>>>>> >
>>>>>>> >                         Gj
>>>>>>> >
>>>>>>> >                         On Tue, Feb 19, 2019 at 3:36 PM Geertjan
>>>>>>> >                         Wielenga <geertjan.wielenga@googlemail.com
>>>>>>> >                         <ma...@googlemail.com>>
>>>>>>> wrote:
>>>>>>> >
>>>>>>> >                             On Windows, I don't have any problem
>>>>>>> >                             starting up Apache NetBeans 10, just by
>>>>>>> >                             double-clicking the executable. I don't
>>>>>>> >                             need any --jdkhome switch. In
>>>>>>> >                             etc/netbeans.conf, I have
>>>>>>> netbeans_jdkhome
>>>>>>> >                             commented out, so that I use the
>>>>>>> system's
>>>>>>> >                             installed JDK. When I run 'echo %path%'
>>>>>>> >                             from the command line, I see that the
>>>>>>> JDK
>>>>>>> >                             as well as its bin folder are included
>>>>>>> there.
>>>>>>> >
>>>>>>> >                             Gj
>>>>>>> >
>>>>>>> >                             On Tue, Feb 19, 2019 at 3:24 PM Davide
>>>>>>> >                             Moschini <davide.moschini@gmail.com
>>>>>>> >                             <ma...@gmail.com>>
>>>>>>> wrote:
>>>>>>> >
>>>>>>> >
>>>>>>> >
>>>>>>> >                                 ---------- Forwarded message
>>>>>>> ---------
>>>>>>> >                                 From: *Davide Moschini*
>>>>>>> >                                 <davide.moschini@gmail.com
>>>>>>> >                                 <mailto:davide.moschini@gmail.com
>>>>>>> >>
>>>>>>> >                                 Date: Tue, Feb 19, 2019 at 2:58 PM
>>>>>>> >                                 Subject: Re: Netbeans 10.0 -
>>>>>>> doesn't start
>>>>>>> >                                 To: Geertjan Wielenga
>>>>>>> >                                 <geertjan.wielenga@googlemail.com
>>>>>>> >                                 <mailto:
>>>>>>> geertjan.wielenga@googlemail.com>>
>>>>>>> >
>>>>>>> >
>>>>>>> >                                 From command line, the version
>>>>>>> after
>>>>>>> >                                 the execution of "javac -version"
>>>>>>> is:
>>>>>>> >                                 javac 11.0.2
>>>>>>> >
>>>>>>> >                                 In netbeans.conf I have:
>>>>>>> >                                 netbeans_jdkhome="C:\Program
>>>>>>> >                                 Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>>>> >
>>>>>>> >                                 davide
>>>>>>> >
>>>>>>> >                                 On Tue, Feb 19, 2019 at 2:52 PM
>>>>>>> >                                 Geertjan Wielenga
>>>>>>> >                                 <geertjan.wielenga@googlemail.com
>>>>>>> >                                 <mailto:
>>>>>>> geertjan.wielenga@googlemail.com>>
>>>>>>> >                                 wrote:
>>>>>>> >
>>>>>>> >                                     When you run this on the
>>>>>>> command
>>>>>>> >                                     line, what do you see: javac
>>>>>>> -version
>>>>>>> >
>>>>>>> >                                     What is the path you're
>>>>>>> referring
>>>>>>> >                                     to in netbeans.conf?
>>>>>>> >
>>>>>>> >                                     Gj
>>>>>>> >
>>>>>>> >                                     On Tue, Feb 19, 2019 at 2:50 PM
>>>>>>> >                                     Davide Moschini
>>>>>>> >                                     <davide.moschini@gmail.com
>>>>>>> >                                     <mailto:
>>>>>>> davide.moschini@gmail.com>>
>>>>>>> >                                     wrote:
>>>>>>> >
>>>>>>> >                                         I've just downloaded
>>>>>>> |Netbeans
>>>>>>> >                                         10.0| and on a Windows 10
>>>>>>> 64
>>>>>>> >                                         bit it doesn't start when i
>>>>>>> >                                         execute
>>>>>>> |netbeans64.exe| (not
>>>>>>> >                                         even with |netbeans.exe|)
>>>>>>> >
>>>>>>> >                                         I removed all the previous
>>>>>>> >                                         java installations and
>>>>>>> >                                         installed
>>>>>>> |jdk-11.0.2+9| and
>>>>>>> >                                         |jdk-11.0.2+9-jre|.
>>>>>>> >
>>>>>>> >                                         Also change the path in the
>>>>>>> >                                         netbeans configuration
>>>>>>> file to
>>>>>>> >                                         the right java path.
>>>>>>> >
>>>>>>> >                                         Configured the environment
>>>>>>> >                                         variables |PATH| and
>>>>>>> |JAVA_HOME|.
>>>>>>> >
>>>>>>> >                                         When I try to run the app
>>>>>>> >                                         nothing happens.
>>>>>>> >
>>>>>>> >                                         Somebody else with same
>>>>>>> issue?
>>>>>>> >
>>>>>>> >
>>>>>>> >                                         Also wrote this question on
>>>>>>> >
>>>>>>> https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os
>>>>>>> >
>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
>>>>>>> For additional commands, e-mail: users-help@netbeans.apache.org
>>>>>>>
>>>>>>> For further information about the NetBeans mailing lists, visit:
>>>>>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>>>>>>
>>>>>>>

Re: Netbeans 10.0 - doesn't start

Posted by Davide Moschini <da...@gmail.com>.
And this is the trace I have

LoadLibrary("C:\OpenJDK\jdk-11.0.2\bin\server\jvm.dll")
PrepareDllPath: C:\OpenJDK\jdk-11.0.2\bin
JVM options:
-Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade
-XX:+UseStringDeduplication
-Xss2m
-Xms32m
-Djdk.gtk.version=2.2
-Dapple.laf.useScreenMenuBar=true
-Dapple.awt.graphics.UseQuartz=true
-Dsun.java2d.noddraw=true
-Dsun.java2d.dpiaware=true
-Dsun.zip.disableMemoryMapping=true
-Dplugin.manager.check.updates=false
-Dnetbeans.extbrowser.manual_chrome_plugin_install=yes
--add-opens=java.base/java.net=ALL-UNNAMED
--add-opens=java.base/java.lang.ref=ALL-UNNAMED
--add-opens=java.base/java.lang=ALL-UNNAMED
--add-opens=java.base/java.security=ALL-UNNAMED
--add-opens=java.base/java.util=ALL-UNNAMED
--add-opens=java.desktop/javax.swing.plaf.basic=ALL-UNNAMED
--add-opens=java.desktop/javax.swing.text=ALL-UNNAMED
--add-opens=java.desktop/javax.swing=ALL-UNNAMED
--add-opens=java.desktop/java.awt=ALL-UNNAMED
--add-opens=java.desktop/java.awt.event=ALL-UNNAMED
--add-opens=java.prefs/java.util.prefs=ALL-UNNAMED
--add-opens=jdk.jshell/jdk.jshell=ALL-UNNAMED
--add-modules=jdk.jshell
--add-exports=java.desktop/sun.awt=ALL-UNNAMED
--add-exports=java.desktop/java.awt.peer=ALL-UNNAMED
--add-exports=java.desktop/com.sun.beans.editors=ALL-UNNAMED
--add-exports=java.desktop/sun.swing=ALL-UNNAMED
--add-exports=java.desktop/sun.awt.im=ALL-UNNAMED
--add-exports=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED
--add-exports=java.management/sun.management=ALL-UNNAMED
--add-exports=java.base/sun.reflect.annotation=ALL-UNNAMED
--add-exports=jdk.javadoc/com.sun.tools.javadoc.main=ALL-UNNAMED
-XX:+IgnoreUnrecognizedVMOptions
-Xmx1024m
-Djdk.home=C:\OpenJDK\jdk-11.0.2
-Dnetbeans.home=C:\NetBeans_10.0\platform
-Dnetbeans.user=C:\davide_usr
-Dnetbeans.default_userdir_root=C:\Users\davide\AppData\Roaming\NetBeans
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=C:\davide_usr\var\log\heapdump.hprof
-Dsun.awt.keepWorkingSetOnMinimize=true
-Dnetbeans.dirs=C:\NetBeans_10.0\nb;C:\NetBeans_10.0\ergonomics;C:\NetBeans_10.0\ide;C:\NetBeans_10.0\extide;C:\NetBeans_10.0\java;C:\NetBeans_10.0\apisupport;C:\NetBeans_10.0\webcommon;C:\NetBeans_10.0\websvccommon;C:\NetBeans_10.0\enterprise;C:\NetBeans_10.0\mobility;C:\NetBeans_10.0\profiler;C:\NetBeans_10.0\python;C:\NetBeans_10.0\php;C:\NetBeans_10.0\identity;C:\NetBeans_10.0\harness;C:\NetBeans_10.0\cnd;C:\NetBeans_10.0\cndext;C:\NetBeans_10.0\dlight;C:\NetBeans_10.0\groovy;C:\NetBeans_10.0\extra;C:\NetBeans_10.0\javacard;C:\NetBeans_10.0\javafx
-Djava.class.path=C:\NetBeans_10.0\platform\lib\boot.jar;C:\NetBeans_10.0\platform\lib\org-openide-modules.jar;C:\NetBeans_10.0\platform\lib\org-openide-util-lookup.jar;C:\NetBeans_10.0\platform\lib\org-openide-util-ui.jar;C:\NetBeans_10.0\platform\lib\org-openide-util.jar
Creating JVM...
JVM created.
Exit hook called with status 0
onExit()
processAutoUpdateCL()...
File "C:\davide_usr\update\download\netbeans.dirs" does not exist
checkForNewUpdater() at C:\NetBeans_10.0\platform
No new updater at C:\NetBeans_10.0\platform\update\new_updater\updater.jar
Checking for updates: C:\NetBeans_10.0\platform\update\download\*.nbm
checkForNewUpdater() at C:\NetBeans_10.0\nb
No new updater at C:\NetBeans_10.0\nb\update\new_updater\updater.jar
Checking for updates: C:\NetBeans_10.0\nb\update\download\*.nbm
checkForNewUpdater() at C:\NetBeans_10.0\ergonomics
No new updater at C:\NetBeans_10.0\ergonomics\update\new_updater\updater.jar
Checking for updates: C:\NetBeans_10.0\ergonomics\update\download\*.nbm
checkForNewUpdater() at C:\NetBeans_10.0\ide
No new updater at C:\NetBeans_10.0\ide\update\new_updater\updater.jar
Checking for updates: C:\NetBeans_10.0\ide\update\download\*.nbm
checkForNewUpdater() at C:\NetBeans_10.0\extide
No new updater at C:\NetBeans_10.0\extide\update\new_updater\updater.jar
Checking for updates: C:\NetBeans_10.0\extide\update\download\*.nbm
checkForNewUpdater() at C:\NetBeans_10.0\java
No new updater at C:\NetBeans_10.0\java\update\new_updater\updater.jar
Checking for updates: C:\NetBeans_10.0\java\update\download\*.nbm
checkForNewUpdater() at C:\NetBeans_10.0\apisupport
No new updater at C:\NetBeans_10.0\apisupport\update\new_updater\updater.jar
Checking for updates: C:\NetBeans_10.0\apisupport\update\download\*.nbm
checkForNewUpdater() at C:\NetBeans_10.0\webcommon
No new updater at C:\NetBeans_10.0\webcommon\update\new_updater\updater.jar
Checking for updates: C:\NetBeans_10.0\webcommon\update\download\*.nbm
checkForNewUpdater() at C:\NetBeans_10.0\websvccommon
No new updater at
C:\NetBeans_10.0\websvccommon\update\new_updater\updater.jar
Checking for updates: C:\NetBeans_10.0\websvccommon\update\download\*.nbm
checkForNewUpdater() at C:\NetBeans_10.0\enterprise
No new updater at C:\NetBeans_10.0\enterprise\update\new_updater\updater.jar
Checking for updates: C:\NetBeans_10.0\enterprise\update\download\*.nbm
checkForNewUpdater() at C:\NetBeans_10.0\mobility
No new updater at C:\NetBeans_10.0\mobility\update\new_updater\updater.jar
Checking for updates: C:\NetBeans_10.0\mobility\update\download\*.nbm
checkForNewUpdater() at C:\NetBeans_10.0\profiler
No new updater at C:\NetBeans_10.0\profiler\update\new_updater\updater.jar
Checking for updates: C:\NetBeans_10.0\profiler\update\download\*.nbm
checkForNewUpdater() at C:\NetBeans_10.0\python
No new updater at C:\NetBeans_10.0\python\update\new_updater\updater.jar
Checking for updates: C:\NetBeans_10.0\python\update\download\*.nbm
checkForNewUpdater() at C:\NetBeans_10.0\php
No new updater at C:\NetBeans_10.0\php\update\new_updater\updater.jar
Checking for updates: C:\NetBeans_10.0\php\update\download\*.nbm
checkForNewUpdater() at C:\NetBeans_10.0\identity
No new updater at C:\NetBeans_10.0\identity\update\new_updater\updater.jar
Checking for updates: C:\NetBeans_10.0\identity\update\download\*.nbm
checkForNewUpdater() at C:\NetBeans_10.0\harness
No new updater at C:\NetBeans_10.0\harness\update\new_updater\updater.jar
Checking for updates: C:\NetBeans_10.0\harness\update\download\*.nbm
checkForNewUpdater() at C:\NetBeans_10.0\cnd
No new updater at C:\NetBeans_10.0\cnd\update\new_updater\updater.jar
Checking for updates: C:\NetBeans_10.0\cnd\update\download\*.nbm
checkForNewUpdater() at C:\NetBeans_10.0\cndext
No new updater at C:\NetBeans_10.0\cndext\update\new_updater\updater.jar
Checking for updates: C:\NetBeans_10.0\cndext\update\download\*.nbm
checkForNewUpdater() at C:\NetBeans_10.0\dlight
No new updater at C:\NetBeans_10.0\dlight\update\new_updater\updater.jar
Checking for updates: C:\NetBeans_10.0\dlight\update\download\*.nbm
checkForNewUpdater() at C:\NetBeans_10.0\groovy
No new updater at C:\NetBeans_10.0\groovy\update\new_updater\updater.jar
Checking for updates: C:\NetBeans_10.0\groovy\update\download\*.nbm
checkForNewUpdater() at C:\NetBeans_10.0\extra
No new updater at C:\NetBeans_10.0\extra\update\new_updater\updater.jar
Checking for updates: C:\NetBeans_10.0\extra\update\download\*.nbm
checkForNewUpdater() at C:\NetBeans_10.0\javacard
No new updater at C:\NetBeans_10.0\javacard\update\new_updater\updater.jar
Checking for updates: C:\NetBeans_10.0\javacard\update\download\*.nbm
checkForNewUpdater() at C:\NetBeans_10.0\javafx
No new updater at C:\NetBeans_10.0\javafx\update\new_updater\updater.jar
Checking for updates: C:\NetBeans_10.0\javafx\update\download\*.nbm
checkForNewUpdater() at C:\davide_usr
No new updater at C:\davide_usr\update\new_updater\updater.jar
Checking for updates: C:\davide_usr\update\download\*.nbm
File "C:\davide_usr\var\restart" does not exist
onExit()
Already exiting, no need to schedule restart

On Tue, Feb 19, 2019 at 6:01 PM Lars Bruun-Hansen <lb...@gmail.com>
wrote:

>
> Perhaps do a trace on the launcher, i.e.
>
> netbeans64.exe --trace "mytrace.log"
>
> and then post the file mytrace.log here.
>
> Note that I cannot get the argument to "--trace" to accept a full path.
> Don't really understand why. In any case the above command will produce the
> "mytrace.log" file in the current directory.
>
> /Lars
>
> On Tue, Feb 19, 2019 at 5:53 PM Geertjan Wielenga
> <ge...@googlemail.com.invalid> wrote:
>
>> Only way I can think of is to actually take a look. I am geertjanwielenga
>> on Skype, I'm on-line now.
>>
>> Gj
>>
>> On Tue, Feb 19, 2019 at 5:48 PM Davide Moschini <
>> davide.moschini@gmail.com> wrote:
>>
>>> Changed the java installation folder to one in root folder without
>>> spaces in the name, and changed the environment variables.
>>> Changed the netbeans.conf file using my jdk folder as parameter.
>>> Tried to execute from cmd using no parameters... same output as before
>>> Tried with parameter --jdkhome and path using slashes or backslashes...
>>> same output :/
>>>
>>> Tried both cmd in user and administrator mode.
>>>
>>>
>>>
>>> On Tue, Feb 19, 2019 at 5:41 PM Geertjan Wielenga <
>>> geertjan.wielenga@googlemail.com> wrote:
>>>
>>>> After you install the JDK in a folder without a space, don't use the
>>>> --jdkhome flag, instead use this in etc/netbeans.conf, which I have just
>>>> tried and it works:
>>>>
>>>>
>>>> netbeans_jdkhome="C:\Users\g_wie\Downloads\OpenJDK11U-jdk_x64_windows_hotspot_11.0.2_9\jdk-11.0.2+9"
>>>>
>>>>
>>>> I.e., replace 'C:\Users\g_wie\Downloads\' above with
>>>> 'C:\whatever-is-applicable-to-you'.
>>>>
>>>> Gj
>>>>
>>>> On Tue, Feb 19, 2019 at 5:29 PM Davide Moschini <
>>>> davide.moschini@gmail.com> wrote:
>>>>
>>>>> Nothing else,
>>>>> these are the only things printed out.
>>>>>
>>>>> Now I try to invert the slash and to move the java installation to a
>>>>> folder path without spaces
>>>>>
>>>>> On Tue, Feb 19, 2019 at 5:20 PM Peter Nabbefeld <
>>>>> peter.nabbefeld@gmx.de> wrote:
>>>>>
>>>>>> (see inline)
>>>>>>
>>>>>> Am 19.02.19 um 17:16 schrieb Davide Moschini:
>>>>>> > Using CMD cli:
>>>>>> > changed the directory to Netbeans bin folder.
>>>>>> > this is the command I wrote:
>>>>>> > netbeans64.exe --jdk-home "C:\.....\jdk-11.0.2"
>>>>>> >
>>>>>> > This is the answer:
>>>>>> > 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.
>>>>>> >
>>>>>> Nothing more? Did it stop right after the last line? Without
>>>>>> complaining
>>>>>> about anything?
>>>>>> BTW, probably try to use forward slashes, I'm not sure if Java needs
>>>>>> them to be doubled otherwise (as backslashes are also escape
>>>>>> characters
>>>>>> in Java)
>>>>>>
>>>>>> P.
>>>>>>
>>>>>> >
>>>>>> > On Tue, Feb 19, 2019 at 4:47 PM Peter Steele <steelehere@gmail.com
>>>>>> > <ma...@gmail.com>> wrote:
>>>>>> >
>>>>>> >     Can you send the contents of the set command from the CMD cli?
>>>>>> I'd
>>>>>> >     recommending replacing personal identifiable information with
>>>>>> >     dummy values. There is something odd going on
>>>>>> >
>>>>>> >     On Tue, 19 Feb 2019, 15:43 Davide Moschini
>>>>>> >     <davide.moschini@gmail.com <ma...@gmail.com>
>>>>>> wrote:
>>>>>> >
>>>>>> >         Moved everything in C:\Netbeans_10.0
>>>>>> >         no differences... the program doesn't start
>>>>>> >
>>>>>> >
>>>>>> >         On Tue, Feb 19, 2019 at 4:31 PM Geertjan Wielenga
>>>>>> >         <geertjan.wielenga@googlemail.com
>>>>>> >         <ma...@googlemail.com>> wrote:
>>>>>> >
>>>>>> >             And maybe the fact that you have NetBeans at D: and JDK
>>>>>> at
>>>>>> >             C: is the problem.
>>>>>> >
>>>>>> >             Gj
>>>>>> >
>>>>>> >             On Tue, Feb 19, 2019 at 4:30 PM Geertjan Wielenga
>>>>>> >             <geertjan.wielenga@googlemail.com
>>>>>> >             <ma...@googlemail.com>> wrote:
>>>>>> >
>>>>>> >                 Just double-click the executable and forget about
>>>>>> that
>>>>>> >                 --jdkhome flag, you don't need it.
>>>>>> >
>>>>>> >                 Gj
>>>>>> >
>>>>>> >                 On Tue, Feb 19, 2019 at 4:26 PM Davide Moschini
>>>>>> >                 <davide.moschini@gmail.com
>>>>>> >                 <ma...@gmail.com>> wrote:
>>>>>> >
>>>>>> >                     I would like to summarize the steps taken
>>>>>> (sorry I
>>>>>> >                     forgot to include the netbeans mailing list in
>>>>>> the
>>>>>> >                     last emails sent)
>>>>>> >                     - Netbeans 10.0 is "installed" in a folder on a
>>>>>> D:
>>>>>> >                     partition.
>>>>>> >                     - JDK (openJDK at the moment) is installed in
>>>>>> >                     folder "C:\Program
>>>>>> Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>>> >                     - I'm using Windows 10 64 bit
>>>>>> >                     - ENVIRONMENT VARIABLES:
>>>>>> >                         * JAVA_HOME: C:\Program
>>>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9\
>>>>>> >                         * JDK_HOME: %JAVA_HOME%
>>>>>> >                         * JRE_HOME: C:\Program
>>>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9-jre
>>>>>> >                         * Path: C:\Program
>>>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9\bin, C:\Program
>>>>>> >
>>>>>>  Files\AdoptOpenJDK\jdk-11.0.2+9-jre\bin.....(other
>>>>>> >                     stuff)
>>>>>> >                     - netbeans.conf: commented out the line
>>>>>> >                      netbeans_jdkhome="C:\Program
>>>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>>> >                     - cmd line
>>>>>> >                     * netbeans64.exe --jdkhome "C:\Program
>>>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>>> >                        The answer from cmd is:
>>>>>> >                           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.
>>>>>> >                     - when I run javac -version from command line
>>>>>> the
>>>>>> >                     answer is:
>>>>>> >                         javac 11.0.2
>>>>>> >
>>>>>> >                     Netbeans never started.
>>>>>> >
>>>>>> >                     davide
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>> >                     On Tue, Feb 19, 2019 at 3:48 PM Geertjan
>>>>>> Wielenga
>>>>>> >                     <geertjan.wielenga@googlemail.com
>>>>>> >                     <ma...@googlemail.com>>
>>>>>> wrote:
>>>>>> >
>>>>>> >                         Maybe comment out the line in netbeans.conf
>>>>>> >                         pointing to the JDK, instead run 'echo
>>>>>> %path%'
>>>>>> >                         to check that it is on your path (and put
>>>>>> the
>>>>>> >                         JDK on your path in Environment Variables if
>>>>>> >                         needed) and then double-click the executable
>>>>>> >                         again.
>>>>>> >
>>>>>> >                         Gj
>>>>>> >
>>>>>> >                         On Tue, Feb 19, 2019 at 3:36 PM Geertjan
>>>>>> >                         Wielenga <geertjan.wielenga@googlemail.com
>>>>>> >                         <ma...@googlemail.com>>
>>>>>> wrote:
>>>>>> >
>>>>>> >                             On Windows, I don't have any problem
>>>>>> >                             starting up Apache NetBeans 10, just by
>>>>>> >                             double-clicking the executable. I don't
>>>>>> >                             need any --jdkhome switch. In
>>>>>> >                             etc/netbeans.conf, I have
>>>>>> netbeans_jdkhome
>>>>>> >                             commented out, so that I use the
>>>>>> system's
>>>>>> >                             installed JDK. When I run 'echo %path%'
>>>>>> >                             from the command line, I see that the
>>>>>> JDK
>>>>>> >                             as well as its bin folder are included
>>>>>> there.
>>>>>> >
>>>>>> >                             Gj
>>>>>> >
>>>>>> >                             On Tue, Feb 19, 2019 at 3:24 PM Davide
>>>>>> >                             Moschini <davide.moschini@gmail.com
>>>>>> >                             <ma...@gmail.com>>
>>>>>> wrote:
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>> >                                 ---------- Forwarded message
>>>>>> ---------
>>>>>> >                                 From: *Davide Moschini*
>>>>>> >                                 <davide.moschini@gmail.com
>>>>>> >                                 <ma...@gmail.com>>
>>>>>> >                                 Date: Tue, Feb 19, 2019 at 2:58 PM
>>>>>> >                                 Subject: Re: Netbeans 10.0 -
>>>>>> doesn't start
>>>>>> >                                 To: Geertjan Wielenga
>>>>>> >                                 <geertjan.wielenga@googlemail.com
>>>>>> >                                 <mailto:
>>>>>> geertjan.wielenga@googlemail.com>>
>>>>>> >
>>>>>> >
>>>>>> >                                 From command line, the version after
>>>>>> >                                 the execution of "javac -version"
>>>>>> is:
>>>>>> >                                 javac 11.0.2
>>>>>> >
>>>>>> >                                 In netbeans.conf I have:
>>>>>> >                                 netbeans_jdkhome="C:\Program
>>>>>> >                                 Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>>> >
>>>>>> >                                 davide
>>>>>> >
>>>>>> >                                 On Tue, Feb 19, 2019 at 2:52 PM
>>>>>> >                                 Geertjan Wielenga
>>>>>> >                                 <geertjan.wielenga@googlemail.com
>>>>>> >                                 <mailto:
>>>>>> geertjan.wielenga@googlemail.com>>
>>>>>> >                                 wrote:
>>>>>> >
>>>>>> >                                     When you run this on the command
>>>>>> >                                     line, what do you see: javac
>>>>>> -version
>>>>>> >
>>>>>> >                                     What is the path you're
>>>>>> referring
>>>>>> >                                     to in netbeans.conf?
>>>>>> >
>>>>>> >                                     Gj
>>>>>> >
>>>>>> >                                     On Tue, Feb 19, 2019 at 2:50 PM
>>>>>> >                                     Davide Moschini
>>>>>> >                                     <davide.moschini@gmail.com
>>>>>> >                                     <mailto:
>>>>>> davide.moschini@gmail.com>>
>>>>>> >                                     wrote:
>>>>>> >
>>>>>> >                                         I've just downloaded
>>>>>> |Netbeans
>>>>>> >                                         10.0| and on a Windows 10 64
>>>>>> >                                         bit it doesn't start when i
>>>>>> >                                         execute
>>>>>> |netbeans64.exe| (not
>>>>>> >                                         even with |netbeans.exe|)
>>>>>> >
>>>>>> >                                         I removed all the previous
>>>>>> >                                         java installations and
>>>>>> >                                         installed |jdk-11.0.2+9| and
>>>>>> >                                         |jdk-11.0.2+9-jre|.
>>>>>> >
>>>>>> >                                         Also change the path in the
>>>>>> >                                         netbeans configuration file
>>>>>> to
>>>>>> >                                         the right java path.
>>>>>> >
>>>>>> >                                         Configured the environment
>>>>>> >                                         variables |PATH| and
>>>>>> |JAVA_HOME|.
>>>>>> >
>>>>>> >                                         When I try to run the app
>>>>>> >                                         nothing happens.
>>>>>> >
>>>>>> >                                         Somebody else with same
>>>>>> issue?
>>>>>> >
>>>>>> >
>>>>>> >                                         Also wrote this question on
>>>>>> >
>>>>>> https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os
>>>>>> >
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
>>>>>> For additional commands, e-mail: users-help@netbeans.apache.org
>>>>>>
>>>>>> For further information about the NetBeans mailing lists, visit:
>>>>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>>>>>
>>>>>>

Re: Netbeans 10.0 - doesn't start

Posted by Lars Bruun-Hansen <lb...@gmail.com>.
Perhaps do a trace on the launcher, i.e.

netbeans64.exe --trace "mytrace.log"

and then post the file mytrace.log here.

Note that I cannot get the argument to "--trace" to accept a full path.
Don't really understand why. In any case the above command will produce the
"mytrace.log" file in the current directory.

/Lars

On Tue, Feb 19, 2019 at 5:53 PM Geertjan Wielenga
<ge...@googlemail.com.invalid> wrote:

> Only way I can think of is to actually take a look. I am geertjanwielenga
> on Skype, I'm on-line now.
>
> Gj
>
> On Tue, Feb 19, 2019 at 5:48 PM Davide Moschini <da...@gmail.com>
> wrote:
>
>> Changed the java installation folder to one in root folder without spaces
>> in the name, and changed the environment variables.
>> Changed the netbeans.conf file using my jdk folder as parameter.
>> Tried to execute from cmd using no parameters... same output as before
>> Tried with parameter --jdkhome and path using slashes or backslashes...
>> same output :/
>>
>> Tried both cmd in user and administrator mode.
>>
>>
>>
>> On Tue, Feb 19, 2019 at 5:41 PM Geertjan Wielenga <
>> geertjan.wielenga@googlemail.com> wrote:
>>
>>> After you install the JDK in a folder without a space, don't use the
>>> --jdkhome flag, instead use this in etc/netbeans.conf, which I have just
>>> tried and it works:
>>>
>>>
>>> netbeans_jdkhome="C:\Users\g_wie\Downloads\OpenJDK11U-jdk_x64_windows_hotspot_11.0.2_9\jdk-11.0.2+9"
>>>
>>>
>>> I.e., replace 'C:\Users\g_wie\Downloads\' above with
>>> 'C:\whatever-is-applicable-to-you'.
>>>
>>> Gj
>>>
>>> On Tue, Feb 19, 2019 at 5:29 PM Davide Moschini <
>>> davide.moschini@gmail.com> wrote:
>>>
>>>> Nothing else,
>>>> these are the only things printed out.
>>>>
>>>> Now I try to invert the slash and to move the java installation to a
>>>> folder path without spaces
>>>>
>>>> On Tue, Feb 19, 2019 at 5:20 PM Peter Nabbefeld <pe...@gmx.de>
>>>> wrote:
>>>>
>>>>> (see inline)
>>>>>
>>>>> Am 19.02.19 um 17:16 schrieb Davide Moschini:
>>>>> > Using CMD cli:
>>>>> > changed the directory to Netbeans bin folder.
>>>>> > this is the command I wrote:
>>>>> > netbeans64.exe --jdk-home "C:\.....\jdk-11.0.2"
>>>>> >
>>>>> > This is the answer:
>>>>> > 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.
>>>>> >
>>>>> Nothing more? Did it stop right after the last line? Without
>>>>> complaining
>>>>> about anything?
>>>>> BTW, probably try to use forward slashes, I'm not sure if Java needs
>>>>> them to be doubled otherwise (as backslashes are also escape
>>>>> characters
>>>>> in Java)
>>>>>
>>>>> P.
>>>>>
>>>>> >
>>>>> > On Tue, Feb 19, 2019 at 4:47 PM Peter Steele <steelehere@gmail.com
>>>>> > <ma...@gmail.com>> wrote:
>>>>> >
>>>>> >     Can you send the contents of the set command from the CMD cli?
>>>>> I'd
>>>>> >     recommending replacing personal identifiable information with
>>>>> >     dummy values. There is something odd going on
>>>>> >
>>>>> >     On Tue, 19 Feb 2019, 15:43 Davide Moschini
>>>>> >     <davide.moschini@gmail.com <ma...@gmail.com>
>>>>> wrote:
>>>>> >
>>>>> >         Moved everything in C:\Netbeans_10.0
>>>>> >         no differences... the program doesn't start
>>>>> >
>>>>> >
>>>>> >         On Tue, Feb 19, 2019 at 4:31 PM Geertjan Wielenga
>>>>> >         <geertjan.wielenga@googlemail.com
>>>>> >         <ma...@googlemail.com>> wrote:
>>>>> >
>>>>> >             And maybe the fact that you have NetBeans at D: and JDK
>>>>> at
>>>>> >             C: is the problem.
>>>>> >
>>>>> >             Gj
>>>>> >
>>>>> >             On Tue, Feb 19, 2019 at 4:30 PM Geertjan Wielenga
>>>>> >             <geertjan.wielenga@googlemail.com
>>>>> >             <ma...@googlemail.com>> wrote:
>>>>> >
>>>>> >                 Just double-click the executable and forget about
>>>>> that
>>>>> >                 --jdkhome flag, you don't need it.
>>>>> >
>>>>> >                 Gj
>>>>> >
>>>>> >                 On Tue, Feb 19, 2019 at 4:26 PM Davide Moschini
>>>>> >                 <davide.moschini@gmail.com
>>>>> >                 <ma...@gmail.com>> wrote:
>>>>> >
>>>>> >                     I would like to summarize the steps taken (sorry
>>>>> I
>>>>> >                     forgot to include the netbeans mailing list in
>>>>> the
>>>>> >                     last emails sent)
>>>>> >                     - Netbeans 10.0 is "installed" in a folder on a
>>>>> D:
>>>>> >                     partition.
>>>>> >                     - JDK (openJDK at the moment) is installed in
>>>>> >                     folder "C:\Program
>>>>> Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>> >                     - I'm using Windows 10 64 bit
>>>>> >                     - ENVIRONMENT VARIABLES:
>>>>> >                         * JAVA_HOME: C:\Program
>>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9\
>>>>> >                         * JDK_HOME: %JAVA_HOME%
>>>>> >                         * JRE_HOME: C:\Program
>>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9-jre
>>>>> >                         * Path: C:\Program
>>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9\bin, C:\Program
>>>>> >
>>>>>  Files\AdoptOpenJDK\jdk-11.0.2+9-jre\bin.....(other
>>>>> >                     stuff)
>>>>> >                     - netbeans.conf: commented out the line
>>>>> >                      netbeans_jdkhome="C:\Program
>>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>> >                     - cmd line
>>>>> >                     * netbeans64.exe --jdkhome "C:\Program
>>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>> >                        The answer from cmd is:
>>>>> >                           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.
>>>>> >                     - when I run javac -version from command line the
>>>>> >                     answer is:
>>>>> >                         javac 11.0.2
>>>>> >
>>>>> >                     Netbeans never started.
>>>>> >
>>>>> >                     davide
>>>>> >
>>>>> >
>>>>> >
>>>>> >                     On Tue, Feb 19, 2019 at 3:48 PM Geertjan Wielenga
>>>>> >                     <geertjan.wielenga@googlemail.com
>>>>> >                     <ma...@googlemail.com>>
>>>>> wrote:
>>>>> >
>>>>> >                         Maybe comment out the line in netbeans.conf
>>>>> >                         pointing to the JDK, instead run 'echo
>>>>> %path%'
>>>>> >                         to check that it is on your path (and put the
>>>>> >                         JDK on your path in Environment Variables if
>>>>> >                         needed) and then double-click the executable
>>>>> >                         again.
>>>>> >
>>>>> >                         Gj
>>>>> >
>>>>> >                         On Tue, Feb 19, 2019 at 3:36 PM Geertjan
>>>>> >                         Wielenga <geertjan.wielenga@googlemail.com
>>>>> >                         <ma...@googlemail.com>>
>>>>> wrote:
>>>>> >
>>>>> >                             On Windows, I don't have any problem
>>>>> >                             starting up Apache NetBeans 10, just by
>>>>> >                             double-clicking the executable. I don't
>>>>> >                             need any --jdkhome switch. In
>>>>> >                             etc/netbeans.conf, I have
>>>>> netbeans_jdkhome
>>>>> >                             commented out, so that I use the system's
>>>>> >                             installed JDK. When I run 'echo %path%'
>>>>> >                             from the command line, I see that the JDK
>>>>> >                             as well as its bin folder are included
>>>>> there.
>>>>> >
>>>>> >                             Gj
>>>>> >
>>>>> >                             On Tue, Feb 19, 2019 at 3:24 PM Davide
>>>>> >                             Moschini <davide.moschini@gmail.com
>>>>> >                             <ma...@gmail.com>>
>>>>> wrote:
>>>>> >
>>>>> >
>>>>> >
>>>>> >                                 ---------- Forwarded message
>>>>> ---------
>>>>> >                                 From: *Davide Moschini*
>>>>> >                                 <davide.moschini@gmail.com
>>>>> >                                 <ma...@gmail.com>>
>>>>> >                                 Date: Tue, Feb 19, 2019 at 2:58 PM
>>>>> >                                 Subject: Re: Netbeans 10.0 - doesn't
>>>>> start
>>>>> >                                 To: Geertjan Wielenga
>>>>> >                                 <geertjan.wielenga@googlemail.com
>>>>> >                                 <mailto:
>>>>> geertjan.wielenga@googlemail.com>>
>>>>> >
>>>>> >
>>>>> >                                 From command line, the version after
>>>>> >                                 the execution of "javac -version" is:
>>>>> >                                 javac 11.0.2
>>>>> >
>>>>> >                                 In netbeans.conf I have:
>>>>> >                                 netbeans_jdkhome="C:\Program
>>>>> >                                 Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>> >
>>>>> >                                 davide
>>>>> >
>>>>> >                                 On Tue, Feb 19, 2019 at 2:52 PM
>>>>> >                                 Geertjan Wielenga
>>>>> >                                 <geertjan.wielenga@googlemail.com
>>>>> >                                 <mailto:
>>>>> geertjan.wielenga@googlemail.com>>
>>>>> >                                 wrote:
>>>>> >
>>>>> >                                     When you run this on the command
>>>>> >                                     line, what do you see: javac
>>>>> -version
>>>>> >
>>>>> >                                     What is the path you're referring
>>>>> >                                     to in netbeans.conf?
>>>>> >
>>>>> >                                     Gj
>>>>> >
>>>>> >                                     On Tue, Feb 19, 2019 at 2:50 PM
>>>>> >                                     Davide Moschini
>>>>> >                                     <davide.moschini@gmail.com
>>>>> >                                     <mailto:
>>>>> davide.moschini@gmail.com>>
>>>>> >                                     wrote:
>>>>> >
>>>>> >                                         I've just downloaded
>>>>> |Netbeans
>>>>> >                                         10.0| and on a Windows 10 64
>>>>> >                                         bit it doesn't start when i
>>>>> >                                         execute |netbeans64.exe| (not
>>>>> >                                         even with |netbeans.exe|)
>>>>> >
>>>>> >                                         I removed all the previous
>>>>> >                                         java installations and
>>>>> >                                         installed |jdk-11.0.2+9| and
>>>>> >                                         |jdk-11.0.2+9-jre|.
>>>>> >
>>>>> >                                         Also change the path in the
>>>>> >                                         netbeans configuration file
>>>>> to
>>>>> >                                         the right java path.
>>>>> >
>>>>> >                                         Configured the environment
>>>>> >                                         variables |PATH| and
>>>>> |JAVA_HOME|.
>>>>> >
>>>>> >                                         When I try to run the app
>>>>> >                                         nothing happens.
>>>>> >
>>>>> >                                         Somebody else with same
>>>>> issue?
>>>>> >
>>>>> >
>>>>> >                                         Also wrote this question on
>>>>> >
>>>>> https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os
>>>>> >
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
>>>>> For additional commands, e-mail: users-help@netbeans.apache.org
>>>>>
>>>>> For further information about the NetBeans mailing lists, visit:
>>>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>>>>
>>>>>

Re: Netbeans 10.0 - doesn't start

Posted by Geertjan Wielenga <ge...@googlemail.com.INVALID>.
Only way I can think of is to actually take a look. I am geertjanwielenga
on Skype, I'm on-line now.

Gj

On Tue, Feb 19, 2019 at 5:48 PM Davide Moschini <da...@gmail.com>
wrote:

> Changed the java installation folder to one in root folder without spaces
> in the name, and changed the environment variables.
> Changed the netbeans.conf file using my jdk folder as parameter.
> Tried to execute from cmd using no parameters... same output as before
> Tried with parameter --jdkhome and path using slashes or backslashes...
> same output :/
>
> Tried both cmd in user and administrator mode.
>
>
>
> On Tue, Feb 19, 2019 at 5:41 PM Geertjan Wielenga <
> geertjan.wielenga@googlemail.com> wrote:
>
>> After you install the JDK in a folder without a space, don't use the
>> --jdkhome flag, instead use this in etc/netbeans.conf, which I have just
>> tried and it works:
>>
>>
>> netbeans_jdkhome="C:\Users\g_wie\Downloads\OpenJDK11U-jdk_x64_windows_hotspot_11.0.2_9\jdk-11.0.2+9"
>>
>>
>> I.e., replace 'C:\Users\g_wie\Downloads\' above with
>> 'C:\whatever-is-applicable-to-you'.
>>
>> Gj
>>
>> On Tue, Feb 19, 2019 at 5:29 PM Davide Moschini <
>> davide.moschini@gmail.com> wrote:
>>
>>> Nothing else,
>>> these are the only things printed out.
>>>
>>> Now I try to invert the slash and to move the java installation to a
>>> folder path without spaces
>>>
>>> On Tue, Feb 19, 2019 at 5:20 PM Peter Nabbefeld <pe...@gmx.de>
>>> wrote:
>>>
>>>> (see inline)
>>>>
>>>> Am 19.02.19 um 17:16 schrieb Davide Moschini:
>>>> > Using CMD cli:
>>>> > changed the directory to Netbeans bin folder.
>>>> > this is the command I wrote:
>>>> > netbeans64.exe --jdk-home "C:\.....\jdk-11.0.2"
>>>> >
>>>> > This is the answer:
>>>> > 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.
>>>> >
>>>> Nothing more? Did it stop right after the last line? Without
>>>> complaining
>>>> about anything?
>>>> BTW, probably try to use forward slashes, I'm not sure if Java needs
>>>> them to be doubled otherwise (as backslashes are also escape characters
>>>> in Java)
>>>>
>>>> P.
>>>>
>>>> >
>>>> > On Tue, Feb 19, 2019 at 4:47 PM Peter Steele <steelehere@gmail.com
>>>> > <ma...@gmail.com>> wrote:
>>>> >
>>>> >     Can you send the contents of the set command from the CMD cli? I'd
>>>> >     recommending replacing personal identifiable information with
>>>> >     dummy values. There is something odd going on
>>>> >
>>>> >     On Tue, 19 Feb 2019, 15:43 Davide Moschini
>>>> >     <davide.moschini@gmail.com <ma...@gmail.com>
>>>> wrote:
>>>> >
>>>> >         Moved everything in C:\Netbeans_10.0
>>>> >         no differences... the program doesn't start
>>>> >
>>>> >
>>>> >         On Tue, Feb 19, 2019 at 4:31 PM Geertjan Wielenga
>>>> >         <geertjan.wielenga@googlemail.com
>>>> >         <ma...@googlemail.com>> wrote:
>>>> >
>>>> >             And maybe the fact that you have NetBeans at D: and JDK at
>>>> >             C: is the problem.
>>>> >
>>>> >             Gj
>>>> >
>>>> >             On Tue, Feb 19, 2019 at 4:30 PM Geertjan Wielenga
>>>> >             <geertjan.wielenga@googlemail.com
>>>> >             <ma...@googlemail.com>> wrote:
>>>> >
>>>> >                 Just double-click the executable and forget about that
>>>> >                 --jdkhome flag, you don't need it.
>>>> >
>>>> >                 Gj
>>>> >
>>>> >                 On Tue, Feb 19, 2019 at 4:26 PM Davide Moschini
>>>> >                 <davide.moschini@gmail.com
>>>> >                 <ma...@gmail.com>> wrote:
>>>> >
>>>> >                     I would like to summarize the steps taken (sorry I
>>>> >                     forgot to include the netbeans mailing list in the
>>>> >                     last emails sent)
>>>> >                     - Netbeans 10.0 is "installed" in a folder on a D:
>>>> >                     partition.
>>>> >                     - JDK (openJDK at the moment) is installed in
>>>> >                     folder "C:\Program
>>>> Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>> >                     - I'm using Windows 10 64 bit
>>>> >                     - ENVIRONMENT VARIABLES:
>>>> >                         * JAVA_HOME: C:\Program
>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9\
>>>> >                         * JDK_HOME: %JAVA_HOME%
>>>> >                         * JRE_HOME: C:\Program
>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9-jre
>>>> >                         * Path: C:\Program
>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9\bin, C:\Program
>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9-jre\bin.....(other
>>>> >                     stuff)
>>>> >                     - netbeans.conf: commented out the line
>>>> >                      netbeans_jdkhome="C:\Program
>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>> >                     - cmd line
>>>> >                     * netbeans64.exe --jdkhome "C:\Program
>>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>> >                        The answer from cmd is:
>>>> >                           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.
>>>> >                     - when I run javac -version from command line the
>>>> >                     answer is:
>>>> >                         javac 11.0.2
>>>> >
>>>> >                     Netbeans never started.
>>>> >
>>>> >                     davide
>>>> >
>>>> >
>>>> >
>>>> >                     On Tue, Feb 19, 2019 at 3:48 PM Geertjan Wielenga
>>>> >                     <geertjan.wielenga@googlemail.com
>>>> >                     <ma...@googlemail.com>> wrote:
>>>> >
>>>> >                         Maybe comment out the line in netbeans.conf
>>>> >                         pointing to the JDK, instead run 'echo %path%'
>>>> >                         to check that it is on your path (and put the
>>>> >                         JDK on your path in Environment Variables if
>>>> >                         needed) and then double-click the executable
>>>> >                         again.
>>>> >
>>>> >                         Gj
>>>> >
>>>> >                         On Tue, Feb 19, 2019 at 3:36 PM Geertjan
>>>> >                         Wielenga <geertjan.wielenga@googlemail.com
>>>> >                         <ma...@googlemail.com>>
>>>> wrote:
>>>> >
>>>> >                             On Windows, I don't have any problem
>>>> >                             starting up Apache NetBeans 10, just by
>>>> >                             double-clicking the executable. I don't
>>>> >                             need any --jdkhome switch. In
>>>> >                             etc/netbeans.conf, I have netbeans_jdkhome
>>>> >                             commented out, so that I use the system's
>>>> >                             installed JDK. When I run 'echo %path%'
>>>> >                             from the command line, I see that the JDK
>>>> >                             as well as its bin folder are included
>>>> there.
>>>> >
>>>> >                             Gj
>>>> >
>>>> >                             On Tue, Feb 19, 2019 at 3:24 PM Davide
>>>> >                             Moschini <davide.moschini@gmail.com
>>>> >                             <ma...@gmail.com>>
>>>> wrote:
>>>> >
>>>> >
>>>> >
>>>> >                                 ---------- Forwarded message ---------
>>>> >                                 From: *Davide Moschini*
>>>> >                                 <davide.moschini@gmail.com
>>>> >                                 <ma...@gmail.com>>
>>>> >                                 Date: Tue, Feb 19, 2019 at 2:58 PM
>>>> >                                 Subject: Re: Netbeans 10.0 - doesn't
>>>> start
>>>> >                                 To: Geertjan Wielenga
>>>> >                                 <geertjan.wielenga@googlemail.com
>>>> >                                 <mailto:
>>>> geertjan.wielenga@googlemail.com>>
>>>> >
>>>> >
>>>> >                                 From command line, the version after
>>>> >                                 the execution of "javac -version" is:
>>>> >                                 javac 11.0.2
>>>> >
>>>> >                                 In netbeans.conf I have:
>>>> >                                 netbeans_jdkhome="C:\Program
>>>> >                                 Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>> >
>>>> >                                 davide
>>>> >
>>>> >                                 On Tue, Feb 19, 2019 at 2:52 PM
>>>> >                                 Geertjan Wielenga
>>>> >                                 <geertjan.wielenga@googlemail.com
>>>> >                                 <mailto:
>>>> geertjan.wielenga@googlemail.com>>
>>>> >                                 wrote:
>>>> >
>>>> >                                     When you run this on the command
>>>> >                                     line, what do you see: javac
>>>> -version
>>>> >
>>>> >                                     What is the path you're referring
>>>> >                                     to in netbeans.conf?
>>>> >
>>>> >                                     Gj
>>>> >
>>>> >                                     On Tue, Feb 19, 2019 at 2:50 PM
>>>> >                                     Davide Moschini
>>>> >                                     <davide.moschini@gmail.com
>>>> >                                     <mailto:davide.moschini@gmail.com
>>>> >>
>>>> >                                     wrote:
>>>> >
>>>> >                                         I've just downloaded |Netbeans
>>>> >                                         10.0| and on a Windows 10 64
>>>> >                                         bit it doesn't start when i
>>>> >                                         execute |netbeans64.exe| (not
>>>> >                                         even with |netbeans.exe|)
>>>> >
>>>> >                                         I removed all the previous
>>>> >                                         java installations and
>>>> >                                         installed |jdk-11.0.2+9| and
>>>> >                                         |jdk-11.0.2+9-jre|.
>>>> >
>>>> >                                         Also change the path in the
>>>> >                                         netbeans configuration file to
>>>> >                                         the right java path.
>>>> >
>>>> >                                         Configured the environment
>>>> >                                         variables |PATH| and
>>>> |JAVA_HOME|.
>>>> >
>>>> >                                         When I try to run the app
>>>> >                                         nothing happens.
>>>> >
>>>> >                                         Somebody else with same issue?
>>>> >
>>>> >
>>>> >                                         Also wrote this question on
>>>> >
>>>> https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os
>>>> >
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
>>>> For additional commands, e-mail: users-help@netbeans.apache.org
>>>>
>>>> For further information about the NetBeans mailing lists, visit:
>>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>>>
>>>>

Re: Netbeans 10.0 - doesn't start

Posted by Davide Moschini <da...@gmail.com>.
Changed the java installation folder to one in root folder without spaces
in the name, and changed the environment variables.
Changed the netbeans.conf file using my jdk folder as parameter.
Tried to execute from cmd using no parameters... same output as before
Tried with parameter --jdkhome and path using slashes or backslashes...
same output :/

Tried both cmd in user and administrator mode.



On Tue, Feb 19, 2019 at 5:41 PM Geertjan Wielenga <
geertjan.wielenga@googlemail.com> wrote:

> After you install the JDK in a folder without a space, don't use the
> --jdkhome flag, instead use this in etc/netbeans.conf, which I have just
> tried and it works:
>
>
> netbeans_jdkhome="C:\Users\g_wie\Downloads\OpenJDK11U-jdk_x64_windows_hotspot_11.0.2_9\jdk-11.0.2+9"
>
>
> I.e., replace 'C:\Users\g_wie\Downloads\' above with
> 'C:\whatever-is-applicable-to-you'.
>
> Gj
>
> On Tue, Feb 19, 2019 at 5:29 PM Davide Moschini <da...@gmail.com>
> wrote:
>
>> Nothing else,
>> these are the only things printed out.
>>
>> Now I try to invert the slash and to move the java installation to a
>> folder path without spaces
>>
>> On Tue, Feb 19, 2019 at 5:20 PM Peter Nabbefeld <pe...@gmx.de>
>> wrote:
>>
>>> (see inline)
>>>
>>> Am 19.02.19 um 17:16 schrieb Davide Moschini:
>>> > Using CMD cli:
>>> > changed the directory to Netbeans bin folder.
>>> > this is the command I wrote:
>>> > netbeans64.exe --jdk-home "C:\.....\jdk-11.0.2"
>>> >
>>> > This is the answer:
>>> > 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.
>>> >
>>> Nothing more? Did it stop right after the last line? Without complaining
>>> about anything?
>>> BTW, probably try to use forward slashes, I'm not sure if Java needs
>>> them to be doubled otherwise (as backslashes are also escape characters
>>> in Java)
>>>
>>> P.
>>>
>>> >
>>> > On Tue, Feb 19, 2019 at 4:47 PM Peter Steele <steelehere@gmail.com
>>> > <ma...@gmail.com>> wrote:
>>> >
>>> >     Can you send the contents of the set command from the CMD cli? I'd
>>> >     recommending replacing personal identifiable information with
>>> >     dummy values. There is something odd going on
>>> >
>>> >     On Tue, 19 Feb 2019, 15:43 Davide Moschini
>>> >     <davide.moschini@gmail.com <ma...@gmail.com>
>>> wrote:
>>> >
>>> >         Moved everything in C:\Netbeans_10.0
>>> >         no differences... the program doesn't start
>>> >
>>> >
>>> >         On Tue, Feb 19, 2019 at 4:31 PM Geertjan Wielenga
>>> >         <geertjan.wielenga@googlemail.com
>>> >         <ma...@googlemail.com>> wrote:
>>> >
>>> >             And maybe the fact that you have NetBeans at D: and JDK at
>>> >             C: is the problem.
>>> >
>>> >             Gj
>>> >
>>> >             On Tue, Feb 19, 2019 at 4:30 PM Geertjan Wielenga
>>> >             <geertjan.wielenga@googlemail.com
>>> >             <ma...@googlemail.com>> wrote:
>>> >
>>> >                 Just double-click the executable and forget about that
>>> >                 --jdkhome flag, you don't need it.
>>> >
>>> >                 Gj
>>> >
>>> >                 On Tue, Feb 19, 2019 at 4:26 PM Davide Moschini
>>> >                 <davide.moschini@gmail.com
>>> >                 <ma...@gmail.com>> wrote:
>>> >
>>> >                     I would like to summarize the steps taken (sorry I
>>> >                     forgot to include the netbeans mailing list in the
>>> >                     last emails sent)
>>> >                     - Netbeans 10.0 is "installed" in a folder on a D:
>>> >                     partition.
>>> >                     - JDK (openJDK at the moment) is installed in
>>> >                     folder "C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
>>> >                     - I'm using Windows 10 64 bit
>>> >                     - ENVIRONMENT VARIABLES:
>>> >                         * JAVA_HOME: C:\Program
>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9\
>>> >                         * JDK_HOME: %JAVA_HOME%
>>> >                         * JRE_HOME: C:\Program
>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9-jre
>>> >                         * Path: C:\Program
>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9\bin, C:\Program
>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9-jre\bin.....(other
>>> >                     stuff)
>>> >                     - netbeans.conf: commented out the line
>>> >                      netbeans_jdkhome="C:\Program
>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9"
>>> >                     - cmd line
>>> >                     * netbeans64.exe --jdkhome "C:\Program
>>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9"
>>> >                        The answer from cmd is:
>>> >                           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.
>>> >                     - when I run javac -version from command line the
>>> >                     answer is:
>>> >                         javac 11.0.2
>>> >
>>> >                     Netbeans never started.
>>> >
>>> >                     davide
>>> >
>>> >
>>> >
>>> >                     On Tue, Feb 19, 2019 at 3:48 PM Geertjan Wielenga
>>> >                     <geertjan.wielenga@googlemail.com
>>> >                     <ma...@googlemail.com>> wrote:
>>> >
>>> >                         Maybe comment out the line in netbeans.conf
>>> >                         pointing to the JDK, instead run 'echo %path%'
>>> >                         to check that it is on your path (and put the
>>> >                         JDK on your path in Environment Variables if
>>> >                         needed) and then double-click the executable
>>> >                         again.
>>> >
>>> >                         Gj
>>> >
>>> >                         On Tue, Feb 19, 2019 at 3:36 PM Geertjan
>>> >                         Wielenga <geertjan.wielenga@googlemail.com
>>> >                         <ma...@googlemail.com>>
>>> wrote:
>>> >
>>> >                             On Windows, I don't have any problem
>>> >                             starting up Apache NetBeans 10, just by
>>> >                             double-clicking the executable. I don't
>>> >                             need any --jdkhome switch. In
>>> >                             etc/netbeans.conf, I have netbeans_jdkhome
>>> >                             commented out, so that I use the system's
>>> >                             installed JDK. When I run 'echo %path%'
>>> >                             from the command line, I see that the JDK
>>> >                             as well as its bin folder are included
>>> there.
>>> >
>>> >                             Gj
>>> >
>>> >                             On Tue, Feb 19, 2019 at 3:24 PM Davide
>>> >                             Moschini <davide.moschini@gmail.com
>>> >                             <ma...@gmail.com>> wrote:
>>> >
>>> >
>>> >
>>> >                                 ---------- Forwarded message ---------
>>> >                                 From: *Davide Moschini*
>>> >                                 <davide.moschini@gmail.com
>>> >                                 <ma...@gmail.com>>
>>> >                                 Date: Tue, Feb 19, 2019 at 2:58 PM
>>> >                                 Subject: Re: Netbeans 10.0 - doesn't
>>> start
>>> >                                 To: Geertjan Wielenga
>>> >                                 <geertjan.wielenga@googlemail.com
>>> >                                 <mailto:
>>> geertjan.wielenga@googlemail.com>>
>>> >
>>> >
>>> >                                 From command line, the version after
>>> >                                 the execution of "javac -version" is:
>>> >                                 javac 11.0.2
>>> >
>>> >                                 In netbeans.conf I have:
>>> >                                 netbeans_jdkhome="C:\Program
>>> >                                 Files\AdoptOpenJDK\jdk-11.0.2+9"
>>> >
>>> >                                 davide
>>> >
>>> >                                 On Tue, Feb 19, 2019 at 2:52 PM
>>> >                                 Geertjan Wielenga
>>> >                                 <geertjan.wielenga@googlemail.com
>>> >                                 <mailto:
>>> geertjan.wielenga@googlemail.com>>
>>> >                                 wrote:
>>> >
>>> >                                     When you run this on the command
>>> >                                     line, what do you see: javac
>>> -version
>>> >
>>> >                                     What is the path you're referring
>>> >                                     to in netbeans.conf?
>>> >
>>> >                                     Gj
>>> >
>>> >                                     On Tue, Feb 19, 2019 at 2:50 PM
>>> >                                     Davide Moschini
>>> >                                     <davide.moschini@gmail.com
>>> >                                     <mailto:davide.moschini@gmail.com
>>> >>
>>> >                                     wrote:
>>> >
>>> >                                         I've just downloaded |Netbeans
>>> >                                         10.0| and on a Windows 10 64
>>> >                                         bit it doesn't start when i
>>> >                                         execute |netbeans64.exe| (not
>>> >                                         even with |netbeans.exe|)
>>> >
>>> >                                         I removed all the previous
>>> >                                         java installations and
>>> >                                         installed |jdk-11.0.2+9| and
>>> >                                         |jdk-11.0.2+9-jre|.
>>> >
>>> >                                         Also change the path in the
>>> >                                         netbeans configuration file to
>>> >                                         the right java path.
>>> >
>>> >                                         Configured the environment
>>> >                                         variables |PATH| and
>>> |JAVA_HOME|.
>>> >
>>> >                                         When I try to run the app
>>> >                                         nothing happens.
>>> >
>>> >                                         Somebody else with same issue?
>>> >
>>> >
>>> >                                         Also wrote this question on
>>> >
>>> https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os
>>> >
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
>>> For additional commands, e-mail: users-help@netbeans.apache.org
>>>
>>> For further information about the NetBeans mailing lists, visit:
>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>>
>>>

Re: Netbeans 10.0 - doesn't start

Posted by Geertjan Wielenga <ge...@googlemail.com.INVALID>.
After you install the JDK in a folder without a space, don't use the
--jdkhome flag, instead use this in etc/netbeans.conf, which I have just
tried and it works:

netbeans_jdkhome="C:\Users\g_wie\Downloads\OpenJDK11U-jdk_x64_windows_hotspot_11.0.2_9\jdk-11.0.2+9"


I.e., replace 'C:\Users\g_wie\Downloads\' above with
'C:\whatever-is-applicable-to-you'.

Gj

On Tue, Feb 19, 2019 at 5:29 PM Davide Moschini <da...@gmail.com>
wrote:

> Nothing else,
> these are the only things printed out.
>
> Now I try to invert the slash and to move the java installation to a
> folder path without spaces
>
> On Tue, Feb 19, 2019 at 5:20 PM Peter Nabbefeld <pe...@gmx.de>
> wrote:
>
>> (see inline)
>>
>> Am 19.02.19 um 17:16 schrieb Davide Moschini:
>> > Using CMD cli:
>> > changed the directory to Netbeans bin folder.
>> > this is the command I wrote:
>> > netbeans64.exe --jdk-home "C:\.....\jdk-11.0.2"
>> >
>> > This is the answer:
>> > 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.
>> >
>> Nothing more? Did it stop right after the last line? Without complaining
>> about anything?
>> BTW, probably try to use forward slashes, I'm not sure if Java needs
>> them to be doubled otherwise (as backslashes are also escape characters
>> in Java)
>>
>> P.
>>
>> >
>> > On Tue, Feb 19, 2019 at 4:47 PM Peter Steele <steelehere@gmail.com
>> > <ma...@gmail.com>> wrote:
>> >
>> >     Can you send the contents of the set command from the CMD cli? I'd
>> >     recommending replacing personal identifiable information with
>> >     dummy values. There is something odd going on
>> >
>> >     On Tue, 19 Feb 2019, 15:43 Davide Moschini
>> >     <davide.moschini@gmail.com <ma...@gmail.com>
>> wrote:
>> >
>> >         Moved everything in C:\Netbeans_10.0
>> >         no differences... the program doesn't start
>> >
>> >
>> >         On Tue, Feb 19, 2019 at 4:31 PM Geertjan Wielenga
>> >         <geertjan.wielenga@googlemail.com
>> >         <ma...@googlemail.com>> wrote:
>> >
>> >             And maybe the fact that you have NetBeans at D: and JDK at
>> >             C: is the problem.
>> >
>> >             Gj
>> >
>> >             On Tue, Feb 19, 2019 at 4:30 PM Geertjan Wielenga
>> >             <geertjan.wielenga@googlemail.com
>> >             <ma...@googlemail.com>> wrote:
>> >
>> >                 Just double-click the executable and forget about that
>> >                 --jdkhome flag, you don't need it.
>> >
>> >                 Gj
>> >
>> >                 On Tue, Feb 19, 2019 at 4:26 PM Davide Moschini
>> >                 <davide.moschini@gmail.com
>> >                 <ma...@gmail.com>> wrote:
>> >
>> >                     I would like to summarize the steps taken (sorry I
>> >                     forgot to include the netbeans mailing list in the
>> >                     last emails sent)
>> >                     - Netbeans 10.0 is "installed" in a folder on a D:
>> >                     partition.
>> >                     - JDK (openJDK at the moment) is installed in
>> >                     folder "C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
>> >                     - I'm using Windows 10 64 bit
>> >                     - ENVIRONMENT VARIABLES:
>> >                         * JAVA_HOME: C:\Program
>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9\
>> >                         * JDK_HOME: %JAVA_HOME%
>> >                         * JRE_HOME: C:\Program
>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9-jre
>> >                         * Path: C:\Program
>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9\bin, C:\Program
>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9-jre\bin.....(other
>> >                     stuff)
>> >                     - netbeans.conf: commented out the line
>> >                      netbeans_jdkhome="C:\Program
>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9"
>> >                     - cmd line
>> >                     * netbeans64.exe --jdkhome "C:\Program
>> >                     Files\AdoptOpenJDK\jdk-11.0.2+9"
>> >                        The answer from cmd is:
>> >                           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.
>> >                     - when I run javac -version from command line the
>> >                     answer is:
>> >                         javac 11.0.2
>> >
>> >                     Netbeans never started.
>> >
>> >                     davide
>> >
>> >
>> >
>> >                     On Tue, Feb 19, 2019 at 3:48 PM Geertjan Wielenga
>> >                     <geertjan.wielenga@googlemail.com
>> >                     <ma...@googlemail.com>> wrote:
>> >
>> >                         Maybe comment out the line in netbeans.conf
>> >                         pointing to the JDK, instead run 'echo %path%'
>> >                         to check that it is on your path (and put the
>> >                         JDK on your path in Environment Variables if
>> >                         needed) and then double-click the executable
>> >                         again.
>> >
>> >                         Gj
>> >
>> >                         On Tue, Feb 19, 2019 at 3:36 PM Geertjan
>> >                         Wielenga <geertjan.wielenga@googlemail.com
>> >                         <ma...@googlemail.com>>
>> wrote:
>> >
>> >                             On Windows, I don't have any problem
>> >                             starting up Apache NetBeans 10, just by
>> >                             double-clicking the executable. I don't
>> >                             need any --jdkhome switch. In
>> >                             etc/netbeans.conf, I have netbeans_jdkhome
>> >                             commented out, so that I use the system's
>> >                             installed JDK. When I run 'echo %path%'
>> >                             from the command line, I see that the JDK
>> >                             as well as its bin folder are included
>> there.
>> >
>> >                             Gj
>> >
>> >                             On Tue, Feb 19, 2019 at 3:24 PM Davide
>> >                             Moschini <davide.moschini@gmail.com
>> >                             <ma...@gmail.com>> wrote:
>> >
>> >
>> >
>> >                                 ---------- Forwarded message ---------
>> >                                 From: *Davide Moschini*
>> >                                 <davide.moschini@gmail.com
>> >                                 <ma...@gmail.com>>
>> >                                 Date: Tue, Feb 19, 2019 at 2:58 PM
>> >                                 Subject: Re: Netbeans 10.0 - doesn't
>> start
>> >                                 To: Geertjan Wielenga
>> >                                 <geertjan.wielenga@googlemail.com
>> >                                 <mailto:
>> geertjan.wielenga@googlemail.com>>
>> >
>> >
>> >                                 From command line, the version after
>> >                                 the execution of "javac -version" is:
>> >                                 javac 11.0.2
>> >
>> >                                 In netbeans.conf I have:
>> >                                 netbeans_jdkhome="C:\Program
>> >                                 Files\AdoptOpenJDK\jdk-11.0.2+9"
>> >
>> >                                 davide
>> >
>> >                                 On Tue, Feb 19, 2019 at 2:52 PM
>> >                                 Geertjan Wielenga
>> >                                 <geertjan.wielenga@googlemail.com
>> >                                 <mailto:
>> geertjan.wielenga@googlemail.com>>
>> >                                 wrote:
>> >
>> >                                     When you run this on the command
>> >                                     line, what do you see: javac
>> -version
>> >
>> >                                     What is the path you're referring
>> >                                     to in netbeans.conf?
>> >
>> >                                     Gj
>> >
>> >                                     On Tue, Feb 19, 2019 at 2:50 PM
>> >                                     Davide Moschini
>> >                                     <davide.moschini@gmail.com
>> >                                     <ma...@gmail.com>>
>> >                                     wrote:
>> >
>> >                                         I've just downloaded |Netbeans
>> >                                         10.0| and on a Windows 10 64
>> >                                         bit it doesn't start when i
>> >                                         execute |netbeans64.exe| (not
>> >                                         even with |netbeans.exe|)
>> >
>> >                                         I removed all the previous
>> >                                         java installations and
>> >                                         installed |jdk-11.0.2+9| and
>> >                                         |jdk-11.0.2+9-jre|.
>> >
>> >                                         Also change the path in the
>> >                                         netbeans configuration file to
>> >                                         the right java path.
>> >
>> >                                         Configured the environment
>> >                                         variables |PATH| and
>> |JAVA_HOME|.
>> >
>> >                                         When I try to run the app
>> >                                         nothing happens.
>> >
>> >                                         Somebody else with same issue?
>> >
>> >
>> >                                         Also wrote this question on
>> >
>> https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
>> For additional commands, e-mail: users-help@netbeans.apache.org
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
>>

Re: Netbeans 10.0 - doesn't start

Posted by Davide Moschini <da...@gmail.com>.
Nothing else,
these are the only things printed out.

Now I try to invert the slash and to move the java installation to a folder
path without spaces

On Tue, Feb 19, 2019 at 5:20 PM Peter Nabbefeld <pe...@gmx.de>
wrote:

> (see inline)
>
> Am 19.02.19 um 17:16 schrieb Davide Moschini:
> > Using CMD cli:
> > changed the directory to Netbeans bin folder.
> > this is the command I wrote:
> > netbeans64.exe --jdk-home "C:\.....\jdk-11.0.2"
> >
> > This is the answer:
> > 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.
> >
> Nothing more? Did it stop right after the last line? Without complaining
> about anything?
> BTW, probably try to use forward slashes, I'm not sure if Java needs
> them to be doubled otherwise (as backslashes are also escape characters
> in Java)
>
> P.
>
> >
> > On Tue, Feb 19, 2019 at 4:47 PM Peter Steele <steelehere@gmail.com
> > <ma...@gmail.com>> wrote:
> >
> >     Can you send the contents of the set command from the CMD cli? I'd
> >     recommending replacing personal identifiable information with
> >     dummy values. There is something odd going on
> >
> >     On Tue, 19 Feb 2019, 15:43 Davide Moschini
> >     <davide.moschini@gmail.com <ma...@gmail.com> wrote:
> >
> >         Moved everything in C:\Netbeans_10.0
> >         no differences... the program doesn't start
> >
> >
> >         On Tue, Feb 19, 2019 at 4:31 PM Geertjan Wielenga
> >         <geertjan.wielenga@googlemail.com
> >         <ma...@googlemail.com>> wrote:
> >
> >             And maybe the fact that you have NetBeans at D: and JDK at
> >             C: is the problem.
> >
> >             Gj
> >
> >             On Tue, Feb 19, 2019 at 4:30 PM Geertjan Wielenga
> >             <geertjan.wielenga@googlemail.com
> >             <ma...@googlemail.com>> wrote:
> >
> >                 Just double-click the executable and forget about that
> >                 --jdkhome flag, you don't need it.
> >
> >                 Gj
> >
> >                 On Tue, Feb 19, 2019 at 4:26 PM Davide Moschini
> >                 <davide.moschini@gmail.com
> >                 <ma...@gmail.com>> wrote:
> >
> >                     I would like to summarize the steps taken (sorry I
> >                     forgot to include the netbeans mailing list in the
> >                     last emails sent)
> >                     - Netbeans 10.0 is "installed" in a folder on a D:
> >                     partition.
> >                     - JDK (openJDK at the moment) is installed in
> >                     folder "C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
> >                     - I'm using Windows 10 64 bit
> >                     - ENVIRONMENT VARIABLES:
> >                         * JAVA_HOME: C:\Program
> >                     Files\AdoptOpenJDK\jdk-11.0.2+9\
> >                         * JDK_HOME: %JAVA_HOME%
> >                         * JRE_HOME: C:\Program
> >                     Files\AdoptOpenJDK\jdk-11.0.2+9-jre
> >                         * Path: C:\Program
> >                     Files\AdoptOpenJDK\jdk-11.0.2+9\bin, C:\Program
> >                     Files\AdoptOpenJDK\jdk-11.0.2+9-jre\bin.....(other
> >                     stuff)
> >                     - netbeans.conf: commented out the line
> >                      netbeans_jdkhome="C:\Program
> >                     Files\AdoptOpenJDK\jdk-11.0.2+9"
> >                     - cmd line
> >                     * netbeans64.exe --jdkhome "C:\Program
> >                     Files\AdoptOpenJDK\jdk-11.0.2+9"
> >                        The answer from cmd is:
> >                           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.
> >                     - when I run javac -version from command line the
> >                     answer is:
> >                         javac 11.0.2
> >
> >                     Netbeans never started.
> >
> >                     davide
> >
> >
> >
> >                     On Tue, Feb 19, 2019 at 3:48 PM Geertjan Wielenga
> >                     <geertjan.wielenga@googlemail.com
> >                     <ma...@googlemail.com>> wrote:
> >
> >                         Maybe comment out the line in netbeans.conf
> >                         pointing to the JDK, instead run 'echo %path%'
> >                         to check that it is on your path (and put the
> >                         JDK on your path in Environment Variables if
> >                         needed) and then double-click the executable
> >                         again.
> >
> >                         Gj
> >
> >                         On Tue, Feb 19, 2019 at 3:36 PM Geertjan
> >                         Wielenga <geertjan.wielenga@googlemail.com
> >                         <ma...@googlemail.com>>
> wrote:
> >
> >                             On Windows, I don't have any problem
> >                             starting up Apache NetBeans 10, just by
> >                             double-clicking the executable. I don't
> >                             need any --jdkhome switch. In
> >                             etc/netbeans.conf, I have netbeans_jdkhome
> >                             commented out, so that I use the system's
> >                             installed JDK. When I run 'echo %path%'
> >                             from the command line, I see that the JDK
> >                             as well as its bin folder are included there.
> >
> >                             Gj
> >
> >                             On Tue, Feb 19, 2019 at 3:24 PM Davide
> >                             Moschini <davide.moschini@gmail.com
> >                             <ma...@gmail.com>> wrote:
> >
> >
> >
> >                                 ---------- Forwarded message ---------
> >                                 From: *Davide Moschini*
> >                                 <davide.moschini@gmail.com
> >                                 <ma...@gmail.com>>
> >                                 Date: Tue, Feb 19, 2019 at 2:58 PM
> >                                 Subject: Re: Netbeans 10.0 - doesn't
> start
> >                                 To: Geertjan Wielenga
> >                                 <geertjan.wielenga@googlemail.com
> >                                 <mailto:geertjan.wielenga@googlemail.com
> >>
> >
> >
> >                                 From command line, the version after
> >                                 the execution of "javac -version" is:
> >                                 javac 11.0.2
> >
> >                                 In netbeans.conf I have:
> >                                 netbeans_jdkhome="C:\Program
> >                                 Files\AdoptOpenJDK\jdk-11.0.2+9"
> >
> >                                 davide
> >
> >                                 On Tue, Feb 19, 2019 at 2:52 PM
> >                                 Geertjan Wielenga
> >                                 <geertjan.wielenga@googlemail.com
> >                                 <mailto:geertjan.wielenga@googlemail.com
> >>
> >                                 wrote:
> >
> >                                     When you run this on the command
> >                                     line, what do you see: javac -version
> >
> >                                     What is the path you're referring
> >                                     to in netbeans.conf?
> >
> >                                     Gj
> >
> >                                     On Tue, Feb 19, 2019 at 2:50 PM
> >                                     Davide Moschini
> >                                     <davide.moschini@gmail.com
> >                                     <ma...@gmail.com>>
> >                                     wrote:
> >
> >                                         I've just downloaded |Netbeans
> >                                         10.0| and on a Windows 10 64
> >                                         bit it doesn't start when i
> >                                         execute |netbeans64.exe| (not
> >                                         even with |netbeans.exe|)
> >
> >                                         I removed all the previous
> >                                         java installations and
> >                                         installed |jdk-11.0.2+9| and
> >                                         |jdk-11.0.2+9-jre|.
> >
> >                                         Also change the path in the
> >                                         netbeans configuration file to
> >                                         the right java path.
> >
> >                                         Configured the environment
> >                                         variables |PATH| and |JAVA_HOME|.
> >
> >                                         When I try to run the app
> >                                         nothing happens.
> >
> >                                         Somebody else with same issue?
> >
> >
> >                                         Also wrote this question on
> >
> https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>

Re: Netbeans 10.0 - doesn't start

Posted by Peter Nabbefeld <pe...@gmx.de>.
(see inline)

Am 19.02.19 um 17:16 schrieb Davide Moschini:
> Using CMD cli:
> changed the directory to Netbeans bin folder.
> this is the command I wrote:
> netbeans64.exe --jdk-home "C:\.....\jdk-11.0.2"
>
> This is the answer:
> 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.
>
Nothing more? Did it stop right after the last line? Without complaining 
about anything?
BTW, probably try to use forward slashes, I'm not sure if Java needs 
them to be doubled otherwise (as backslashes are also escape characters 
in Java)

P.

>
> On Tue, Feb 19, 2019 at 4:47 PM Peter Steele <steelehere@gmail.com 
> <ma...@gmail.com>> wrote:
>
>     Can you send the contents of the set command from the CMD cli? I'd
>     recommending replacing personal identifiable information with
>     dummy values. There is something odd going on
>
>     On Tue, 19 Feb 2019, 15:43 Davide Moschini
>     <davide.moschini@gmail.com <ma...@gmail.com> wrote:
>
>         Moved everything in C:\Netbeans_10.0
>         no differences... the program doesn't start
>
>
>         On Tue, Feb 19, 2019 at 4:31 PM Geertjan Wielenga
>         <geertjan.wielenga@googlemail.com
>         <ma...@googlemail.com>> wrote:
>
>             And maybe the fact that you have NetBeans at D: and JDK at
>             C: is the problem.
>
>             Gj
>
>             On Tue, Feb 19, 2019 at 4:30 PM Geertjan Wielenga
>             <geertjan.wielenga@googlemail.com
>             <ma...@googlemail.com>> wrote:
>
>                 Just double-click the executable and forget about that
>                 --jdkhome flag, you don't need it.
>
>                 Gj
>
>                 On Tue, Feb 19, 2019 at 4:26 PM Davide Moschini
>                 <davide.moschini@gmail.com
>                 <ma...@gmail.com>> wrote:
>
>                     I would like to summarize the steps taken (sorry I
>                     forgot to include the netbeans mailing list in the
>                     last emails sent)
>                     - Netbeans 10.0 is "installed" in a folder on a D:
>                     partition.
>                     - JDK (openJDK at the moment) is installed in
>                     folder "C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
>                     - I'm using Windows 10 64 bit
>                     - ENVIRONMENT VARIABLES:
>                         * JAVA_HOME: C:\Program
>                     Files\AdoptOpenJDK\jdk-11.0.2+9\
>                         * JDK_HOME: %JAVA_HOME%
>                         * JRE_HOME: C:\Program
>                     Files\AdoptOpenJDK\jdk-11.0.2+9-jre
>                         * Path: C:\Program
>                     Files\AdoptOpenJDK\jdk-11.0.2+9\bin, C:\Program
>                     Files\AdoptOpenJDK\jdk-11.0.2+9-jre\bin.....(other
>                     stuff)
>                     - netbeans.conf: commented out the line
>                      netbeans_jdkhome="C:\Program
>                     Files\AdoptOpenJDK\jdk-11.0.2+9"
>                     - cmd line
>                     * netbeans64.exe --jdkhome "C:\Program
>                     Files\AdoptOpenJDK\jdk-11.0.2+9"
>                        The answer from cmd is:
>                           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.
>                     - when I run javac -version from command line the
>                     answer is:
>                         javac 11.0.2
>
>                     Netbeans never started.
>
>                     davide
>
>
>
>                     On Tue, Feb 19, 2019 at 3:48 PM Geertjan Wielenga
>                     <geertjan.wielenga@googlemail.com
>                     <ma...@googlemail.com>> wrote:
>
>                         Maybe comment out the line in netbeans.conf
>                         pointing to the JDK, instead run 'echo %path%'
>                         to check that it is on your path (and put the
>                         JDK on your path in Environment Variables if
>                         needed) and then double-click the executable
>                         again.
>
>                         Gj
>
>                         On Tue, Feb 19, 2019 at 3:36 PM Geertjan
>                         Wielenga <geertjan.wielenga@googlemail.com
>                         <ma...@googlemail.com>> wrote:
>
>                             On Windows, I don't have any problem
>                             starting up Apache NetBeans 10, just by
>                             double-clicking the executable. I don't
>                             need any --jdkhome switch. In
>                             etc/netbeans.conf, I have netbeans_jdkhome
>                             commented out, so that I use the system's
>                             installed JDK. When I run 'echo %path%'
>                             from the command line, I see that the JDK
>                             as well as its bin folder are included there.
>
>                             Gj
>
>                             On Tue, Feb 19, 2019 at 3:24 PM Davide
>                             Moschini <davide.moschini@gmail.com
>                             <ma...@gmail.com>> wrote:
>
>
>
>                                 ---------- Forwarded message ---------
>                                 From: *Davide Moschini*
>                                 <davide.moschini@gmail.com
>                                 <ma...@gmail.com>>
>                                 Date: Tue, Feb 19, 2019 at 2:58 PM
>                                 Subject: Re: Netbeans 10.0 - doesn't start
>                                 To: Geertjan Wielenga
>                                 <geertjan.wielenga@googlemail.com
>                                 <ma...@googlemail.com>>
>
>
>                                 From command line, the version after
>                                 the execution of "javac -version" is:
>                                 javac 11.0.2
>
>                                 In netbeans.conf I have:
>                                 netbeans_jdkhome="C:\Program
>                                 Files\AdoptOpenJDK\jdk-11.0.2+9"
>
>                                 davide
>
>                                 On Tue, Feb 19, 2019 at 2:52 PM
>                                 Geertjan Wielenga
>                                 <geertjan.wielenga@googlemail.com
>                                 <ma...@googlemail.com>>
>                                 wrote:
>
>                                     When you run this on the command
>                                     line, what do you see: javac -version
>
>                                     What is the path you're referring
>                                     to in netbeans.conf?
>
>                                     Gj
>
>                                     On Tue, Feb 19, 2019 at 2:50 PM
>                                     Davide Moschini
>                                     <davide.moschini@gmail.com
>                                     <ma...@gmail.com>>
>                                     wrote:
>
>                                         I've just downloaded |Netbeans
>                                         10.0| and on a Windows 10 64
>                                         bit it doesn't start when i
>                                         execute |netbeans64.exe| (not
>                                         even with |netbeans.exe|)
>
>                                         I removed all the previous
>                                         java installations and
>                                         installed |jdk-11.0.2+9| and
>                                         |jdk-11.0.2+9-jre|.
>
>                                         Also change the path in the
>                                         netbeans configuration file to
>                                         the right java path.
>
>                                         Configured the environment
>                                         variables |PATH| and |JAVA_HOME|.
>
>                                         When I try to run the app
>                                         nothing happens.
>
>                                         Somebody else with same issue?
>
>
>                                         Also wrote this question on
>                                         https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: Netbeans 10.0 - doesn't start

Posted by Davide Moschini <da...@gmail.com>.
Using CMD cli:
changed the directory to Netbeans bin folder.
this is the command I wrote:
netbeans64.exe --jdk-home "C:\.....\jdk-11.0.2"

This is the answer:
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.


On Tue, Feb 19, 2019 at 4:47 PM Peter Steele <st...@gmail.com> wrote:

> Can you send the contents of the set command from the CMD cli? I'd
> recommending replacing personal identifiable information with dummy values.
> There is something odd going on
>
> On Tue, 19 Feb 2019, 15:43 Davide Moschini <davide.moschini@gmail.com
> wrote:
>
>> Moved everything in C:\Netbeans_10.0
>> no differences... the program doesn't start
>>
>>
>> On Tue, Feb 19, 2019 at 4:31 PM Geertjan Wielenga <
>> geertjan.wielenga@googlemail.com> wrote:
>>
>>> And maybe the fact that you have NetBeans at D: and JDK at C: is the
>>> problem.
>>>
>>> Gj
>>>
>>> On Tue, Feb 19, 2019 at 4:30 PM Geertjan Wielenga <
>>> geertjan.wielenga@googlemail.com> wrote:
>>>
>>>> Just double-click the executable and forget about that --jdkhome flag,
>>>> you don't need it.
>>>>
>>>> Gj
>>>>
>>>> On Tue, Feb 19, 2019 at 4:26 PM Davide Moschini <
>>>> davide.moschini@gmail.com> wrote:
>>>>
>>>>> I would like to summarize the steps taken (sorry I forgot to include
>>>>> the netbeans mailing list in the last emails sent)
>>>>> - Netbeans 10.0 is "installed" in a folder on a D: partition.
>>>>> - JDK (openJDK at the moment) is installed in folder "C:\Program
>>>>> Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>> - I'm using Windows 10 64 bit
>>>>> - ENVIRONMENT VARIABLES:
>>>>>     * JAVA_HOME: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9\
>>>>>     * JDK_HOME: %JAVA_HOME%
>>>>>     * JRE_HOME: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9-jre
>>>>>     * Path: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9\bin, C:\Program
>>>>> Files\AdoptOpenJDK\jdk-11.0.2+9-jre\bin.....(other stuff)
>>>>> - netbeans.conf: commented out the line
>>>>>      netbeans_jdkhome="C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>> - cmd line
>>>>>     * netbeans64.exe --jdkhome "C:\Program
>>>>> Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>>    The answer from cmd is:
>>>>>       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.
>>>>> - when I run javac -version from command line the answer is:
>>>>>     javac 11.0.2
>>>>>
>>>>> Netbeans never started.
>>>>>
>>>>> davide
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Feb 19, 2019 at 3:48 PM Geertjan Wielenga <
>>>>> geertjan.wielenga@googlemail.com> wrote:
>>>>>
>>>>>> Maybe comment out the line in netbeans.conf pointing to the JDK,
>>>>>> instead run 'echo %path%' to check that it is on your path (and put the JDK
>>>>>> on your path in Environment Variables if needed) and then double-click the
>>>>>> executable again.
>>>>>>
>>>>>> Gj
>>>>>>
>>>>>> On Tue, Feb 19, 2019 at 3:36 PM Geertjan Wielenga <
>>>>>> geertjan.wielenga@googlemail.com> wrote:
>>>>>>
>>>>>>> On Windows, I don't have any problem starting up Apache NetBeans 10,
>>>>>>> just by double-clicking the executable. I don't need any --jdkhome switch.
>>>>>>> In etc/netbeans.conf, I have netbeans_jdkhome commented out, so that I use
>>>>>>> the system's installed JDK. When I run 'echo %path%' from the command line,
>>>>>>> I see that the JDK as well as its bin folder are included there.
>>>>>>>
>>>>>>> Gj
>>>>>>>
>>>>>>> On Tue, Feb 19, 2019 at 3:24 PM Davide Moschini <
>>>>>>> davide.moschini@gmail.com> wrote:
>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ---------- Forwarded message ---------
>>>>>>>> From: Davide Moschini <da...@gmail.com>
>>>>>>>> Date: Tue, Feb 19, 2019 at 2:58 PM
>>>>>>>> Subject: Re: Netbeans 10.0 - doesn't start
>>>>>>>> To: Geertjan Wielenga <ge...@googlemail.com>
>>>>>>>>
>>>>>>>>
>>>>>>>> From command line, the version after the execution of "javac
>>>>>>>> -version" is:
>>>>>>>> javac 11.0.2
>>>>>>>>
>>>>>>>> In netbeans.conf I have:
>>>>>>>> netbeans_jdkhome="C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>>>>>
>>>>>>>> davide
>>>>>>>>
>>>>>>>> On Tue, Feb 19, 2019 at 2:52 PM Geertjan Wielenga <
>>>>>>>> geertjan.wielenga@googlemail.com> wrote:
>>>>>>>>
>>>>>>>>> When you run this on the command line, what do you see: javac
>>>>>>>>> -version
>>>>>>>>>
>>>>>>>>> What is the path you're referring to in netbeans.conf?
>>>>>>>>>
>>>>>>>>> Gj
>>>>>>>>>
>>>>>>>>> On Tue, Feb 19, 2019 at 2:50 PM Davide Moschini <
>>>>>>>>> davide.moschini@gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> I've just downloaded Netbeans 10.0 and on a Windows 10 64 bit it
>>>>>>>>>> doesn't start when i execute netbeans64.exe (not even with
>>>>>>>>>> netbeans.exe)
>>>>>>>>>>
>>>>>>>>>> I removed all the previous java installations and installed
>>>>>>>>>> jdk-11.0.2+9 and jdk-11.0.2+9-jre.
>>>>>>>>>>
>>>>>>>>>> Also change the path in the netbeans configuration file to the
>>>>>>>>>> right java path.
>>>>>>>>>>
>>>>>>>>>> Configured the environment variables PATH and JAVA_HOME.
>>>>>>>>>>
>>>>>>>>>> When I try to run the app nothing happens.
>>>>>>>>>>
>>>>>>>>>> Somebody else with same issue?
>>>>>>>>>>
>>>>>>>>>> Also wrote this question on
>>>>>>>>>> https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os
>>>>>>>>>>
>>>>>>>>>

Re: Netbeans 10.0 - doesn't start

Posted by Peter Steele <st...@gmail.com>.
Can you send the contents of the set command from the CMD cli? I'd
recommending replacing personal identifiable information with dummy values.
There is something odd going on

On Tue, 19 Feb 2019, 15:43 Davide Moschini <davide.moschini@gmail.com wrote:

> Moved everything in C:\Netbeans_10.0
> no differences... the program doesn't start
>
>
> On Tue, Feb 19, 2019 at 4:31 PM Geertjan Wielenga <
> geertjan.wielenga@googlemail.com> wrote:
>
>> And maybe the fact that you have NetBeans at D: and JDK at C: is the
>> problem.
>>
>> Gj
>>
>> On Tue, Feb 19, 2019 at 4:30 PM Geertjan Wielenga <
>> geertjan.wielenga@googlemail.com> wrote:
>>
>>> Just double-click the executable and forget about that --jdkhome flag,
>>> you don't need it.
>>>
>>> Gj
>>>
>>> On Tue, Feb 19, 2019 at 4:26 PM Davide Moschini <
>>> davide.moschini@gmail.com> wrote:
>>>
>>>> I would like to summarize the steps taken (sorry I forgot to include
>>>> the netbeans mailing list in the last emails sent)
>>>> - Netbeans 10.0 is "installed" in a folder on a D: partition.
>>>> - JDK (openJDK at the moment) is installed in folder "C:\Program
>>>> Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>> - I'm using Windows 10 64 bit
>>>> - ENVIRONMENT VARIABLES:
>>>>     * JAVA_HOME: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9\
>>>>     * JDK_HOME: %JAVA_HOME%
>>>>     * JRE_HOME: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9-jre
>>>>     * Path: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9\bin, C:\Program
>>>> Files\AdoptOpenJDK\jdk-11.0.2+9-jre\bin.....(other stuff)
>>>> - netbeans.conf: commented out the line
>>>>      netbeans_jdkhome="C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>> - cmd line
>>>>     * netbeans64.exe --jdkhome "C:\Program
>>>> Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>    The answer from cmd is:
>>>>       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.
>>>> - when I run javac -version from command line the answer is:
>>>>     javac 11.0.2
>>>>
>>>> Netbeans never started.
>>>>
>>>> davide
>>>>
>>>>
>>>>
>>>> On Tue, Feb 19, 2019 at 3:48 PM Geertjan Wielenga <
>>>> geertjan.wielenga@googlemail.com> wrote:
>>>>
>>>>> Maybe comment out the line in netbeans.conf pointing to the JDK,
>>>>> instead run 'echo %path%' to check that it is on your path (and put the JDK
>>>>> on your path in Environment Variables if needed) and then double-click the
>>>>> executable again.
>>>>>
>>>>> Gj
>>>>>
>>>>> On Tue, Feb 19, 2019 at 3:36 PM Geertjan Wielenga <
>>>>> geertjan.wielenga@googlemail.com> wrote:
>>>>>
>>>>>> On Windows, I don't have any problem starting up Apache NetBeans 10,
>>>>>> just by double-clicking the executable. I don't need any --jdkhome switch.
>>>>>> In etc/netbeans.conf, I have netbeans_jdkhome commented out, so that I use
>>>>>> the system's installed JDK. When I run 'echo %path%' from the command line,
>>>>>> I see that the JDK as well as its bin folder are included there.
>>>>>>
>>>>>> Gj
>>>>>>
>>>>>> On Tue, Feb 19, 2019 at 3:24 PM Davide Moschini <
>>>>>> davide.moschini@gmail.com> wrote:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ---------- Forwarded message ---------
>>>>>>> From: Davide Moschini <da...@gmail.com>
>>>>>>> Date: Tue, Feb 19, 2019 at 2:58 PM
>>>>>>> Subject: Re: Netbeans 10.0 - doesn't start
>>>>>>> To: Geertjan Wielenga <ge...@googlemail.com>
>>>>>>>
>>>>>>>
>>>>>>> From command line, the version after the execution of "javac
>>>>>>> -version" is:
>>>>>>> javac 11.0.2
>>>>>>>
>>>>>>> In netbeans.conf I have:
>>>>>>> netbeans_jdkhome="C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>>>>
>>>>>>> davide
>>>>>>>
>>>>>>> On Tue, Feb 19, 2019 at 2:52 PM Geertjan Wielenga <
>>>>>>> geertjan.wielenga@googlemail.com> wrote:
>>>>>>>
>>>>>>>> When you run this on the command line, what do you see: javac
>>>>>>>> -version
>>>>>>>>
>>>>>>>> What is the path you're referring to in netbeans.conf?
>>>>>>>>
>>>>>>>> Gj
>>>>>>>>
>>>>>>>> On Tue, Feb 19, 2019 at 2:50 PM Davide Moschini <
>>>>>>>> davide.moschini@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> I've just downloaded Netbeans 10.0 and on a Windows 10 64 bit it
>>>>>>>>> doesn't start when i execute netbeans64.exe (not even with
>>>>>>>>> netbeans.exe)
>>>>>>>>>
>>>>>>>>> I removed all the previous java installations and installed
>>>>>>>>> jdk-11.0.2+9 and jdk-11.0.2+9-jre.
>>>>>>>>>
>>>>>>>>> Also change the path in the netbeans configuration file to the
>>>>>>>>> right java path.
>>>>>>>>>
>>>>>>>>> Configured the environment variables PATH and JAVA_HOME.
>>>>>>>>>
>>>>>>>>> When I try to run the app nothing happens.
>>>>>>>>>
>>>>>>>>> Somebody else with same issue?
>>>>>>>>>
>>>>>>>>> Also wrote this question on
>>>>>>>>> https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os
>>>>>>>>>
>>>>>>>>

Re: Netbeans 10.0 - doesn't start

Posted by Davide Moschini <da...@gmail.com>.
Moved everything in C:\Netbeans_10.0
no differences... the program doesn't start


On Tue, Feb 19, 2019 at 4:31 PM Geertjan Wielenga <
geertjan.wielenga@googlemail.com> wrote:

> And maybe the fact that you have NetBeans at D: and JDK at C: is the
> problem.
>
> Gj
>
> On Tue, Feb 19, 2019 at 4:30 PM Geertjan Wielenga <
> geertjan.wielenga@googlemail.com> wrote:
>
>> Just double-click the executable and forget about that --jdkhome flag,
>> you don't need it.
>>
>> Gj
>>
>> On Tue, Feb 19, 2019 at 4:26 PM Davide Moschini <
>> davide.moschini@gmail.com> wrote:
>>
>>> I would like to summarize the steps taken (sorry I forgot to include the
>>> netbeans mailing list in the last emails sent)
>>> - Netbeans 10.0 is "installed" in a folder on a D: partition.
>>> - JDK (openJDK at the moment) is installed in folder "C:\Program
>>> Files\AdoptOpenJDK\jdk-11.0.2+9"
>>> - I'm using Windows 10 64 bit
>>> - ENVIRONMENT VARIABLES:
>>>     * JAVA_HOME: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9\
>>>     * JDK_HOME: %JAVA_HOME%
>>>     * JRE_HOME: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9-jre
>>>     * Path: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9\bin, C:\Program
>>> Files\AdoptOpenJDK\jdk-11.0.2+9-jre\bin.....(other stuff)
>>> - netbeans.conf: commented out the line
>>>      netbeans_jdkhome="C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
>>> - cmd line
>>>     * netbeans64.exe --jdkhome "C:\Program
>>> Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>    The answer from cmd is:
>>>       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.
>>> - when I run javac -version from command line the answer is:
>>>     javac 11.0.2
>>>
>>> Netbeans never started.
>>>
>>> davide
>>>
>>>
>>>
>>> On Tue, Feb 19, 2019 at 3:48 PM Geertjan Wielenga <
>>> geertjan.wielenga@googlemail.com> wrote:
>>>
>>>> Maybe comment out the line in netbeans.conf pointing to the JDK,
>>>> instead run 'echo %path%' to check that it is on your path (and put the JDK
>>>> on your path in Environment Variables if needed) and then double-click the
>>>> executable again.
>>>>
>>>> Gj
>>>>
>>>> On Tue, Feb 19, 2019 at 3:36 PM Geertjan Wielenga <
>>>> geertjan.wielenga@googlemail.com> wrote:
>>>>
>>>>> On Windows, I don't have any problem starting up Apache NetBeans 10,
>>>>> just by double-clicking the executable. I don't need any --jdkhome switch.
>>>>> In etc/netbeans.conf, I have netbeans_jdkhome commented out, so that I use
>>>>> the system's installed JDK. When I run 'echo %path%' from the command line,
>>>>> I see that the JDK as well as its bin folder are included there.
>>>>>
>>>>> Gj
>>>>>
>>>>> On Tue, Feb 19, 2019 at 3:24 PM Davide Moschini <
>>>>> davide.moschini@gmail.com> wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> ---------- Forwarded message ---------
>>>>>> From: Davide Moschini <da...@gmail.com>
>>>>>> Date: Tue, Feb 19, 2019 at 2:58 PM
>>>>>> Subject: Re: Netbeans 10.0 - doesn't start
>>>>>> To: Geertjan Wielenga <ge...@googlemail.com>
>>>>>>
>>>>>>
>>>>>> From command line, the version after the execution of "javac
>>>>>> -version" is:
>>>>>> javac 11.0.2
>>>>>>
>>>>>> In netbeans.conf I have:
>>>>>> netbeans_jdkhome="C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>>>
>>>>>> davide
>>>>>>
>>>>>> On Tue, Feb 19, 2019 at 2:52 PM Geertjan Wielenga <
>>>>>> geertjan.wielenga@googlemail.com> wrote:
>>>>>>
>>>>>>> When you run this on the command line, what do you see: javac
>>>>>>> -version
>>>>>>>
>>>>>>> What is the path you're referring to in netbeans.conf?
>>>>>>>
>>>>>>> Gj
>>>>>>>
>>>>>>> On Tue, Feb 19, 2019 at 2:50 PM Davide Moschini <
>>>>>>> davide.moschini@gmail.com> wrote:
>>>>>>>
>>>>>>>> I've just downloaded Netbeans 10.0 and on a Windows 10 64 bit it
>>>>>>>> doesn't start when i execute netbeans64.exe (not even with
>>>>>>>> netbeans.exe)
>>>>>>>>
>>>>>>>> I removed all the previous java installations and installed
>>>>>>>> jdk-11.0.2+9 and jdk-11.0.2+9-jre.
>>>>>>>>
>>>>>>>> Also change the path in the netbeans configuration file to the
>>>>>>>> right java path.
>>>>>>>>
>>>>>>>> Configured the environment variables PATH and JAVA_HOME.
>>>>>>>>
>>>>>>>> When I try to run the app nothing happens.
>>>>>>>>
>>>>>>>> Somebody else with same issue?
>>>>>>>>
>>>>>>>> Also wrote this question on
>>>>>>>> https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os
>>>>>>>>
>>>>>>>

Re: Netbeans 10.0 - doesn't start

Posted by Geertjan Wielenga <ge...@googlemail.com.INVALID>.
And maybe the fact that you have NetBeans at D: and JDK at C: is the
problem.

Gj

On Tue, Feb 19, 2019 at 4:30 PM Geertjan Wielenga <
geertjan.wielenga@googlemail.com> wrote:

> Just double-click the executable and forget about that --jdkhome flag, you
> don't need it.
>
> Gj
>
> On Tue, Feb 19, 2019 at 4:26 PM Davide Moschini <da...@gmail.com>
> wrote:
>
>> I would like to summarize the steps taken (sorry I forgot to include the
>> netbeans mailing list in the last emails sent)
>> - Netbeans 10.0 is "installed" in a folder on a D: partition.
>> - JDK (openJDK at the moment) is installed in folder "C:\Program
>> Files\AdoptOpenJDK\jdk-11.0.2+9"
>> - I'm using Windows 10 64 bit
>> - ENVIRONMENT VARIABLES:
>>     * JAVA_HOME: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9\
>>     * JDK_HOME: %JAVA_HOME%
>>     * JRE_HOME: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9-jre
>>     * Path: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9\bin, C:\Program
>> Files\AdoptOpenJDK\jdk-11.0.2+9-jre\bin.....(other stuff)
>> - netbeans.conf: commented out the line
>>      netbeans_jdkhome="C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
>> - cmd line
>>     * netbeans64.exe --jdkhome "C:\Program
>> Files\AdoptOpenJDK\jdk-11.0.2+9"
>>    The answer from cmd is:
>>       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.
>> - when I run javac -version from command line the answer is:
>>     javac 11.0.2
>>
>> Netbeans never started.
>>
>> davide
>>
>>
>>
>> On Tue, Feb 19, 2019 at 3:48 PM Geertjan Wielenga <
>> geertjan.wielenga@googlemail.com> wrote:
>>
>>> Maybe comment out the line in netbeans.conf pointing to the JDK, instead
>>> run 'echo %path%' to check that it is on your path (and put the JDK on your
>>> path in Environment Variables if needed) and then double-click the
>>> executable again.
>>>
>>> Gj
>>>
>>> On Tue, Feb 19, 2019 at 3:36 PM Geertjan Wielenga <
>>> geertjan.wielenga@googlemail.com> wrote:
>>>
>>>> On Windows, I don't have any problem starting up Apache NetBeans 10,
>>>> just by double-clicking the executable. I don't need any --jdkhome switch.
>>>> In etc/netbeans.conf, I have netbeans_jdkhome commented out, so that I use
>>>> the system's installed JDK. When I run 'echo %path%' from the command line,
>>>> I see that the JDK as well as its bin folder are included there.
>>>>
>>>> Gj
>>>>
>>>> On Tue, Feb 19, 2019 at 3:24 PM Davide Moschini <
>>>> davide.moschini@gmail.com> wrote:
>>>>
>>>>>
>>>>>
>>>>> ---------- Forwarded message ---------
>>>>> From: Davide Moschini <da...@gmail.com>
>>>>> Date: Tue, Feb 19, 2019 at 2:58 PM
>>>>> Subject: Re: Netbeans 10.0 - doesn't start
>>>>> To: Geertjan Wielenga <ge...@googlemail.com>
>>>>>
>>>>>
>>>>> From command line, the version after the execution of "javac -version"
>>>>> is:
>>>>> javac 11.0.2
>>>>>
>>>>> In netbeans.conf I have:
>>>>> netbeans_jdkhome="C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>>
>>>>> davide
>>>>>
>>>>> On Tue, Feb 19, 2019 at 2:52 PM Geertjan Wielenga <
>>>>> geertjan.wielenga@googlemail.com> wrote:
>>>>>
>>>>>> When you run this on the command line, what do you see: javac -version
>>>>>>
>>>>>> What is the path you're referring to in netbeans.conf?
>>>>>>
>>>>>> Gj
>>>>>>
>>>>>> On Tue, Feb 19, 2019 at 2:50 PM Davide Moschini <
>>>>>> davide.moschini@gmail.com> wrote:
>>>>>>
>>>>>>> I've just downloaded Netbeans 10.0 and on a Windows 10 64 bit it
>>>>>>> doesn't start when i execute netbeans64.exe (not even with
>>>>>>> netbeans.exe)
>>>>>>>
>>>>>>> I removed all the previous java installations and installed
>>>>>>> jdk-11.0.2+9 and jdk-11.0.2+9-jre.
>>>>>>>
>>>>>>> Also change the path in the netbeans configuration file to the right
>>>>>>> java path.
>>>>>>>
>>>>>>> Configured the environment variables PATH and JAVA_HOME.
>>>>>>>
>>>>>>> When I try to run the app nothing happens.
>>>>>>>
>>>>>>> Somebody else with same issue?
>>>>>>>
>>>>>>> Also wrote this question on
>>>>>>> https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os
>>>>>>>
>>>>>>

Re: Netbeans 10.0 - doesn't start

Posted by Geertjan Wielenga <ge...@googlemail.com.INVALID>.
Just double-click the executable and forget about that --jdkhome flag, you
don't need it.

Gj

On Tue, Feb 19, 2019 at 4:26 PM Davide Moschini <da...@gmail.com>
wrote:

> I would like to summarize the steps taken (sorry I forgot to include the
> netbeans mailing list in the last emails sent)
> - Netbeans 10.0 is "installed" in a folder on a D: partition.
> - JDK (openJDK at the moment) is installed in folder "C:\Program
> Files\AdoptOpenJDK\jdk-11.0.2+9"
> - I'm using Windows 10 64 bit
> - ENVIRONMENT VARIABLES:
>     * JAVA_HOME: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9\
>     * JDK_HOME: %JAVA_HOME%
>     * JRE_HOME: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9-jre
>     * Path: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9\bin, C:\Program
> Files\AdoptOpenJDK\jdk-11.0.2+9-jre\bin.....(other stuff)
> - netbeans.conf: commented out the line
>      netbeans_jdkhome="C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
> - cmd line
>     * netbeans64.exe --jdkhome "C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
>    The answer from cmd is:
>       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.
> - when I run javac -version from command line the answer is:
>     javac 11.0.2
>
> Netbeans never started.
>
> davide
>
>
>
> On Tue, Feb 19, 2019 at 3:48 PM Geertjan Wielenga <
> geertjan.wielenga@googlemail.com> wrote:
>
>> Maybe comment out the line in netbeans.conf pointing to the JDK, instead
>> run 'echo %path%' to check that it is on your path (and put the JDK on your
>> path in Environment Variables if needed) and then double-click the
>> executable again.
>>
>> Gj
>>
>> On Tue, Feb 19, 2019 at 3:36 PM Geertjan Wielenga <
>> geertjan.wielenga@googlemail.com> wrote:
>>
>>> On Windows, I don't have any problem starting up Apache NetBeans 10,
>>> just by double-clicking the executable. I don't need any --jdkhome switch.
>>> In etc/netbeans.conf, I have netbeans_jdkhome commented out, so that I use
>>> the system's installed JDK. When I run 'echo %path%' from the command line,
>>> I see that the JDK as well as its bin folder are included there.
>>>
>>> Gj
>>>
>>> On Tue, Feb 19, 2019 at 3:24 PM Davide Moschini <
>>> davide.moschini@gmail.com> wrote:
>>>
>>>>
>>>>
>>>> ---------- Forwarded message ---------
>>>> From: Davide Moschini <da...@gmail.com>
>>>> Date: Tue, Feb 19, 2019 at 2:58 PM
>>>> Subject: Re: Netbeans 10.0 - doesn't start
>>>> To: Geertjan Wielenga <ge...@googlemail.com>
>>>>
>>>>
>>>> From command line, the version after the execution of "javac -version"
>>>> is:
>>>> javac 11.0.2
>>>>
>>>> In netbeans.conf I have:
>>>> netbeans_jdkhome="C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>>
>>>> davide
>>>>
>>>> On Tue, Feb 19, 2019 at 2:52 PM Geertjan Wielenga <
>>>> geertjan.wielenga@googlemail.com> wrote:
>>>>
>>>>> When you run this on the command line, what do you see: javac -version
>>>>>
>>>>> What is the path you're referring to in netbeans.conf?
>>>>>
>>>>> Gj
>>>>>
>>>>> On Tue, Feb 19, 2019 at 2:50 PM Davide Moschini <
>>>>> davide.moschini@gmail.com> wrote:
>>>>>
>>>>>> I've just downloaded Netbeans 10.0 and on a Windows 10 64 bit it
>>>>>> doesn't start when i execute netbeans64.exe (not even with
>>>>>> netbeans.exe)
>>>>>>
>>>>>> I removed all the previous java installations and installed
>>>>>> jdk-11.0.2+9 and jdk-11.0.2+9-jre.
>>>>>>
>>>>>> Also change the path in the netbeans configuration file to the right
>>>>>> java path.
>>>>>>
>>>>>> Configured the environment variables PATH and JAVA_HOME.
>>>>>>
>>>>>> When I try to run the app nothing happens.
>>>>>>
>>>>>> Somebody else with same issue?
>>>>>>
>>>>>> Also wrote this question on
>>>>>> https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os
>>>>>>
>>>>>

Re: Netbeans 10.0 - doesn't start

Posted by Davide Moschini <da...@gmail.com>.
I would like to summarize the steps taken (sorry I forgot to include the
netbeans mailing list in the last emails sent)
- Netbeans 10.0 is "installed" in a folder on a D: partition.
- JDK (openJDK at the moment) is installed in folder "C:\Program
Files\AdoptOpenJDK\jdk-11.0.2+9"
- I'm using Windows 10 64 bit
- ENVIRONMENT VARIABLES:
    * JAVA_HOME: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9\
    * JDK_HOME: %JAVA_HOME%
    * JRE_HOME: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9-jre
    * Path: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9\bin, C:\Program
Files\AdoptOpenJDK\jdk-11.0.2+9-jre\bin.....(other stuff)
- netbeans.conf: commented out the line
     netbeans_jdkhome="C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
- cmd line
    * netbeans64.exe --jdkhome "C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
   The answer from cmd is:
      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.
- when I run javac -version from command line the answer is:
    javac 11.0.2

Netbeans never started.

davide



On Tue, Feb 19, 2019 at 3:48 PM Geertjan Wielenga <
geertjan.wielenga@googlemail.com> wrote:

> Maybe comment out the line in netbeans.conf pointing to the JDK, instead
> run 'echo %path%' to check that it is on your path (and put the JDK on your
> path in Environment Variables if needed) and then double-click the
> executable again.
>
> Gj
>
> On Tue, Feb 19, 2019 at 3:36 PM Geertjan Wielenga <
> geertjan.wielenga@googlemail.com> wrote:
>
>> On Windows, I don't have any problem starting up Apache NetBeans 10, just
>> by double-clicking the executable. I don't need any --jdkhome switch. In
>> etc/netbeans.conf, I have netbeans_jdkhome commented out, so that I use the
>> system's installed JDK. When I run 'echo %path%' from the command line, I
>> see that the JDK as well as its bin folder are included there.
>>
>> Gj
>>
>> On Tue, Feb 19, 2019 at 3:24 PM Davide Moschini <
>> davide.moschini@gmail.com> wrote:
>>
>>>
>>>
>>> ---------- Forwarded message ---------
>>> From: Davide Moschini <da...@gmail.com>
>>> Date: Tue, Feb 19, 2019 at 2:58 PM
>>> Subject: Re: Netbeans 10.0 - doesn't start
>>> To: Geertjan Wielenga <ge...@googlemail.com>
>>>
>>>
>>> From command line, the version after the execution of "javac -version"
>>> is:
>>> javac 11.0.2
>>>
>>> In netbeans.conf I have:
>>> netbeans_jdkhome="C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>
>>> davide
>>>
>>> On Tue, Feb 19, 2019 at 2:52 PM Geertjan Wielenga <
>>> geertjan.wielenga@googlemail.com> wrote:
>>>
>>>> When you run this on the command line, what do you see: javac -version
>>>>
>>>> What is the path you're referring to in netbeans.conf?
>>>>
>>>> Gj
>>>>
>>>> On Tue, Feb 19, 2019 at 2:50 PM Davide Moschini <
>>>> davide.moschini@gmail.com> wrote:
>>>>
>>>>> I've just downloaded Netbeans 10.0 and on a Windows 10 64 bit it
>>>>> doesn't start when i execute netbeans64.exe (not even with
>>>>> netbeans.exe)
>>>>>
>>>>> I removed all the previous java installations and installed
>>>>> jdk-11.0.2+9 and jdk-11.0.2+9-jre.
>>>>>
>>>>> Also change the path in the netbeans configuration file to the right
>>>>> java path.
>>>>>
>>>>> Configured the environment variables PATH and JAVA_HOME.
>>>>>
>>>>> When I try to run the app nothing happens.
>>>>>
>>>>> Somebody else with same issue?
>>>>>
>>>>> Also wrote this question on
>>>>> https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os
>>>>>
>>>>

Re: Netbeans 10.0 - doesn't start

Posted by Geertjan Wielenga <ge...@googlemail.com.INVALID>.
Maybe comment out the line in netbeans.conf pointing to the JDK, instead
run 'echo %path%' to check that it is on your path (and put the JDK on your
path in Environment Variables if needed) and then double-click the
executable again.

Gj

On Tue, Feb 19, 2019 at 3:36 PM Geertjan Wielenga <
geertjan.wielenga@googlemail.com> wrote:

> On Windows, I don't have any problem starting up Apache NetBeans 10, just
> by double-clicking the executable. I don't need any --jdkhome switch. In
> etc/netbeans.conf, I have netbeans_jdkhome commented out, so that I use the
> system's installed JDK. When I run 'echo %path%' from the command line, I
> see that the JDK as well as its bin folder are included there.
>
> Gj
>
> On Tue, Feb 19, 2019 at 3:24 PM Davide Moschini <da...@gmail.com>
> wrote:
>
>>
>>
>> ---------- Forwarded message ---------
>> From: Davide Moschini <da...@gmail.com>
>> Date: Tue, Feb 19, 2019 at 2:58 PM
>> Subject: Re: Netbeans 10.0 - doesn't start
>> To: Geertjan Wielenga <ge...@googlemail.com>
>>
>>
>> From command line, the version after the execution of "javac -version" is:
>> javac 11.0.2
>>
>> In netbeans.conf I have:
>> netbeans_jdkhome="C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
>>
>> davide
>>
>> On Tue, Feb 19, 2019 at 2:52 PM Geertjan Wielenga <
>> geertjan.wielenga@googlemail.com> wrote:
>>
>>> When you run this on the command line, what do you see: javac -version
>>>
>>> What is the path you're referring to in netbeans.conf?
>>>
>>> Gj
>>>
>>> On Tue, Feb 19, 2019 at 2:50 PM Davide Moschini <
>>> davide.moschini@gmail.com> wrote:
>>>
>>>> I've just downloaded Netbeans 10.0 and on a Windows 10 64 bit it
>>>> doesn't start when i execute netbeans64.exe (not even with netbeans.exe
>>>> )
>>>>
>>>> I removed all the previous java installations and installed
>>>> jdk-11.0.2+9 and jdk-11.0.2+9-jre.
>>>>
>>>> Also change the path in the netbeans configuration file to the right
>>>> java path.
>>>>
>>>> Configured the environment variables PATH and JAVA_HOME.
>>>>
>>>> When I try to run the app nothing happens.
>>>>
>>>> Somebody else with same issue?
>>>>
>>>> Also wrote this question on
>>>> https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os
>>>>
>>>

Re: Netbeans 10.0 - doesn't start

Posted by Geertjan Wielenga <ge...@googlemail.com.INVALID>.
On Windows, I don't have any problem starting up Apache NetBeans 10, just
by double-clicking the executable. I don't need any --jdkhome switch. In
etc/netbeans.conf, I have netbeans_jdkhome commented out, so that I use the
system's installed JDK. When I run 'echo %path%' from the command line, I
see that the JDK as well as its bin folder are included there.

Gj

On Tue, Feb 19, 2019 at 3:24 PM Davide Moschini <da...@gmail.com>
wrote:

>
>
> ---------- Forwarded message ---------
> From: Davide Moschini <da...@gmail.com>
> Date: Tue, Feb 19, 2019 at 2:58 PM
> Subject: Re: Netbeans 10.0 - doesn't start
> To: Geertjan Wielenga <ge...@googlemail.com>
>
>
> From command line, the version after the execution of "javac -version" is:
> javac 11.0.2
>
> In netbeans.conf I have:
> netbeans_jdkhome="C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
>
> davide
>
> On Tue, Feb 19, 2019 at 2:52 PM Geertjan Wielenga <
> geertjan.wielenga@googlemail.com> wrote:
>
>> When you run this on the command line, what do you see: javac -version
>>
>> What is the path you're referring to in netbeans.conf?
>>
>> Gj
>>
>> On Tue, Feb 19, 2019 at 2:50 PM Davide Moschini <
>> davide.moschini@gmail.com> wrote:
>>
>>> I've just downloaded Netbeans 10.0 and on a Windows 10 64 bit it
>>> doesn't start when i execute netbeans64.exe (not even with netbeans.exe)
>>>
>>> I removed all the previous java installations and installed jdk-11.0.2+9
>>>  and jdk-11.0.2+9-jre.
>>>
>>> Also change the path in the netbeans configuration file to the right
>>> java path.
>>>
>>> Configured the environment variables PATH and JAVA_HOME.
>>>
>>> When I try to run the app nothing happens.
>>>
>>> Somebody else with same issue?
>>>
>>> Also wrote this question on
>>> https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os
>>>
>>

Fwd: Netbeans 10.0 - doesn't start

Posted by Davide Moschini <da...@gmail.com>.
---------- Forwarded message ---------
From: Davide Moschini <da...@gmail.com>
Date: Tue, Feb 19, 2019 at 2:58 PM
Subject: Re: Netbeans 10.0 - doesn't start
To: Geertjan Wielenga <ge...@googlemail.com>


From command line, the version after the execution of "javac -version" is:
javac 11.0.2

In netbeans.conf I have:
netbeans_jdkhome="C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"

davide

On Tue, Feb 19, 2019 at 2:52 PM Geertjan Wielenga <
geertjan.wielenga@googlemail.com> wrote:

> When you run this on the command line, what do you see: javac -version
>
> What is the path you're referring to in netbeans.conf?
>
> Gj
>
> On Tue, Feb 19, 2019 at 2:50 PM Davide Moschini <da...@gmail.com>
> wrote:
>
>> I've just downloaded Netbeans 10.0 and on a Windows 10 64 bit it doesn't
>> start when i execute netbeans64.exe (not even with netbeans.exe)
>>
>> I removed all the previous java installations and installed jdk-11.0.2+9
>>  and jdk-11.0.2+9-jre.
>>
>> Also change the path in the netbeans configuration file to the right java
>> path.
>>
>> Configured the environment variables PATH and JAVA_HOME.
>>
>> When I try to run the app nothing happens.
>>
>> Somebody else with same issue?
>>
>> Also wrote this question on
>> https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os
>>
>

Re: Netbeans 10.0 - doesn't start

Posted by Geertjan Wielenga <ge...@googlemail.com.INVALID>.
When you run this on the command line, what do you see: javac -version

What is the path you're referring to in netbeans.conf?

Gj

On Tue, Feb 19, 2019 at 2:50 PM Davide Moschini <da...@gmail.com>
wrote:

> I've just downloaded Netbeans 10.0 and on a Windows 10 64 bit it doesn't
> start when i execute netbeans64.exe (not even with netbeans.exe)
>
> I removed all the previous java installations and installed jdk-11.0.2+9
>  and jdk-11.0.2+9-jre.
>
> Also change the path in the netbeans configuration file to the right java
> path.
>
> Configured the environment variables PATH and JAVA_HOME.
>
> When I try to run the app nothing happens.
>
> Somebody else with same issue?
>
> Also wrote this question on
> https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os
>

Re: Netbeans 10.0 - doesn't start

Posted by Helmut Leininger <hl...@gmx.at>.
Hi,

just another remark:

the same problem happens if you have created a Netbeans Platform
Application. You must specify --jdkhome=%JAVA_HOME% on the comand line
for the launcher. It seems that the launcher does not read netbeans.conf
(or too late).

Helmut

Am 19.02.2019 um 15:02 schrieb Helmut Leininger:
>
> Hi,
>
> which Java version do you have? Oracle java or openjdk ?
>
> I  had to specify    --jdkhome "C:\OpenSourceTools\jdk-11"     on
> netbeans64.exe to make it run.
>
> Helmut
>
> Am 19.02.2019 um 14:50 schrieb Davide Moschini:
>>
>> I've just downloaded |Netbeans 10.0| and on a Windows 10 64 bit it
>> doesn't start when i execute |netbeans64.exe| (not even
>> with |netbeans.exe|)
>>
>> I removed all the previous java installations and
>> installed |jdk-11.0.2+9| and |jdk-11.0.2+9-jre|.
>>
>> Also change the path in the netbeans configuration file to the right
>> java path.
>>
>> Configured the environment variables |PATH| and |JAVA_HOME|.
>>
>> When I try to run the app nothing happens.
>>
>> Somebody else with same issue?
>>
>>
>> Also wrote this question
>> on https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os

Re: Netbeans 10.0 - doesn't start

Posted by Helmut Leininger <hl...@gmx.at>.
Hi,

which Java version do you have? Oracle java or openjdk ?

I  had to specify    --jdkhome "C:\OpenSourceTools\jdk-11"     on
netbeans64.exe to make it run.

Helmut

Am 19.02.2019 um 14:50 schrieb Davide Moschini:
>
> I've just downloaded |Netbeans 10.0| and on a Windows 10 64 bit it
> doesn't start when i execute |netbeans64.exe| (not even
> with |netbeans.exe|)
>
> I removed all the previous java installations and
> installed |jdk-11.0.2+9| and |jdk-11.0.2+9-jre|.
>
> Also change the path in the netbeans configuration file to the right
> java path.
>
> Configured the environment variables |PATH| and |JAVA_HOME|.
>
> When I try to run the app nothing happens.
>
> Somebody else with same issue?
>
>
> Also wrote this question
> on https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os