Oh right, thanks. I'l look into that. I never knew that how your code could be the problem with creating jar files.
Thanks again
Type: Posts; User: dougie1809
Oh right, thanks. I'l look into that. I never knew that how your code could be the problem with creating jar files.
Thanks again
Yes it can take in a URL, FILE or URI as a String. The code below is the full value of the String:
String song = new File("menu.mp3").toURI().toString();
This interpretation of the String...
Yes that file is in the jar file. I'm not sure how it is reading these files, I just don't understand why the file won't execute when removed from the directory where the jar file was created. For...
Thanks for the reply again.
Because the jar files executes in the same directory where the file was created, I copied the output of the successful result below
Microsoft Windows [Version...
Yes, the jar file does contain all it's resources. As it works ok and executes. But when I move the jar file elsewhere from the directory where it was created, it wont execute. That's my new problem
Thanks for the reply. I actually managed to get the jar executing successfully now by adding each jar file to the class-path in the manifest.
Although now when I copy that jar file to another...
Thanks for the reply.
Well there are exactly 4 jar files that I'm using for javaFX contained in the one jar file I'm trying to create.
I'm not sure how to distribute them separately, so there are...
Hi,
I created a simple quiz program which includes audio MP3 files and image JPG files. Most importantly I used an external package in order to play audio files (JavaFX package) to the quiz...