0
Important explanations:
- I have an application created in JAVA;
- An "EXE" executable was created using Launch4j;
- I have the need to run this application after windows startup.
FIRST ATTEMPT
A shortcut has been created at C:\Users\Elfab\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
This option did not prove efficient with my application.
SECOND ATTEMPT
Created an entry in windows records in the keys below
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
PROBLEM
The above options were not efficient, but with other applications this method proved efficient. The program does not start and generates error log
QUESTION
- There are other ways to make an application start with windows?
- Java programs need JVM to work, can this be a JVM dependency problem? may JVM not have started before trying to open my java application?
- If the dependency problem exists, have some way to launch the application only after the JVM has its initialized dependencies?
And what would be a solution that "proves to be efficient"? What is the problem of the forms you tried?
– Renan Gomes
@Renan sorry if it was unclear, the problem is that the application does not start and does not generate LOG errors. An efficient solution is one that can launch the application with windows.
– Elyel Rubens da Rosa