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 <[email protected]>
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
> <[email protected]> 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 <
>> [email protected]> 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 <
>>> [email protected]> 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 <
>>>> [email protected]> 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 <
>>>>> [email protected]> 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 <[email protected]
>>>>>> > <mailto:[email protected]>> 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
>>>>>> > <[email protected] <mailto:[email protected]>
>>>>>> 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
>>>>>> > <[email protected]
>>>>>> > <mailto:[email protected]>> 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
>>>>>> > <[email protected]
>>>>>> > <mailto:[email protected]>> 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
>>>>>> > <[email protected]
>>>>>> > <mailto:[email protected]>> 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
>>>>>> > <[email protected]
>>>>>> > <mailto:[email protected]>>
>>>>>> 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 <[email protected]
>>>>>> > <mailto:[email protected]>>
>>>>>> 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 <[email protected]
>>>>>> > <mailto:[email protected]>>
>>>>>> wrote:
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>> > ---------- Forwarded message
>>>>>> ---------
>>>>>> > From: *Davide Moschini*
>>>>>> > <[email protected]
>>>>>> > <mailto:[email protected]>>
>>>>>> > Date: Tue, Feb 19, 2019 at 2:58 PM
>>>>>> > Subject: Re: Netbeans 10.0 -
>>>>>> doesn't start
>>>>>> > To: Geertjan Wielenga
>>>>>> > <[email protected]
>>>>>> > <mailto:
>>>>>> [email protected]>>
>>>>>> >
>>>>>> >
>>>>>> > 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
>>>>>> > <[email protected]
>>>>>> > <mailto:
>>>>>> [email protected]>>
>>>>>> > 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
>>>>>> > <[email protected]
>>>>>> > <mailto:
>>>>>> [email protected]>>
>>>>>> > 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: [email protected]
>>>>>> For additional commands, e-mail: [email protected]
>>>>>>
>>>>>> For further information about the NetBeans mailing lists, visit:
>>>>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>>>>>
>>>>>>