
Building an executable that invokes Java methods, require the jvm.lib
file (provided in the jdk) that is compatible with Visual C++.

You must run install.bat under Windows, ./setup under Unix, from the
root of the scriptol distribution (c:\scriptol for example).


To build an executable from JavaDemo or other Scriptol program invoking
java (JavaGui not still tested), you need for:

- JDK 1.4 installed.
- The jvm.dll file in the path (run setpath.bat or setPathD.bat)
- The jvm.lib file in the current directory (copy it from jdk1.4\lib
  directory).
- libsolms.lib, gcms.lib, soljvms.lib gcms.dll included in the scriptol
  archive.
- This lib must be added to the list of libraries in the solc.ini
  file or .cfg file (Example JavaDemo.cfg).
- The JAVA_HOME (uppercases) environment variable must be set.
  If it is set, the scriptol interface to jvm will be able to read it and to
  set the paths the jvm requires.
- If you have problems with the paths...
  You can view the path the generated program use by this option in
  JavaDemo.ini
  verbose=yes
  If you don't agree with the displayed paths, you can change them in the
  same ini file by adding these options after the "verbose=yes" line:
  classes =
  home =
  library =
  * classes is the path of your classes, usually:   "."
  * home is commonly:   c:\jdk1.4
  * library is the the path of the runtime, as:     c:\jdk1.4\jre\lib
  (Look at the jni manual for more infos).

I have tested the compiler on non-gui programs for now.
I you want to distribute the binary executable, you don't need for the
jvm.lib file, but users must configure the path and the jvm.ini file

If you want work seriously with the jvm, and need for the source of
jvm.cpp that Scriptol is using, it is included on the disk of the
professionnal edition of the compiler (jvm.hpp is included in this
free archive).
