This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP 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