The Java Module Manager
This module will allow you to write modules in Java for use with the Litestep shell.
There are a few simple steps you need to follow in order for this module to function properly.
- You must have the Java 2 JRE installed on your system
- You must have the jre/bin/classic directory in your system PATH
- You will need to have java modules to use :)
There are also a few simple steps to configure your system to use this module.
- Add a line to your step.rc to load the module, as in:
LoadModule javamm.dll
- Add a line to your step.rc to specify the classpath to load modules from. You will need to include the javamm.jar file in your classpath, as well as any other jars or directories you wish to load modules from. Example:
JavaClassPath "C:\Java\javamm.jar;C:\Java\testmodule.jar"
- For each module you wish to load, add a LoadJavaModule line as follows:
LoadJavaModule com/headius/Testmodule
Finally, there are a few steps you need to follow to implement your own Java modules.
- Your class must implement the litestep.Module interface
- You can use the litestep.Litestep class and its methods to access the Litestep API functions
- Your class must be accessible in the class path specified above.
Here are a few links to help you get started!
Please email me with any problems you might have. Thanks!
- Charles Oliver Nutter (Headius)