This technique is worth knowing about:

http://obvioushints.blogspot.com/search/label/J
   Running JLang on Snow
Leopard<http://obvioushints.blogspot.com/2010/01/running-jlang-on-snow-leopard.html>
 by Alvaro Videla
Thursday, January 14, 2010
  Running JLang on Snow
Leopard<http://obvioushints.blogspot.com/2010/01/running-jlang-on-snow-leopard.html>
  For this new year I started playing with J <http://www.jsoftware.com/>, a
language that I discovered last year –but that I've never found time to play
with–, while installing it, I had the problem that I didn't run on Snow
Leopard.

After asking on twitter on how to solve this problem,
@kaleidic<http://twitter.com/kaleidic>pointed me to this
guide<http://www.jsoftware.com/jwiki/System/Installation/Mac/MacSnowLeopardInstallBug>,
which tells you to modify the Java preferences to run in 32 bit mode. What I
didn't liked from that approach is that it seems to modify the general
preferences of Java. After some searches I found that there's an option for
the *java* executable *-d32*, that makes it run in 32 bits.

To apply this option simply go to the place where you installed *J* and
there edit *bin/jwd*.

In that file you will find a line like this:

java -Xss8000000 -Xdock:name=J -Xdock:icon=bin/icons/jred.icns -jar
bin/j.jar "$@"

which you have to modify to:

java -d32 -Xss8000000 -Xdock:name=J -Xdock:icon=bin/icons/jred.icns -jar
bin/j.jar "$@"

And that's it, then simply double click on the J icon and it should work as
expected.



On Mon, Aug 15, 2011 at 1:11 AM, Devon McCormick <[email protected]> wrote:

> Hi everybody -
>
> I'm playing with my mom's new i-mac, trying to install J to run it under
> emacs but having two problems: one is that J 6.02 (GUI flavor) fails to run
> with message "Load library /Applications/j602/bin/libjnative.jnlib failed".
>  I can run J console but I'm unable to open an emacs (v. 23.3) shell to
> invoke this because I get an error telling me "Output file descriptor of
> *ftp devon@C* is closed".
>
> Does anyone have some advice about either of these problems?
>
> Thanks,
>
> Devon
>
> --
> Devon McCormick, CFA
> ^me^ at acm.
> org is my
> preferred e-mail
> ----------------------------------------------------------------------
> 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