3
I’m having a problem running a jar file. that I made.
When I click on run nothing just happens, no window opens, no error message or anything.
In the folder of Meta-inf has the file MANIFEST.MF containing only Manifest-Version: 1.0
.
The name of PACK
is REDE
and the class that owns the main
I’m looking forward to chatserver
.
What I must do to be executed?
How did you generate this jar? Was the via command line?
– Math
Reinstall java, and try again.
– CypherPotato
What do you mean "reinstall Java"? @cypherpotato
– Math
.jar is a Java executable, sometimes the error may be in your Java...
– CypherPotato
Just so you know, you’ve tried running from the command line
java -jar arquivo.jar
? If yes, what does it show on the console and what happens after you do it? If you runjava -version
, what is shown? With which compiler the JAR was generated?– Victor Stafusa
Some exception may be occurring. Try to do what @Victorstafusa said: run by command line and see what it shows on the console.
– Dener