>>  <<  Ndx  Usr  Pri  Phr  Dic  Rel  Voc  !:  wd  Help  User

Runtime Applications

Testing a Runtime Application
Since runtime applications have no session manager, there is no way to debug using runtime. Therefore to test the application, first create it using only standard ijs script files. Create an icon to load J with the /noprofile parameter, that loads the application, for example:

   c:\j401\j.exe /noprofile system\examples\demo\runtime.ijs

Once you are sure the application works correctly, you can then rebuild it into an ijr runtime file.

Runtime Enquiry
Your application can determine if it is executing under the runtime system using the command wd'qrt' which returns a 1 if so, otherwise 0.

Packaging a Runtime Application
Directory system\examples\runtime contains the files required to build a runtime setup. File bldjrt.bat builds a simple runtime setup directory.

Macintosh
The Macintosh doesn't have command line parameters so there is no /rt parameter. If J is started by double-clicking a script file with a suffix of .ijr, then J is started as a runtime application. The ijr file does not have to be an encoded ijr file.

There is no system\examples\runtime directory for the Macintosh.


>>  <<  Ndx  Usr  Pri  Phr  Dic  Rel  Voc  !:  wd  Help  User