Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reg. How to execute a thread based java program as a Windows Service to get a system tray icon

 
jude paulraj
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I try to execute a java program as a windows service to place a system icon.
i have used javaservice wrapper (wrapper_win32_3.0.5) to make it happen. As a result it creates a services,
When i try to start the service it shows the below mentioned info.

The VisionApp Sample Application service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service

Suugest me to start the service to get an icon in the system tray.
Expecting valuable suggestions.


Regards,
Jude
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does your Java program do? Apparently, when Java Service Wrapper started your Java app, your Java app apparently exited.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic