whats the deal with windows 7 task scheduler?
Hello all!
So far I have used this forum twice to help me make a program that opens up internet explorer, goes to facebook, and logs me in automatically. Everyone here has been super helpful. The program ran great in eclipse, it ran great as a separate .jar file when i double clicked it, but when I tell windows 7 task scheduler to run the .jar file when windows starts, all of a sudden it comes up with an error message saying it cant find the main class! I tried setting a timed start of the .jar file to see if it was just happening when windows started, but the same thing happened. Does task scheduler not run .jar files, or did I just not export my program right? I am at a total loss, so anything will help.
Thanks!
it runs from the command prompt
Quote:
Originally Posted by
DarrylBurke
Does the program run if you execute it from the command prompt, but from a different folder/directory?
Code:
C:\>java -jar path/to/folder/abc.jar
db
It does run from the command prompt, and it also runs from the command prompt from a different folder.