Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Java Program that runs in the background

  Asked By: Carolina    Date: Apr 02    Category: Java    Views: 791

Can Anyone let me know about how to create a Java Program (.class
file) that would be running on a windows or Linux machines Machine
and makes a internet web service call every 3 hours.



2 Answers Found

Answer #1    Answered By: Anthony Smith     Answered On: Apr 02

no, but you can run java  programs with javaw, which helps a little if you want a
background app.

on linux  machines, you just run the java program  with '&' at the end of the
command line to demonise the pogram.

Answer #2    Answered By: Edna West     Answered On: Apr 02

In Linux you can use "cron" with java  and you don't
have to forget CLASSPATH.

Didn't find what you were looking for? Find more on Java Program that runs in the background Or get search suggestion and latest updates.