To use the Java Web Start application on this page, you should have a recent Java installed,
preferably 32-bit JRE
(Java Runtime Environment
In many parts of the world, DST (Daylight Saving Time) will end on 2012-11-03 at 2
AM. If you launch SetClock, now, (or later) it will accurately set your PC (Personal Computer)’s clock to accurate current
time from an atomic clock on the web permitting Windows to automatically set your PC’s clock back one hour at
the precise instant.
SetClock is a Java Web Start program that sets your PC
clock accurately by probing an atomic clock on
the web. The atomic clock knows the precise UTC time, including
leap seconds. If you are running Vista/W2008/W7-32/W7-64,
then you must be
running as an administrator or the SetClock program will be able to display the time,
but will not be able to set it.
Click the orange launch button to run SetClock. Then click
Get Time, then Set Time, then Exit.
SetClock is also available with Java source to download. SetClock is not necessary for
Vista/W2008/W7-32/W7-64, which has its own atomic clock setting procedure, though you can use SetClock if you want, or if you suspect your OS (Operating System) is not maintaining your clock’s
You will get the most accurate results if you don’t have a lot of Internet activity running at the same
For SetClock to work, your PC clock must be configured to the correct time zone, and automatic
daylight saving must be on. You can veryify they are set properly by left clicking the time in
the bottom right corner of the screen ⇒ clicking change date and time settings ⇒ Clicking change time
The clock inside your computer runs on UTC/GMT time, independent of your time zone or whether daylight saving is in
effect. You must not manually adjust it for daylight saving changes. Your computer software will
automatically change the displayed time to account for daylight saving so long as you have configured the correct
time zone in the control panel. In any case, SetClock will undo the damage caused by someone fiddling with your
If, SetClock, the above Set Clock signed Java Web Start application does not work…
Get New Java Get New Browser
Install or Repair JWS
- Often problems can be fixed simply by clicking the reload button on your browser.
- This signed Java Web Start application needs 32-bit (not 64-bit) Java 1.6 or later.
For best results use the latest 1.7.0_40.
In the Java Control Panel, configure medium security to allow vanilla unsigned applets to run.
- You also need a recent browser.
- It works under any operating system that supports Java e.g. W2K/XP/W2003/Vista/W2008/W7-32/W7-64/W8-32/W8-64/W2012/Linux/LinuxARM/LinuxX86/LinuxX64/Ubuntu/Solaris/SolarisSPARC/SolarisSPARC64/SolarisX86/SolarisX64/OSX
- You should see the Java Web Start above looking much like this screenshot. If you don’t, the following hints should help you get it working:
- For this Java Web Start to work, you must click grant/accept to give it permission to set your PC’s hardware clock.
If you refuse to grant permission, the program may crash with an inscrutable stack dump on the console complaining about AccessController.checkPermission.
- Optionally, you may permanently install the Canadian Mind Products code-signing certificate so you don’t have to grant each time.
- If the above Java Web Start appears to freeze-up, click Alt-Esc repeatedly to check for any buried permission dialog box.
- If you have certificate troubles, check the installed certificates and remove or update any obsolete or suspected defective certificates. The only certificate used by this program is mindprodcert2013dsa.cer.
- Even if JWS (Java Web Start) complains that the certificate used to sign this application is “invalid”, please click grant/accept anyway.
- If the above Java Web Start does not work, or if it fails to automatically install the latest versions, try running:
on the command line, then click show applications and delete any of the unworking or obsolete applications. Then click show resources and delete any of the unworking or obsolete resources. Then try launching the application again.
- If the above Java Web Start does not work, or if it fails to automatically install the latest versions, try uninstalling the JWS application in the control panel or uninstall it with:
on the command line, and try launching the application again.
- If reinstalling does not work, especially if JWS appears to be using an obsolete *.jnlp file stuck in cache, try bulk uninstalling all JWS apps with:
on the command line, and try launching the application again.
- If the error message says “program not found” the problem is likely a damaged association between *.jnlp files and the javaws.exe program. To learn how to repair the association, click the Repair button below.
- For Firefox, select open with: Java(TM) web start launcher.
- To ensure your Java is up to date, check with Wassup. First, download it and run it as an application independent of your browser, then run it online as an Applet to add the complication of your browser.
- If the above Java Web Start does not work, check the Java console for error messages.
- If the above Java Web Start does not work, you might have better luck with the downloadable version available below.
- This signed Java Web Start application requires modules from the Microsoft C++ Express 10 run time library. Normally they should be automatically statically included. However, if someone recompiled the JNI C++ code without the /MT option, this code will not work unless the vcredist_x86.exe Microsoft C++ Express 10 run time library is preinstalled. You can download it from Microsoft. The symptom of this problem is an UnsatisfiedLinkError or a side-by-side configuration error.
Be sure to get the 2010 version. The older versions have the same name.
- If you are using Mac OS X and would like an improved Look and Feel, download the QuaQua look & feel from randelshofer.ch/quaqua. UnZip the contained quaqua.jar and install it in ~/Library/Java/Extensions or one of the other ext dirs.
- If you are using Microsoft Internet Explorer 7, 8 or 9, try another browser. Seriously. Microsoft has taken great pains, over and over, to screw up Java and every other multi-platform standardisation.
- If you are using Microsoft Internet Explorer 7, 8 or 9, you must click to allow blocked content permission for Active X to run. This also gives permission to Java to run. Click the Information bar, and then click Allow blocked content. Unfortunately, this also allows dangerous ActiveX code to run. However, you must do this in order to get access to perfectly-safe Java Applets running in a sandbox. This is part of Microsoft’s war on Java. Don’t put up with it! Use a different browser.
- If you are using Microsoft Internet Explorer 9, makes sure the Java Plug-In SSV helper add-in is installed and enabled.
If it is not, try reinstalling the Java JRE.
- If you have Windows 7 64-bit
and Internet Explorer 64-bit,
in theory you can use 64-bit Java,
but I never been able to get it to work.
- Try upgrading to a more recent version of your browser, or try a different browser e.g. Firefox, SeaMonkey, Safari or Avant.
- If you still can’t get the program working click HELP for more detail.
- If you can’t get the above Java Web Start working after trying the advice above and from the HELP button below, have bugs to report or ideas to improve the program or its documentation, please send me an email at.
Unfortunately SetClock only works for Windows computers since it has to use a small piece of
JNI (Java Native Interface) native code to actually set the system clock. If you are
willing to port the tiny piece of JNI code to your platform, I would be happy to incorporate it so that SetClock works on your platform too.
Click the dark blue WebStart button at the top of the page to run the Setclock program.
Java source, compiled class files, jar and documentation to run on your own machine as a Java Web Start application.
Runs on any OS that supports Java e.g. W2K/XP/W2003/Vista/W2008/W7-32/W7-64/W8-32/W8-64/W2012/Linux/LinuxARM/LinuxX86/LinuxX64/Ubuntu/Solaris/SolarisSPARC/SolarisSPARC64/SolarisX86/SolarisX64/OSX.
First install the most recent Java.
To install, extract the zip download with WinZip,
(or similar unzip utility) into any directory you please,
often J:\ — ticking off the
use folder names option.
To check out the corresponding source from the Subversion repository, use the TortoiseSVN repo-browser to
access setclock source in repository with [Tortoise] Subversion client on wush.net/svn/mindprod/com/mindprod/setclock/.
To run the JWS application, modify the jnlp file to look in the right place for its files, then type:
adjusting as necessary to account for where the jar file is.
download ASP PAD XML program description for the current version of SetClock.
Full source included.
You may even include the source code, modified or unmodified
in free/commercial open source/proprietary programs that you write and distribute. Non-military use only.
available on the web at:
optional Replicator mirror
on local hard disk J:
Please email your
feedback for publication
letters to the editor, errors, omissions, typos, formatting errors, ambiguities, unclear
wording, broken/redirected link reports, suggestions to improve this page or comments to
If you want your message, your name or email kept confidential,
not considered for public posting, please explicitly specify that.
Unless you state otherwise,
I will treat your message as a letter to the editor that I may or may not publish
After that, it will be too late to retract it.
If you disagree with something I said, especially when sending an ad-hominem attack,
a rant composed mainly of obscenities or a death threat, please quote the offending passage
and cite the web page where you found it, tell me why
you think it is wrong,
and, if possible, provide some supporting evidence.
I can’t very well fix erroneous or ambiguous text if I can’t find it.
Your face IP:
||You are visitor number