taJCwrapper 0.7

taJCwrapper is a GUI for SUN's javac Java compiler, designed for PocketPCs. It needs the SUN Personal Java VM.

The program has two functions:

  1. Redirect the compiler's output (stdout, stderr) to the GUI's TextArea
  2. Prevent the compiler from exiting the Java VM after the compilation

Usage

The program passes all parameters to javac which must be in the classpath.
Example:
\Programme\Java\bin\pjava.exe -classpath "/Programme/javac" -file "\Speicherkarte\taJCwrapper.jar" -verbose -classpath "/Speicherkarte/Daten/Ewe;/Programme/javac/Ewe-Classes" "\Speicherkarte\Daten\Ewe\test\Main.java"

The first classpath is for pjava to run the javac. It must contain the Java library classes for the execution of javac.

The second classpath defines the paths javac should search for classes during compilation. To compile Java programs, it must contain the Java library classes. To compile Ewe programs, it must contain the Ewe library classes.

How to pass all these parameters if you don't have a console on Pocket PCs? Use my tPad programmer's editor. It features user defined buttons (like 'Compile'). Check it's documentation to see how to configure the extension file accordingly.

Installing SUN's Personal Java VM and the javac Java compiler

You should now have a directory structure like this (only partially shown):
\Programme\javac
  |
  +-- Ewe-Classes
  |     |
  |     +-- ewe
  |     |
  |     +-- ewex
  |     |
  |     +-- java
  |
  +-- java
  |     |
  |     +-- applet
  |     |
  |     +-- awt
  |     |
  |     +-- ...
  +-- sun
        |  
        +-- tools
              |
              +-- ...