Jar file will not start with double click

I know that you can accuse me of being a hoax, but to be honest, I don’t know what to do next. I spent hours trying to find my solution and found nothing. Shish. Zero.

Anyway, this is my problem: when I double-click on my jar executable, it shows the hourglass cursor for a second, and then it disappears, leaving me with nothing. I reinstalled JDK and JRE 2 times and nothing happens. Here is my manifest file:

Manifest-Version: 1.0
Class-Path: .
Main-Class: gedr.proj.Paint.Frame

I tried to run the application through the command line, but did not understand how to do it.

Tell me if you need more information or tell me what to do. thanks in advance

EDIT: if I try "java -jar PaintV2.jar" in cmd, it will return

Error: Unable to access jarfile PaintV2.jar

when i run 'ftype | find "jarfile", it returns

jarfile="C:\Program Files\Java\jre7\bin\javaw.exe" -jar "%1" %*
+4
2

cmd

java -jar jarfile.jar

, ,

+4

java -jar jar_name.jar.

- , .

+1

Source: https://habr.com/ru/post/1524792/


All Articles