use the registry editor to add the path to the .exe file to start goto Run from the Start menu, enter regedit.exe
then go to HKEY_CURRENT_USER / SOFTWARE / MICROSOFT / WINDOWS / CURRENT_VERSION / RUN
on the right side, create a new string value with
name = "anything" and value = java.exe -jar "full path to the file"
click ok to save the registry entry, restart the computer to see the effect
source share