The following are instructions for building and running Chris Smowton's Java Dasher that runs in a browser to help with the DasherJavaEvaluation.

First download

Install java Compiler

If you don't have the java compiler installed you'll have to do that first. For Ubuntu you can do the following:

  apt-get install sun-java6-jdk sun-java-jre
  restart browser

Building Java Dasher

Create some empty folder, we'll refer to that as DASHER_ROOT, to hold the source, and unzip into that folder. It should end up containing the folders dasher and doc. Compile all java files in dasher, dasher/applet, dasher/applet/font and dasher/net with source path and classpath set to DASHER_ROOT:

  javac *.java -cp DASHER_ROOT -sourcepath DASHER_ROOT

The Ubuntu command is:

  /usr/lib/jvm/java-6-sun- -classpath $(pwd) -sourcepath $(pwd) dasher/*.java dasher/{applet,net,applet/font}/*.java

Create an javaDasher.html file in DASHER ROOT:

    <applet code="dasher.applet.JDasherApplet.class" width="300" height="300">

Open your browser and view javaDasher.html

  firefox javaDasher.html

Alternatively to get the whole thing working in Eclipse, create a new project and import the whole "dasher" folder. That should create packages dasher, dasher.applet, dasher.applet.font and There should be no classes in the default package. Then run dasher.applet.JDasherApplet as an applet.

Projects/Dasher/JavaApplet (last edited 2013-11-22 22:48:56 by WilliamJonMcCann)