This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Question on starting a Java program in a Linux environment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Question on starting a Java program in a Linux environment" Watch "Question on starting a Java program in a Linux environment" New topic
Author

Question on starting a Java program in a Linux environment

Bob Ruth
Ranch Hand

Joined: Jun 04, 2007
Posts: 320
I'm not sure whether or not this it the right place, but I did not see anything else that looked like it would be more appropriate.

I have written an extremely small Java utility for my employer. They like it, and want to deploy it on a small handful of systems. Here is the problem, they need it to start up on boot and stay up at all times. It does open a window so it needs to run while window management is up.

I have played around with starting it in both inittab and rc.local and the best that I seem to be able to get is that, when we reboot, it starts , it shows up on the screen, but when we log into their main application window, it disappears.

Has anyone been this route before?

I'd appreciate any tips I can get....


------------------------
Bob
SCJP - 86% - June 11, 2009
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question on starting a Java program in a Linux environment
 
Similar Threads
can closing a window fire an event
Tough Task
(SWT/JFace)Questions about pop-up tooltip in treeviewer
Deploying Servlet in Tomcat 5.0
window.open parent and Child