Bill -

tried your suggestions today...

1
Created a new file "small.j" (stand-alone module)

#!/usr/bin/jc
NB. -- Call the JConsole, put out some lines, then leave...
echo 'this is file ''small.j''...'
echo 'the first 5 cubes are:' , (4j0 ": (^&3) (1 + i. 5))
exit ''

which runs fine. Thanks for the hint; that's been 
something I have been looking for.

2
As for the Java versions, I found this:

Selection     Alternative
------------------------------------------
      1       /usr/bin/gij-4.3
*+ 2       /usr/lib/jvm/java-gcj/jre/bin/java

Martin

>I also use debian, I think sun java is no longer 
>a must to run JWD. newer debian/ubuntu got 2 
>versionis of java, gij and opensdk, the 
>/usr/bin/java is a symlink to either of these 
>java. Type in terminal sudo update-alternatives 
>--config java It will show all java installed, 
>then choose opensdk (or sun if you also download 
>it) to run jwd without patch.  On Thu, 14 May 
>2009, Martin Kreuzer wrote: > On further 
>inspection, the symb > link  /usr/bin/java 
>turned out to point to "gij-4.3"... > Downloaded 
>the latest JavaRE version 6u13 32-bit > *.bin 
>from sun.com; installing it under > 
>/usr/share/java/... (this is Debian) gave me a > 
>new subdirectory .../jre1.6.0_13/... > As soon 
>as I had patched "jwd" with that [full > path to 
>Java] everything went smoothly. > Thanks for the 
>discussion. -- regards, 
>==================================================== 
>GPG key 1024D/4434BAB3 2008-08-24 gpg 
>--keyserver subkeys.pgp.net --recv-keys 4434BAB3 
>唐詩111 
>杜甫  奉濟驛重送嚴公四韻     é 
>送從此別  青山空復情  幾時杯重把 
>昨夜月同行     列郡謳歌惜 
>三朝出入榮  將村獨歸處 
>寂寞養殘生 
>---------------------------------------------------------------------- 
>For information about J forums see http://www.jsoftware.com/forums.htm



---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 090514-0, 14.05.2009
Tested on: 15.05.2009 20:25:01
avast! - copyright (c) 1988-2009 ALWIL Software.
http://www.avast.com



----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to