Computing.Net > Forums > Disk Operating System > winAT scheduler

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

winAT scheduler

Reply to Message Icon

Name: Kelly
Date: May 23, 2001 at 09:14:23 Pacific
Comment:

Hi,

I want to schedule a java file to run every wednesday and saturday,

I know how to do this, but what extension do I give the java file? I've compiled it using javac filename.java and have got a .class file from this. do I just schedule
'filename' with no extension or what??

thanks,
Kelly.



Sponsored Link
Ads by Google

Response Number 1
Name: Michael
Date: May 24, 2001 at 06:23:16 Pacific
Reply:

Kelly,

I am pretty sure windows uses Internet Explorer to run Java programs (you will need the Java Run-time Environment plugin, or JRE, installed into IE). So use AT to schedule Internet Explorer to run and then provide it with the full pathname... something like....
iexplore c:\java_programs\program.class
This is all theory for me but it might work. The other thing you might be able to use to run the java program is windows scripting host. Do a search on the internet and you should be able to find some info about it (I know for a fact windows scripting host supports JavaScript, not sure about pure Java). Also note that if windows has a program properly associated with the .class extension it should be able to run it with at without providing it an application like Internet Explorer (which may automatically be configured if you install the Java Run-time Environment).

Hope that helps,
-Michael


0

Response Number 2
Name: Abbas
Date: July 23, 2001 at 23:45:59 Pacific
Reply:

Kelly,
First you have to tell if you are trying to run a java Applet or a Java Application. if you want to run a java application, you need to have the Java Runtime Environment (JRE) installed. You can download it from www.javasoft.com, or if you have the Java development kit (JDK), you can install the JRE from within it, it comes as a part of it.

You can use the following statement:
c:\>java MyClassName
to execute a java application from the command prompt.

If you want to run a Java Applet, you can use the jview tool which comes with the internet explorer OR you can use the appletviewer tool which comes with the JRE and the JDK.

I would recommend you use appletviewer instead of jview.

Wish you the best of luck.



0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: winAT scheduler

Date output to variable. Scheduler www.computing.net/answers/dos/date-output-to-variable-scheduler/15566.html

Xcopy www.computing.net/answers/dos/xcopy/1956.html

Batch file inconsitent when run on schedule www.computing.net/answers/dos/batch-file-inconsitent-when-run-on-schedule/2691.html