Hi Antonio, Geertjan,

Somehow the problem of starting Netbeans is solved. I was trying to start
jconsole and run into a java security problem. After solving that problem
by setting security definitions in a "jstatd.all.policy"-file the startup
via netbeans64.exe worked again. However, via the windows shortcut it still
failed. After renewing the shotcut in windows "start" it also worked again.

And now I am back at the point where I was some time ago, namely to get
Java12/JavaFx12 and Netbeans11 up and running. While all was running
without problems in java8/Netbeans8, it is not possible anymore to run my
programs despite of all the examples given (Gluon, Netbeans, etc).

In Maven the build of my main program is failing because  of a missing
mainClass, in Netbeans it has an exit(1) because of failing javafx
components:
=============
--- exec-maven-plugin:1.2.1:exec (default-cli) @ Ost03 ---
Error: JavaFX runtime components are missing, and are required to run this
application
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 2.593 s
Finished at: 2019-06-05T16:42:12+02:00
Final Memory: 20M/100M
------------------------------------------------------------------------
Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec
(default-cli) on project Ost03: Command execution failed. Process exited
with an error: 1 (Exit value: 1) -> [Help 1]
===========
and the build of my simple testprogram "HelloWord" is just failing without
any message.
syntactically there are no errors in the programs.

Do I overlook something, or is Java FX still an issue?

Regards,

Eef




Op wo 5 jun. 2019 om 07:45 schreef Antonio <anto...@vieiro.net>:

> Oh, yeah, jps, jstack and even jconsole are still available in JDK 12:
>
>
> https://docs.oracle.com/en/java/javase/12/tools/jps.html#GUID-6EB65B96-F9DD-4356-B825-6146E9EEC81E
>
> jconsole has a gui, so it's probably easier than jps/jstack alone.
>
> This should help you & us to see what's going on.
>
> Cheers,
> Antonio
>
> El 05/06/2019 a las 7:43, Antonio escribió:
> > Hi Eef,
> >
> > If jvisualvm is missing then maybe you can use "jps" to find out the
> > process identifier (PID) of the running JVMs in your laptop. This is an
> > integer number.
> >
> > Once you have the PID of the appropriate JVM you can then use "jstack"
> > to obtain a thread-dump of the JVM. That would help us see why NetBeans
> > is freezing in your laptop.
> >
> > I imagine these tools are available in JDK 12, but can't currently tell
> > (I don't have JDK 12 in this laptop right now).
> >
> > HTH,
> > Antonio
> >
> > El 04/06/2019 a las 18:13, Eef Custers escribió:
> >> Hi Antonio,
> >>
> >> My troubles with my configuration started after I tried to upgrade from
> >> Java-8(212)/Netbeans8.2 to Java-12/Netbeans11.0. I know that this new
> >> configuration has a lot of fundamental chances, for example the
> >> separation
> >> of JavaFX from the jdk. Concerning the tool jvisualvm I fear the same
> >> situation: the tool is not in my jdk-12.0.1.
> >> Do you have any suggestions?
> >>
> >> Regards,
> >>
> >> Eef
> >>
> >>
> >> Op di 4 jun. 2019 om 16:55 schreef Antonio <anto...@vieiro.net>:
> >>
> >>> You can use "jvisualvm", a visual tool bundled with the JDK that is
> used
> >>> to "inspect" whatever a Java Virtual Machine is doing. Take a look at
> >>> the "threads" section and tell us what the threads are doing.
> >>>
> >>> The "jvisualvm" tool bundled with the JDK is, by the way, built with
> >>> NetBeans technology.
> >>>
> >>> HTH,
> >>> Antonio
> >>>
> >>> El 03/06/2019 a las 15:59, Eef Custers escribió:
> >>>> Hello,
> >>>>
> >>>> My Netbeans 11.0 installation has problems in showing the GUI. It only
> >>>> produces a background process. This situation emerged suddenly and for
> >>>> unknown reasons. I had been able to run Netbeans11 before that
> >>>> moment. I
> >>>> have been trying to make Netbeans work with Java12 (Java jdk-12.0.1
> >>>> and javafx-sdk-12.0.1),
> >>>> but it failed so far. The java config with java FXML did run however
> >>>> when
> >>>> directly run from Maven.
> >>>> Now I have been looking around a lot but I cannot find a reason or a
> >>>> solution to get Netbeans working again. Also a complete reinstall does
> >>> not
> >>>> solve this problem.
> >>>> Can somebody support me on thi issue? It will be greatly appreciated!
> >>>>
> >>>> My configuration is:
> >>>>
> >>>> C:\java_lib\jdk-12.0.1\bin
> >>>>
> >>>> C:\java_lib\javafx-sdk-12.0.1\bin
> >>>>
> >>>> C:\java_lib\javafx-jmods-12.0.1;
> >>>>
> >>>> JAVA_HOME=C:\java_lib\jdk-12.0.1
> >>>>
> >>>> CLASSPATH= C:\java_lib\jdk-12.0.1\lib;
> >>>> C:\java_lib\javafx-sdk-12.0.1\lib;
> >>>> C:\java_lib\javafx-jmods-12.0.1;
> >>>>
> >>>>
> >>>>
> >>>> My console output of the startup is:
> >>>>
> >>>>
> >>>>
> >>>> Log Session: Monday, June 3, 2019 at 3:41:36 PM Central European
> Summer
> >>> Time
> >>>>
> >>>>> System Info:
> >>>>
> >>>>     Product Version         = Apache NetBeans IDE 11.0 (Build
> >>>> incubator-netbeans-release-404-on-20190319)
> >>>>
> >>>>     Operating System        = Windows 10 version 10.0 running on amd64
> >>>>
> >>>>     Java; VM; Vendor        = 12.0.1; OpenJDK 64-Bit Server VM
> >>>> 12.0.1+12;
> >>>> Oracle Corporation
> >>>>
> >>>>     Runtime                 = OpenJDK Runtime Environment 12.0.1+12
> >>>>
> >>>>     Java Home               = c:\java_lib\jdk-12.0.1
> >>>>
> >>>>     System Locale; Encoding = en_US (nb); UTF-8
> >>>>
> >>>>     Home Directory          = C:\Users\ecusters
> >>>>
> >>>>     Current Directory       = C:\Tools\netbeans-11.0\bin
> >>>>
> >>>>     User Directory          =
> >>> C:\Users\ecusters\AppData\Roaming\NetBeans\11.0
> >>>>
> >>>>     Cache Directory         =
> >>>> C:\Users\ecusters\AppData\Local\NetBeans\Cache\11.0
> >>>>
> >>>>     Installation            = C:\Tools\netbeans-11.0\nb
> >>>>
> >>>>                               C:\Tools\netbeans-11.0\ergonomics
> >>>>
> >>>>                               C:\Tools\netbeans-11.0\ide
> >>>>
> >>>>                               C:\Tools\netbeans-11.0\extide
> >>>>
> >>>>                               C:\Tools\netbeans-11.0\java
> >>>>
> >>>>                               C:\Tools\netbeans-11.0\apisupport
> >>>>
> >>>>                               C:\Tools\netbeans-11.0\webcommon
> >>>>
> >>>>                               C:\Tools\netbeans-11.0\websvccommon
> >>>>
> >>>>                               C:\Tools\netbeans-11.0\enterprise
> >>>>
> >>>>                               C:\Tools\netbeans-11.0\profiler
> >>>>
> >>>>                               C:\Tools\netbeans-11.0\php
> >>>>
> >>>>                               C:\Tools\netbeans-11.0\harness
> >>>>
> >>>>                               C:\Tools\netbeans-11.0\groovy
> >>>>
> >>>>                               C:\Tools\netbeans-11.0\javafx
> >>>>
> >>>>                               C:\Tools\netbeans-11.0\platform
> >>>>
> >>>>     Boot & Ext. Classpath   =
> >>>>
> >>>>     Application Classpath   =
> >>>>
> >>>
> C:\Tools\netbeans-11.0\platform\lib\boot.jar;C:\Tools\netbeans-11.0\platform\lib\org-openide-modules.jar;C:\Tools\netbeans-11.0\platform\lib\org-openide-util-lookup.jar;C:\Tools\netbeans-11.0\platform\lib\org-openide-util-ui.jar;C:\Tools\netbeans-11.0\platform\lib\org-openide-util.jar
>
> >>>
> >>>>
> >>>>     Startup Classpath       =
> >>>>
> >>>
> C:\Tools\netbeans-11.0\platform\core\asm-all-5.0.1.jar;C:\Tools\netbeans-11.0\platform\core\core-base.jar;C:\Tools\netbeans-11.0\platform\core\core.jar;C:\Tools\netbeans-11.0\platform\core\org-netbeans-libs-asm.jar;C:\Tools\netbeans-11.0\platform\core\org-openide-filesystems-compat8.jar;C:\Tools\netbeans-11.0\platform\core\org-openide-filesystems.jar;C:\Tools\netbeans-11.0\nb\core\org-netbeans-upgrader.jar;C:\Tools\netbeans-11.0\nb\core\locale\core_nb.jar
>
> >>>
> >>>>
> >>>>
> >>>
> -------------------------------------------------------------------------------
>
> >>>
> >>>>
> >>>> INFO [org.netbeans.modules.netbinox]: Install area set to
> >>>> file:/C:/Tools/netbeans-11.0/
> >>>>
> >>>> WARNING [org.netbeans.core.modules]: the modules
> >>>> [org.netbeans.modules.java.editor.lib,
> >>>> org.netbeans.modules.xml.text] use
> >>>> org.netbeans.modules.editor.deprecated.pre65formatting which is
> >>> deprecated.
> >>>>
> >>>> WARNING [org.netbeans.core.modules]: the modules
> >>>> [org.netbeans.modules.ide.kit, org.netbeans.modules.xml.text] use
> >>>> org.netbeans.modules.editor.structure which is deprecated.
> >>>>
> >>>>
> >>>> The startup process of Netbeans stops at the following point:
> >>>>
> >>>>
> >>>>
> >>>>          org.eclipse.mylyn.commons.core [3.17.0 3.17.0.v20150625-2042]
> >>>>
> >>>>           org.eclipse.equinox.security [1.1.1
> >>>> 1.1.1.R37x_v20110822-1018]
> >>>>
> >>>>           org.eclipse.equinox.registry [3.5.200
> 3.5.200.v20120522-1841]
> >>>>
> >>>>           org.eclipse.equinox.preferences [3.4.2 3.4.2.v20120111-2020]
> >>>>
> >>>>           org.eclipse.equinox.app [1.3.100 1.3.100.v20110321]
> >>>>
> >>>>           org.eclipse.core.runtime.compatibility.auth [3.2.200
> >>>> 3.2.200.v20110110]
> >>>>
> >>>>           org.eclipse.core.net [1.2.100 1.2.100.I20110511-0800]
> >>>>
> >>>>           org.eclipse.core.contenttype [3.4.100
> 3.4.100.v20110423-0524]
> >>>>
> >>>>           org.apache.xmlrpc [3.0.0 3.0.0]
> >>>>
> >>>>           org.apache.ws.commons.util [1.0.1 1.0.1]
> >>>>
> >>>>           org.apache.commons.lang [2.6 2.6]
> >>>>
> >>>>           netbeans.jshint [1.3 190501]
> >>>>
> >>>>           com.peter.mavenrunner [4.3 170822]
> >>>>
> >>>>           com.jcraft.jzlib [1.0.7 1.0.7]
> >>>>
> >>>>           com.googlecode.javaewah.JavaEWAH [0.7.9 0.7.9]
> >>>>
> >>>>           com.gluon.plugin.netbeans [2.7.0 2.7.0 201804241015]
> >>>>
> >>>> INFO [org.netbeans.core.netigso.Netigso]: bundle
> >>>> org.eclipse.osgi@3.9.1.v20140110-1610 started
> >>>>
> >>>> INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System
> >>> network
> >>>> proxy resolver: Windows
> >>>>
> >>>> INFO [org.netbeans.core.network.proxy.windows.WindowsNetworkProxy]:
> >>> Windows
> >>>> system proxy resolver: auto detect
> >>>>
> >>>> INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System
> >>> network
> >>>> proxy reloading succeeded.
> >>>>
> >>>> INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System
> >>> network
> >>>> proxy - mode: direct
> >>>>
> >>>> INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System
> >>> network
> >>>> proxy: fell to default (correct if direct mode went before)
> >>>>
> >>>> WARNING [org.netbeans.TopSecurityManager]: use of system property
> >>>> netbeans.home has been obsoleted in favor of
> >>>> InstalledFileLocator/Places
> >>> at
> >>>>
> >>>
> org.netbeans.modules.java.j2seplatform.platformdefinition.Util.removeNBArtifacts(Util.java:337)
>
> >>>
> >>>>
> >>>>
> >>>> ====== ====
> >>>>
> >>>> Best regards,
> >>>>
> >>>> Eef
> >>>>
> >>>
> >>> ---------------------------------------------------------------------
> >>> 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
> >>>
> >>>
> >>
>


-- 
Met vriendelijke groeten,

E. Custers,
Oracle & Java Ontwikkelaar / Senior Oracle DBA
OrendaFlex BV
Orenda iT Services BV
00 31 6 5499 2250
====================================
Oracle database Beheer & Data Management
====================================

Reply via email to