(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 <steeleh...@gmail.com <mailto:steeleh...@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.mosch...@gmail.com <mailto:davide.mosch...@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.wiele...@googlemail.com
        <mailto:geertjan.wiele...@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.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