Eclipse and JavaFX - Runnable Jar not running

Kevin Rushforth kevin.rushforth at oracle.com
Tue Mar 30 15:49:22 UTC 2021


I'll second Alan's point about redirecting this to a different mailing list.

The only thing I'll add is that the exception suggests that the native 
JavaFX libraries cannot be found.

-- Kevin


On 3/30/2021 8:44 AM, Alan Bateman wrote:
> On 30/03/2021 16:33, AmnoJeeuw wrote:
>> I am trying to deploy a runnable jar for my JavaFX project, but after 
>> a long research I have not been able to do so. Can anybody suggest a 
>> link that shows hot to do create a JavaFX 15.0.1 runnable jar file 
>> under Eclipse.
>> This problem did not exist when using JavaFX 8.x, but now the 
>> runnable just does not run, what am I doing wrong?
>>
>> I have seen some YouTube videos that show how to successfully do 
>> this, but they are using IntelliJ, I would rather not switch to 
>> IntelliJ 'cos I am fun of Eclipse. However, if switching to IntelliJ 
>> is the only solution, I'd do so.
>>
>> Please see attached file for error report.
>
> If the stack trace is to believed then it looks like the JavaFX 
> classes are being loaded from the class path. I think the more recent 
> JavaFX release has code to detect that. In any case, it would be 
> better to this to the JavaFX or Eclipse mailing lists as I don't think 
> this is a JDK issue.
>
> -Alan.



More information about the discuss mailing list