LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-28-2003, 08:21 AM   #1
SuperSadSmile
Member
 
Registered: Sep 2002
Location: Italy
Distribution: MDK9
Posts: 45

Rep: Reputation: 15
java app as service


I'm a newbie java programmer.
I built a didactic work which pretends to be a simple proxy server
So I was wondering how I can set it up to work as service in my linux box.

In fact I have 3 pc in my LAN, and a linux box runs all the time as firewall-gateway for my internal net.

I really would like to see my linux firewall runs my little java proxy app too, so that it starts as service as the linux gateway starts.

Any ideas would be really appreciated!

SuperSadSmile
 
Old 12-31-2003, 11:09 AM   #2
SuperSadSmile
Member
 
Registered: Sep 2002
Location: Italy
Distribution: MDK9
Posts: 45

Original Poster
Rep: Reputation: 15
Unhappy

Came on!!
I can't believe nobody is able to do this...

All i want is just to make a java
application starts as the pc starts.

Is that so complicated to be done??
Jeez, I hope not !! I need it !

SuperSadSmile
 
Old 12-31-2003, 11:39 AM   #3
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Have you tried creating a simple rc script? Just put whatever command you use to start the app manually into your script. Be sure to include the environment variables (ie JAVA_HOME) that you need.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
run app as service MiniBubba Mandriva 3 09-19-2004 07:51 AM
Java Applet to App - Help Please redhatnoob Programming 2 05-03-2004 12:23 PM
java app flickers ianunderwood Linux - Software 1 04-11-2004 04:19 PM
help with running a java app Soggy Linux - Software 7 11-20-2003 07:57 PM
java print service rno Linux - Hardware 0 10-06-2003 05:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration