On Mon, 09 Feb 2009, Björn Helgason wrote:
> I fully agree with you that such a facility would be important to have.
> I usually create .bat file in such cases because of this lack of .exe
> creation.
> 
> I have now also rexx and python as well as Dyalog APL and am thinking of
> using those.
> 
> Dyalog APL allows you to create .exe in exactly the way I would like to
> create J .exe
> In Dyalog APL you export your application and it creates a .exe executable.
> 

You may just rename j.exe to myprog.exe and place at minimum the
following files in the same folder

myprog.exe
j.dll
profile.ijs

where profile.ijs is your script.

just run j.exe(myprog.exe) from that directory to start.
Alternatively double click the myprog.exe or drag a shortcut of
myprog.exe to desktop.

This is what used to be in j504, in J6 it is slightly complicated in
that you should create a ./bin directory under the target folder and
put the above mentioned files there.

If you feel uncomfortable to let end users peeking the source code,
just apply lock script to the profile.ijs (do not rename it to
profile.ijl, must still name it as profile.ijs).

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩256 盧綸  塞下曲四首之一
    鷲翎金僕姑  燕尾繡蝥弧  獨立揚新令  千營共一呼
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to