Problem when running jar file through Windows Scheduler

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • billelev
    New Member
    • Nov 2006
    • 119

    Problem when running jar file through Windows Scheduler

    Hi there,

    I'm a newbie to Java and have come across the following issue:

    I have created a jar file which executes without any problems if I double click on it.

    However, if I try running it from Windows Scheduler, I get the following error message and the code does not run:

    "Java Virtual Machine Launcher
    Could not find the main class. Program will exit."

    Would appreciate it if anyone could help me out with this.
Working...