JavaFX Runnable jar file doesn't work

Diskutiere Runnable jar file doesn't work im AWT, Swing, JavaFX & SWT Bereich.
R

Rubberduck

Hello Together
I still have a small problem I wanted to create an executable program for my app, so that people without Eclipse can start the app, too. So either export as exe or Jar file. After some googling I found out that in eclipse a program can be exported as Jar file. This is what I did. But when I try to start the jar file I get an error message which is probably related to my user library JavaFX. It seems that this error message can not be given when exporting. How could you solve this when exporting?

Error massage in Eclipse console:
Code:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector (file:/Users/damiankrebs1/.m2/repository/com/sun/xml/bind/jaxb-impl/2.2.11/jaxb-impl-2.2.11.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
PastedGraphic-1.png
Bildschirmfoto 2020-07-29 um 16.18.57.png

Thanks for helping,
Rubberduck
 

Anhänge

R

Rubberduck

Can anyone generate from my Applikation a runnable jar file? That would be very nice.

Thanks a lot,
Rubberduck
 

Anhänge

Thema: 

Runnable jar file doesn't work

Passende Stellenanzeigen aus deiner Region:
Anzeige

Neue Themen

Anzeige

Anzeige
Oben