Java jar file not running

meme

I have compiled my jar file using jar cmf manifest.mf SysInfo.jar *.class and got no errors, but when I try to execute the file by clicking on it nothing happens. I don't even get an error pop up. But when I run the jar using the console it will execute perfectly.

What can I do to make the file run by clicking it?

Sven G.

Try starting it via console using

java -jar yourFile.jar

Don't forget to cd in the directory your .jar file is located before you do this.

EDIT: Sorry, you already said it works like that. Try right click open with.. and then choose open with javaw.exe If that also doens't work you need to provide more information.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Java problem - java, Jar file Statmetrics is not running

From Java

Java - How to replace a running jar file

From Java

Running a JAR file without directly calling `java`

From Dev

Test if application is running in a jar file in Java

From Dev

Running a java -jar command from a batch file

From Dev

Java properties file in jar not found when running jar

From Java

Running JAR file on Windows

From Java

Running a Java program from the command line that depends on a jar file?

From Java

Running java from its built Jar file (the alternative way)

From Java

Running java from its built Jar file (the alternative way)

From Java

Running java runnable JAR

From Dev

How to see Java executable jar file now running and stop jar file from GUI or notification window?

From Dev

Running a jar file that has an image

From Java

Running a compiled Jar file in Jenkins

From Dev

NoSuchFileException when running jar file

From Dev

.JAR Executable file not running properly

From Java

include external jar when running java -jar

From Java

running scala apps with java -jar

From Dev

Jar file as agent in java

From Java

Java creating .jar file

From Java

Java Applet in JAR File

From Java

Apache poi java: Image not showing in document when running JAR file in another computer

From Java

Can I set Java max heap size for running from a jar file?

From Dev

How to resolve "java.lang.NoClassDefFoundError:" while running a Jar file built using IntelliJ IDE?

From Dev

java.lang.ClassNotFoundException in spring boot when running jar file - Library is added

From Dev

Same Java code returns different result running from Netbeans and -JAR file

From Dev

"No jar file system provider found" trying to create a shrink Java image with jdeps and jlink for running Minecraft

From Dev

Jar file not working (filenotfoundexception when running in cmd)

From Dev

Running python script from jar file

Related Related

  1. 1

    Java problem - java, Jar file Statmetrics is not running

  2. 2

    Java - How to replace a running jar file

  3. 3

    Running a JAR file without directly calling `java`

  4. 4

    Test if application is running in a jar file in Java

  5. 5

    Running a java -jar command from a batch file

  6. 6

    Java properties file in jar not found when running jar

  7. 7

    Running JAR file on Windows

  8. 8

    Running a Java program from the command line that depends on a jar file?

  9. 9

    Running java from its built Jar file (the alternative way)

  10. 10

    Running java from its built Jar file (the alternative way)

  11. 11

    Running java runnable JAR

  12. 12

    How to see Java executable jar file now running and stop jar file from GUI or notification window?

  13. 13

    Running a jar file that has an image

  14. 14

    Running a compiled Jar file in Jenkins

  15. 15

    NoSuchFileException when running jar file

  16. 16

    .JAR Executable file not running properly

  17. 17

    include external jar when running java -jar

  18. 18

    running scala apps with java -jar

  19. 19

    Jar file as agent in java

  20. 20

    Java creating .jar file

  21. 21

    Java Applet in JAR File

  22. 22

    Apache poi java: Image not showing in document when running JAR file in another computer

  23. 23

    Can I set Java max heap size for running from a jar file?

  24. 24

    How to resolve "java.lang.NoClassDefFoundError:" while running a Jar file built using IntelliJ IDE?

  25. 25

    java.lang.ClassNotFoundException in spring boot when running jar file - Library is added

  26. 26

    Same Java code returns different result running from Netbeans and -JAR file

  27. 27

    "No jar file system provider found" trying to create a shrink Java image with jdeps and jlink for running Minecraft

  28. 28

    Jar file not working (filenotfoundexception when running in cmd)

  29. 29

    Running python script from jar file

HotTag

Archive