The picture below is what my directory looks like:
I'm trying to create an executable jar file for my javafx application StreamingJar.java and I'm getting very frustrated. I created a manifest folder and entered the following line into it: Main-Class: StreamingJar I then went into the command prompt and entered the following statement: jar cfm Streaming.jar manifest.txt *.class
It creates the executable jar file with no problems however when I double click on it nothing happens. When I try to open it through the command prompt I get the following error: java -jar Streaming.jar no main manifest attribute, in Streaming.jar.
I'm confused as to why there is no main manifest attribute in my jar file when I clearly included the manifest file. Can somebody tell me what I'm doing wrong?