Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Run Java applications By double click

why i can`t run my java compiled applications with double click? my applicatins just run in cmd (java -jar: my app.jar) plz help me

like image 984
Milad Sobhkhiz Avatar asked Dec 10 '22 12:12

Milad Sobhkhiz


1 Answers

You can make a batch file to run your command. This way it will work without the need to make associations to .jar files. If it is a windows app then start it with javaw.exe.

like image 96
Bojan Milenkoski Avatar answered Dec 23 '22 12:12

Bojan Milenkoski