Norman, Joey, This is basically what the MSTAT app does.
Download Mstat 5.4 from: http://www.mcardle.wisc.edu/mstat/download/download.html But I did a few experiments running Terminal and I've given myself serious doubts as to whether that "if-fi" statement will behave itself on all Macs. It works on my (modern) Mac, but all is not what it seems. It may be working for the wrong reason. So, speaking for myself, I wouldn't (yet) recommend it as a universal fix for the J602-for-Mac download. I'll need to do some more tests. (But I defer to higher unix authorities). Bill and I will try to work something out. Ian On Sun, Dec 5, 2010 at 5:39 PM, Norman Drinkwater <[email protected]> wrote: > On Intel OSX, the problem is that older versions are only 32-bit, while > later ones have both 32- and 64-bit java. > > On an Intel Mac try this as the jwd script > > #!/bin/sh > osver=`sw_vers -productVersion` > jopt=-d32 > if [ "$osver" \< "10.5" ] > then > jopt='' > fi > cd "`dirname "$0"`/.." > java $jopt -Xss8000000 -Xdock:name=J -Xdock:icon=bin/icons/jred.icns > -jar j.jar "$@" > > Note from the line starting with "java" down, all of the info should be > on a single line. > > Norman > > On 12/5/2010 7:37 AM, Brian Schott wrote: >> Ian et al, >> >> I just checked, and your concern is valid about going back before >> non-intel Macs. When I altered the j602/bin/jwd to include `-d32` the >> launch of J602 failed. So I guess an if...fi is required. Darn. >> >> On Sun, Dec 5, 2010 at 3:01 AM, Ian Clark<[email protected]> wrote: >>> >>> Might the -j32 flag actually be disruptive if you go back before >>> 64-bit java was released? (10.5 was it?) Or on non-Intel Macs? >>> >>> Ian >> > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
