#.jar Package

1 messages · Page 1 of 1 (latest)

cosmic meteor
#

I made a simple gui that let's me transfer files from a folder to another folder and I packed it to .jar file using the command jar cfm in the command prompt but when I double click the .jar file that I made it shows a pop up title Java Virtual Machine Launcher with a message A Java Exception has occured but when I run in in the command prompt using java -jar then the name of the .jar file it works perfectly fine I'm sure that it has a MANIFEST.txt file. I'm just confuse

inner lilyBOT
#

<@&987246487241105418> please have a look, thanks.

inner lilyBOT
serene kraken
#

yeah seems like the problem isnt your jar, but your java installation

cosmic meteor
#

oh ye it works now but will the jarfix always start whenever I turn on my pc or it doesn't execute when I don't double click it?

#

thanks btw

marble linden
#

You only need to run it once.

cosmic meteor
#

okay okay thank you