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 <steeleh...@gmail.com 
> <mailto:steeleh...@gmail.com>> wrote:
> 
>     Maybe the + in the jdk directory name is the problem
> 
>     On Tue, 19 Feb 2019, 15:32 Davide Moschini <davide.mosch...@gmail.com 
> <mailto:davide.mosch...@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.wiele...@googlemail.com <mailto:geertjan.wiele...@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.mosch...@gmail.com <mailto:davide.mosch...@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.wiele...@googlemail.com <mailto:geertjan.wiele...@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.wiele...@googlemail.com <mailto:geertjan.wiele...@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.mosch...@gmail.com <mailto:davide.mosch...@gmail.com>> wrote:
> 
> 
> 
>                             ---------- Forwarded message ---------
>                             From: *Davide Moschini* 
> <davide.mosch...@gmail.com <mailto:davide.mosch...@gmail.com>>
>                             Date: Tue, Feb 19, 2019 at 2:58 PM
>                             Subject: Re: Netbeans 10.0 - doesn't start
>                             To: Geertjan Wielenga 
> <geertjan.wiele...@googlemail.com <mailto:geertjan.wiele...@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.wiele...@googlemail.com <mailto:geertjan.wiele...@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.mosch...@gmail.com <mailto:davide.mosch...@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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

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

Reply via email to