building executable with ikvmc from an all_in_one jar
rudi12668 <[email protected]> Tue, 13 Feb 2018 14:29:02 +0100
| Newsgroups | gmane.comp.java.ikvm.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I'm trying to build an executable from an all_in_one jar file by ikvmc.
Compiling java with netbeans 8.2, I've included all the needed libraries =
plus: jfxrt.jar, deploy.jar, jrt.jar.
During the building some warning occurred.
note IKVMC0002: Output file is "AllInOneJar.exe"
warning IKVMC0100: Class "com.sun.deploy.uitoolkit.DragHelper" not found
warning IKVMC0100: Class "com.sun.deploy.uitoolkit.PluginUIToolkit" not =
found
warning IKVMC0100: Class "com.sun.deploy.uitoolkit.PluginWindowFactory" =
not found
warning IKVMC0100: Class "com.sun.deploy.uitoolkit.ui.ModalityHelper" =
not found
warning IKVMC0100: Class "com.sun.deploy.uitoolkit.ui.PluginUIFactory" =
not found
warning IKVMC0100: Class "jdk.internal.instrumentation.Logger" not found
warning IKVMC0117: Emitted java.lang.NoSuchMethodError in =
"com.sun.deploy.security.JarVerifier.isJarWeaklySigned()Z" =
("sun.security.pkcs.SignerInfo.getTsToken()Lsun.security.pkcs.PKCS7;")
warning IKVMC0100: Class "sun.plugin2.applet2.Plugin2Host" not found
warning IKVMC0112: Emitted java.lang.IllegalAccessError in =
"javafx.embed.swing.JFXPanel.paintComponent(Ljava.awt.Graphics;)V" ("Try =
to access field sun.java2d.SunGraphics2D.surfaceData from class =
javafx.embed.swing.JFXPanel")
warning IKVMC0117: Emitted java.lang.NoSuchMethodError in =
"javafx.embed.swing.JFXPanel.paintComponent(Ljava.awt.Graphics;)V" =
("sun.java2d.SurfaceData.getDefaultScale()I")
warning IKVMC0136: Reflection.getCallerClass() called from non-CallerID =
method ("javafx.fxml.FXMLLoader.getClassLoader()Ljava.lang.ClassLoader;")
warning IKVMC0136: Reflection.getCallerClass() called from non-CallerID =
method ("javafx.fxml.FXMLLoader.load()Ljava.lang.Object;")
warning IKVMC0136: Reflection.getCallerClass() called from non-CallerID =
method =
("javafx.fxml.FXMLLoader.load(Ljava.io.InputStream;)Ljava.lang.Object;")
warning IKVMC0136: Reflection.getCallerClass() called from non-CallerID =
method =
("javafx.fxml.FXMLLoader.getDefaultClassLoader()Ljava.lang.ClassLoader;")
warning IKVMC0136: Reflection.getCallerClass() called from non-CallerID =
method ("javafx.fxml.FXMLLoader.load(Ljava.net.URL;)Ljava.lang.Object;")
warning IKVMC0136: Reflection.getCallerClass() called from non-CallerID =
method =
("javafx.fxml.FXMLLoader.load(Ljava.net.URL;Ljava.util.ResourceBundle;)Ljav=
a.lang.Object;")
warning IKVMC0136: Reflection.getCallerClass() called from non-CallerID =
method =
("javafx.fxml.FXMLLoader.load(Ljava.net.URL;Ljava.util.ResourceBundle;Ljava=
fx.util.BuilderFactory;)Ljava.lang.Object;")
warning IKVMC0136: Reflection.getCallerClass() called from non-CallerID =
method =
("javafx.fxml.FXMLLoader.load(Ljava.net.URL;Ljava.util.ResourceBundle;Ljava=
fx.util.BuilderFactory;Ljavafx.util.Callback;)Ljava.lang.Object;")
warning IKVMC0136: Reflection.getCallerClass() called from non-CallerID =
method =
("javafx.fxml.FXMLLoader.load(Ljava.net.URL;Ljava.util.ResourceBundle;Ljava=
fx.util.BuilderFactory;Ljavafx.util.Callback;Ljava.nio.charset.Charset;)Lja=
va.lang.Object;")
warning IKVMC0100: Class "jdk.internal.instrumentation.Tracer" not found
When I try to run the output.exe the following runtime occurs:
Graphics Device initialization failed for :=A0 d3d, sw
Error initializing QuantumRenderer: no suitable pipeline found
java.lang.RuntimeException: java.lang.RuntimeException: Error =
initializing QuantumRenderer: no suitable pipeline found
=A0=A0=A0=A0=A0=A0=A0 at =
com.sun.javafx.tk.quantum.QuantumRenderer.getInstance(QuantumRenderer.java:=
280)
=A0=A0=A0=A0=A0=A0=A0 at =
com.sun.javafx.tk.quantum.QuantumToolkit.init(QuantumToolkit.java:221)
=A0=A0=A0=A0=A0=A0=A0 at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java=
:248)
=A0=A0=A0=A0=A0=A0=A0 at =
com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:209)
=A0=A0=A0=A0=A0=A0=A0 at =
com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:678)
=A0=A0=A0=A0=A0=A0=A0 at =
com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.jav=
a:697)
=A0=A0=A0=A0=A0=A0=A0 at =
com.sun.javafx.application.LauncherImpl.lambda$launchApplication$154(Launch=
erImpl.java:182)
=A0=A0=A0=A0=A0=A0=A0 at =
com.sun.javafx.application.LauncherImpl$$Lambda$2/35460724.run(Unknown =
Source)
=A0=A0=A0=A0=A0=A0=A0 at java.lang.Thread.run(Thread.java:953)
Caused by: java.lang.RuntimeException: Error initializing =
QuantumRenderer: no suitable pipeline found
=A0=A0=A0=A0=A0=A0=A0 at =
com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.init(QuantumRend=
erer.java:94)
=A0=A0=A0=A0=A0=A0=A0 at =
com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRende=
rer.java:125)
=A0=A0=A0=A0=A0=A0=A0 ... 1 more
Exception in thread "main" java.lang.RuntimeException: No toolkit found
=A0=A0=A0=A0=A0=A0=A0 at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java=
:260)
=A0=A0=A0=A0=A0=A0=A0 at =
com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:209)
=A0=A0=A0=A0=A0=A0=A0 at =
com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:678)
=A0=A0=A0=A0=A0=A0=A0 at =
com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.jav=
a:697)
=A0=A0=A0=A0=A0=A0=A0 at =
com.sun.javafx.application.LauncherImpl.lambda$launchApplication$154(Launch=
erImpl.java:182)
=A0=A0=A0=A0=A0=A0=A0 at =
com.sun.javafx.application.LauncherImpl$$Lambda$2/35460724.run(Unknown =
Source)
=A0=A0=A0=A0=A0=A0=A0 at java.lang.Thread.run(Thread.java:953)
Can anyone help me to understand what is going wrong?
Many thanks
Rodolfo
---------------------------------------------------------------------------=
---
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot