For my java project on Eclipse, I added libraries to my project and the code runs fine (I open a web page with JCEF chromium and perform JSBridge).
I exported my project to a .jar and and when i want to execute my .jar with this command
"Path to java jdk11" -jar "Jar_Name".jar
I get this error
Exception in thread "main" java.lang.NoClassDefFoundError: org/cef/CefSettings
I don't understand why, indeed, when I start my project under Eclipse, it works.
I'm using Java 11, I exported as Jar files, Do you have any tips on how to make my .jar work on the command line?