What is JTides?
JTides is an advanced, accurate, easy-to-use tide and current prediction program. JTides predicts tides and currents using a large database of US and worldwide locations. It graphs its predictions in many useful ways. JTides' predictions are in agreement with a sampling of published and on-line tide tables. Because JTides contain data for so many sites (over 2000 in the default configuration), you can obtain tidal forecasts for places where there are no printed tables available. And if you want, you can print a calendar of tidal events from JTides' calendar display.
JTides is a Java MDI (Multi-Document Interface) application - this means many locations can be graphed at the same time. You may also print graphic tidal charts, export databases, or create sets of HTML pages, each summarizing a month of tidal forecasts (see this example). These HTML pages can be downloaded into your PDA for a quick tidal reference in the field, or published on your Web site.
Download JTides.jar. Create a folder (directory) "JTides". Copy the JTides.jar file to the new folder "JTides". Create a new program object or copy it from the file below. Specify the path and file name: "[drive: JTides]\JTides\JTides.cmd". In the tabpage Session check the boxes "OS/2 window", "Running as an icon" and "Close Window to end program". In the tabpage General you can enter the name "JTides".
The used cmd file
JTides works well with Open JDK in OS/2-eCS. I have created an JTides.cmd file with the following contents;
@echo off set BEGINLIBPATH=[drive: java]\JAVA160\bin set path=[drive: java]\JAVA160\bin set CLASSPATH= [drive: JTides] cd [drive: JTides]\JTides java -Duser.home=[drive: JTides]\JTides -jar JTides.jar 2>JTides_bugs.txtI use 2 separate folders (directories), one for Java and one for JTides with the files created by this program. The references used in the cmd file;
should be replaced with real drive letters. Save the file and name it JTides.cmd or use the commandfile from the distribution. This file is copied to the JTides folder (directory). Furthermore, different paths?, adjust according to your needs. The addition "2>JTides_bugs.txt" ensures that errors are saved in the file "JTides_bugs.txt". The 2 in "2>" is not a typo!
In the file you can find the above command file (all drive letters are on set to C:) and an OS/2 JTides icon: JTides-eCS.zip.
revision December 28, 2012