AlexandrosG
IS-IT--Management
Hi!
I have developed a (non-swing) java application that uses a TrayIcon with a popup menu.
- When i execute the jar with double click everything is ok.
- When i execute the jar through a .bat file (double click the .bat) everything is ok.
- When i execute the .bat file through task scheduler (as the user with which i login) the java application starts but the tray icon is not there!! In this case the process that corresponds to the application is not shown in task manager for the current user (me). It shows only if i choose "Show processes from all users", even though the user name of the task is me again!
Any ideas why this is happening?
I have developed a (non-swing) java application that uses a TrayIcon with a popup menu.
- When i execute the jar with double click everything is ok.
- When i execute the jar through a .bat file (double click the .bat) everything is ok.
- When i execute the .bat file through task scheduler (as the user with which i login) the java application starts but the tray icon is not there!! In this case the process that corresponds to the application is not shown in task manager for the current user (me). It shows only if i choose "Show processes from all users", even though the user name of the task is me again!
Any ideas why this is happening?