#Why built JAR file doesnt work?
23 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @marble breach! Please use
/closeor theClose Postbutton above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
I mean when you build the project it gives you a jar file right?
Manual build
And why we cant open it
Well how are you opening the JAR?
Double click
Can you try running it from the command line with java -jar?
btw that's the wrong user
What happens when u click the built file?
Is it executing main method
that as well
But I'm mainly interested in what happens when running it with java -jar
You mean from CMD?
yes
I'll try when i get home. Yesterday i tried it wih another program but it didnt work when i type java or javac to console. It says there is no such thing. Is it because i dont have JDK installed?