For Mac: I suggest you take a look at:
http://www.jsoftware.com/jwiki/IanClark/iCan

It may suit your purpose, like it does for many of mine (i.e. for
something that looks like an app you can fire-up from the Dock) -- but
maybe not if you want to sell your executable. Then you will have to
bundle-up a cut-down J installation, your script and everything else
you need into a single folder which the Mac allows you to turn into an
app. With a bit of imagination you'll see how to do that from the
above link. You know of course that you can look inside any Mac app as
if it were a folder by:

right-click > Show Package Contents

It helps to examine someone else's professional-looking app. You can
download for free: Mstat 5.4 from:
http://www.mcardle.wisc.edu/mstat/download/download.html
Most instructive when you look inside it.

DISCLAIMER: please don't take this as an invitation to
reverse-engineer Mstat without permission or acknowledgement.


2011/11/2 David Vaughan <[email protected]>:
> So how would I go about doing it? (Mac and Windows).
>
> ___________________________
>
> David Vaughan
>
> On 29 Oct 2011, at 11:53, Björn Helgason <[email protected]> wrote:
>
>> It depends on the os
>>
>> In linux you can make a file executable
>>
>> In windows you can create a bat file
>>
>>
>>
>> 2011/10/29 David Vaughan <[email protected]>
>>
>>> How can an executable be made from J, assuming it is possible?
>>>
>>> ___________________________
>>>
>>> David Vaughan
>>> ----------------------------------------------------------------------
>>> For information about J forums see http://www.jsoftware.com/forums.htm
>>>
>>
>>
>>
>> --
>> Björn Helgason, Verkfræðingur
>> Fornustekkum II
>> 781 Hornafirði,
>> t-póst: [email protected]
>> gsm: +3546985532
>> twitter: @flugfiskur
>> http://groups.google.com/group/J-Programming
>>
>>
>> Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans
>>
>> góður kennari getur stigið á tær án þess að glansinn fari af skónum
>>          /|_      .-----------------------------------.
>>         ,'  .\  /  | Með léttri lund verður        |
>>     ,--'    _,'   | Dagurinn í dag                     |
>>    /       /       | Enn betri en gærdagurinn  |
>>   (   -.  |        `-----------------------------------'
>>   |     ) |         (\_ _/)
>>  (`-.  '--.)       (='.'=)   ♖♘♗♕♔♙
>>   `. )----'        (")_(") ☃☠
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to