Open Source download the Java source code...
MathToWeb is open source software licensed under the GNU General Public Licence (version 3 - or, at your option, any later version) as published by the Free Software Foundation (see www.gnu.org), and you may redistribute and/or modify it under these terms.
|Download the Java source code for MathToWeb >>>||MathToWeb_Source_Version_302.zip (ver. 3.0.2, 496.3 KB ) * latest release (Sep 27, 2011)|
The compressed source file (download it above) contains two directories, Source and Class (see the
figure below), that are important with regard to compilation. After decompressing the file, you should see a
directory structure that resembles the following:
If you don't already have a version of the Java sdk (software development kit), you can get one here -> java.sun.com.
If you are running Ubuntu, it is best to install this via the Package Manager.
Search 'jdk' in the System->Administration->Synaptic Package Manager - you're looking for something that
looks like sun-java6-jdk.
javac -d ./../Class *.java
jar cmf mathtoweb_manifest.txt mathtoweb.jar *.* images/
java -jar mathtoweb.jar -about(command-line) OR
java -jar mathtoweb.jar(GUI)
I have included a shell script in the Source/ directory
called compileMW_CL.sh. It can be used (at the command-line) to compile and sign the MathToWeb source
code, all by way of a single command: > ./compileMW_CL.sh (it is assumed that the current directory is Source/).
This file will have to be modified slightly to suit the reality of the directory structure on your computer.
(If you are on Windows, you will have to convert this script to a batch file.)