Running a .jar file with Java

Solved
Kolijah -  
mamiemando Posted messages 33541 Registration date   Status Modérateur Last intervention   -
Hello,
I downloaded the JMOT software. I extracted the files from the compressed folder.
I now want to run the .jar file (I downloaded the Java Platform SE binary) but when I try to run the file with Java, a black window opens for 1 second and then closes, and then nothing happens...
What should I do to run this .jar file?

2 réponses

KX Posted messages 19031 Status Modérateur 3 020
 
Hello,

Open a command prompt and type
java -jar C:/.../file.jar
this will prevent the window from closing.
There is probably an error that will be displayed, and you will be able to retrieve it to possibly correct it.
--
Trust does not exclude control.
2
danycoco Posted messages 91 Status Membre 8
 

Hello,

I'm bringing up this old topic. I have exactly the same problem today, which doesn't seem to be resolved. JMOT is not worth trying to start. I've installed Java, I ask to open it with Java, but nothing does.

Who can help me?

Thank you

0
mamiemando Posted messages 33541 Registration date   Status Modérateur Last intervention   7 933 > danycoco Posted messages 91 Status Membre
 

Hello, run your program with the command java -jar C:/.../file.jar, as explained in the message #1. If the command doesn't work, detail your problem in a new discussion thread, as this one is closed.

1