Results 1 to 4 of 4
- 07-26-2011, 09:07 AM #1
Member
- Join Date
- Jul 2011
- Posts
- 15
- Rep Power
- 0
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!
- 07-26-2011, 10:07 AM #2
Does the program run if you execute it from the command prompt, but from a different folder/directory?
dbJava Code:C:\>java -jar path/to/folder/abc.jar
- 07-26-2011, 10:19 AM #3
Member
- Join Date
- Jul 2011
- Posts
- 15
- Rep Power
- 0
- 07-26-2011, 10:58 AM #4
Moderator
- Join Date
- Apr 2009
- Posts
- 10,438
- Rep Power
- 16
Similar Threads
-
How to best deal with large file uploads ?
By HeapSpace in forum Advanced JavaReplies: 36Last Post: 06-08-2011, 07:32 PM -
Task Scheduler
By fabs in forum Threads and SynchronizationReplies: 3Last Post: 04-21-2009, 11:17 AM -
How to interact with Windows Task Scheduler within Java Application
By tiburblium in forum New To JavaReplies: 0Last Post: 04-12-2009, 04:16 PM -
Executing java program using windows scheduler
By kanitha in forum New To JavaReplies: 0Last Post: 03-21-2009, 09:16 AM -
I need to be able to deal with functions like matlab
By romina in forum New To JavaReplies: 1Last Post: 08-07-2007, 05:37 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks