Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

opening jar file in command window  RSS feed

 
Ann Smith
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I recently wrote an (almost) bug-free mini text based adventure game for a final project, and am rather proud of it may I say.

On the other hand, I wanted to send it to my brother who uses a different JDK than I (Code Warrior, I use BlueJ). I made it into a executable jar file, but neither he nor I know how to open it in a command windo. What exactly does one type?

Thanks!
 
M Beck
Ranch Hand
Posts: 323
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i usually just type "java -jar filename.jar" to start one of those.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!