.jar file won't open.

I’m using Windows 10 and I have several .jar files and they open fine but when I double click on one of them nothing happens. I tired running cmd command “java -jar filename.jar” and I get this:


I’m mostly concerned about this line ‘WARNING: Resource "com/sun/javafx/scene/control/skin/modena/modena.css’ not found." although I’m not sure it that is the problem.

I tried to google this but couldn’t find anything useful.