File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes General Computing and the fly likes how to automate a java program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "how to automate a java program" Watch "how to automate a java program" New topic

how to automate a java program

Allen Chan
Ranch Hand

Joined: Jun 07, 2002
Posts: 64
Hi all,
I want to schedule a task on windows to automate a java program, how should I do that? I know how to schedule a .exe program like vb compiled code, but how do I automate the java class program?
"java *.class", not argu is needed in my case.
Gabriel White
Ranch Hand

Joined: Mar 02, 2003
Posts: 233
maybe this post can help out
javaranch forums
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
I'm not terribly familiar with the Windows Task Scheduler, but I'm pretty sure it's possible to schedule a bat file. I think you could also schedule an executable JAR file.

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
I agree. Here's the link:
subject: how to automate a java program
It's not a secret anymore!