java - Double click .jar file to launch it in command line -


i'm trying make 1 of command line utilities little more user friendly. of co-workers don't mind using utility cli, navigating bit of pain (to them). i'd rather not go every computer , set shortcut in cli so:

is there way make .jar file launch command line utility command prompt (preferably powershell?) tried searching google , stack overflow having hard time making headway... direction appreciated.

i somehow imagine using desktop, not sure how work.

maybe need make swing based console redirect output , input. here links found in simple web search. (i've never used these before)

and open source project here @ swing-console.

edit:

another option. if distribute application run-me.bat file?

@echo off java -jar my-console-app.jar 

you can change title.


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -