Archive: how to start java app when windows starts??


how to start java app when windows starts??
hello i have created a java application, and created installer using nsis.
but i want when system turn on, my application should automatically starts, how can i do this??


You could write to registry,something like this :

WriteRegStrHKEY_LOCAL_MACHINE"Software\Microsoft\Windows\CurrentVersion\Run"

"Myapp""$INSTDIR\myexefile.exe"