Jai Java Source Interpreter

What is Jai

Jai is an Java source interpreter written in Java. It runs as an applet in Java-enabled internet browsers (Netscape 4.5, IE 4.0), as a Java application or packed with any other Java application. Jai parses full Java syntax and executes most expressions and statements without bytecode generation. Since Jai is small (~120K) and compatible with Java 1.1.4 or higher, it runs over the Internet.

Summary of Jai features

  • Pure Java.
  • Full Java syntax, type check, flow control, object creation, method invocation and exception handling.
  • Generic access to all Java libraries with the reflection package.
  • Includes class and object inspector.
  • It has a step mode to show the program flow.
  • Runs as applet, application or within other applications or applets.
  • No type creation (class, interface, methods).

    Who can use Jai?

    If you are a:
    Beginner.
    Start the applet and play around.

    Java Student.
    Work with the prepared examples and do the tests.

    Java Teacher or Author
    Improve the attached Java examples in Jai and get credits or write your own perfect Guide to Learn Java with Jai.

    Java Application Programmer
    Develop and test difficult code sequence and method calls with Jai before looping through the edit-compile-debug cicle.
    Learn how to use other libraries.
    Use Jai to initialise your application from an init file with Java syntax.
    Pack Jai to your application and use it as a lightweight debugger.

    Java Tools Developer
    Implement Jai into your IDE or whatever tool you build.

    Java Guru
    Try to answer my desperate questions.

    Jai Fan
    Send me a postcard. The first one from any country gets a postcard from Zuerich in return . Tell your friends about www.Jai.ch.

    Environment

    This package is tested with
  • Netscape 4.5, 4.7 (Java version 1.1.5)
  • IE 4.0, 5.0 (Java version 1.1.4) ***
  • appletviewer 1.1.7, 1.1.8, 1.2.x ***
  • java 1.1.7, 1.1.8 ***
    on Windows 95 and Windows NT.
  • (*** Java 1.1.7, 1.1.8 : partly security problems with reflection.)
  • (*** IE 4.0, 5.0 : security problems when loaded from local file system.)