<%@ page import="java.io.File" %> <%@ page import="java.util.Comparator" %> The SWORD Project <% String spsection="software"; %> <%@ include file="/include/sword_header.jsp" %> <% final String baseDir = "/home/ftp/pub/sword/frontend/win32/"; // get latest version information String majorDirs[] = new File(baseDir).list(); java.util.Arrays.sort(majorDirs); final String latestMajor = majorDirs[majorDirs.length-1]; String minorFiles[] = new File(baseDir + latestMajor).list(); java.util.Arrays.sort(minorFiles, new Comparator() { public int compare(Object o1, Object o2) { Date lastModified1 = new Date(new File(baseDir + latestMajor + "/" + o1).lastModified()); Date lastModified2 = new Date(new File(baseDir + latestMajor + "/" + o2).lastModified()); long diff = (lastModified1.getTime() - lastModified2.getTime()); return (diff > 0) ? 1 : ((diff < 0) ? -1 : 0); } }); String latest = minorFiles[minorFiles.length-1]; String version = latest.substring(latest.lastIndexOf("-") + 1, latest.lastIndexOf(".")); Date lastModified = new Date(new File(baseDir + latestMajor + "/" + latest).lastModified()); %>

The SWORD Project for Windows

Software

Installation Instructions

  1. "> Download the latest version of The SWORD Project for Windows.
  2. Save the install file somewhere on your computer that you will remember, i.e. 'My Documents' folder.
  3. Once the file is done downloading, double click the 'My Computer' icon on the desktop and find the install file in the folder you downloaded it to. Double click it to start the install program.
  4. Follow the instructions on the screen.

If you need more help, click here for a walkthrough with pictures.

<%@ include file="/include/sword_footer.jsp" %>