Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAR execute

 
Kris Reid
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a way to make a JAR execute with a double click on windows?

The only way I know to execute a JAR is java -jar
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You just have to associate jar files with the command

java -jar "%1"

The precise details of how to do this vary with the whims of our friends in Redmond.
 
Tony Morris
Ranch Hand
Posts: 1608
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Prefer javaw.exe -jar "%*"
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic