File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Android Security Essentials Live Lessons this week in the Android 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]
 
 
subject: how to automate a java program
 
Similar Threads
How to use Windows Task Scheduler to run Java Application
How to I schedule program
Ant and scheduling builds
Full screen mode robot keypresses simulation
Ant and command line args