Java GUI
From RFID Guardian
Environment setup for java
NOTE: Skip this if you don't want to build the Java modules.
If you don't have java, javac, jar etc, get them from Sun: java.sun.com. If you build on Cygwin, get a native Windows Java. Let the environment variable JAVA_HOME point to your Java installation. For Cygwin, that would be something like
| $ export JAVA_HOME="/cygdrive/c/Program Files/Java/jdk1.5.0_10" |
(or whatever version).
You also need Sun's Java Wireless Toolkit, WTK. It provides j2me libraries and a cell phone emulator, on Windows as well as on Linux. Download it from java.sun.com/products/sjwtoolkit.
If you don't have ant, get it from http://ant.apache.org. Let the environment variable ANT_HOME point to the ant installation.
Build the Java jar for the Cell Phone User Interface
The Java software is part of the RFID Guardian software tree. The Java software is built automatically if the RFID Guardian software is configured to include the Java software.
An ant build.xml is provided in ~MRG/java. It is invoked from the top-level make if Java support has been configured in. This build.xml creates a .jar and a .jad in ~MRG/build/. These can be uploaded to a cell phone, or fed to a cell phone emulator.


