Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to automate a java program

 
Allen Chan
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 233
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
maybe this post can help out
javaranch forums
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic