The minimum files you need for a runtime-only installation are:
JRE 1.4.2 or later (Java Runtime Environment - which includes java.exe/javaw.exe and the rt.jar files which are required to run any Java-based application)
isrun.jar from the isCOBOL installation lib folder (isrun.jar is the same as iscobol.jar but does not include the isCOBOL compiler)
A properties file containing the isCOBOL license key (e.g. iscobol.license.2010)
Your application .class files (or put them into a .jar file using the jar utility that comes with the JDK)
Any other third-party .jar or other files that your application requires
There are many ways to create a launcher for your application. Veryant has tested and recommends Launch4j (free) and exe4j (commercial).
Or you can instruct the user to install Java from http://java.com/download/ and then send them an executable JAR file (See "isCOBOL Getting Started Guide : Working with isCOBOL : Packaging Applications and Executing Using a Jar File" for more information).
Or you could manually create your own distribution that includes the JRE. You can either include the JRE installer (e.g. jre-6u21-windows-i586.exe). Or you can simply include the necessary files.
For example, on Windows you can create a new folder named myapp with the following subfolders:
Copy all of the folders and files
Copy your COBOL program .class files and your
iscobol.properties file which contains your license key and other isCOBOL runtime framework properties
Then in the
myapp folder you can create a desktop shortcut to run the program with the following target value:
%windir%\system32\cmd.exe /c jre\bin\javaw.exe -cp lib\isrun.jar;classes MYPROGRAM
Leave the "Start in" field blank to set the folder containing the shortcut to be the current working directory.
You can avoid a console window from popping up by choosing "Minimized" from the "Run" drop-down.
You can change the icon by pressing "Change Icon" and looking for icons in %windir%\system32\shell32.dll.
If you make sure that the JRE is installed on the machine, then you can specify %SystemRoot%\system32\javaw.exe in the shortcut target field. For example,
%SystemRoot%\system32\javaw.exe -cp lib\isrun.jar;classes MYPROGRAM
The above methods will allow you to install your application folder anywhere on the machine.
If you know the absolute path to your directory structure you can use it in the shortcut target field. For example,
C:\myapp\jre\bin\javaw.exe -cp lib\isrun.jar;classes MYPROGRAM
In this case you would set "Start in" to
As you can see there are many options. Please contact Veryant Support for further assistance.