#How to execute a jar on opening of a program

1 messages ยท Page 1 of 1 (latest)

steep spearBOT
#

<@&987246487241105418> please have a look, thanks.

steep spearBOT
#

While you are waiting for getting help, here are some tips to improve your experience:

Code is much easier to read if posted with syntax highlighting and proper formatting.

If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.

Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.

versed talon
#

cause its the 1st, change the shortcut detail and done

#

cause 95% of the pc users only know how to start things with them, it should work

shadow blaze
#

You could also compile ur jar to a exe and set the icon of the application to the new exe, so then there is no weird shortcut symbol on the buttom of the icon. For doing ur jar into a exe you could use Launch4j

#

You could also use jpackage, but then you will need to install it first on the pc (and its just more complex to setup smooth)

#

If you want that the real application start and ur jar just works in behind you can just start a new process which execute the real application on start

#

(Imagine saying how to hack and do bad things step by step lol)

#

But i think its still important to know all the grey zone things

versed talon
#

it is april fools, quick change of the shortcut and the icon after is enough ๐Ÿ˜‰