aspose file tools*
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 Soft Skills 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
Author

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.
Thanks,
Gabriel White
Ranch Hand

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

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]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to automate a java program