Bill, I've no real idea what I'm doing here...
(1) I open "Java preferences.app" and ensure that preferred Java is 64bit. There's two terminal apps: X11.app and terminal.app. The latter looks a bit more friendly. I run it and type: Last login: Wed Dec 23 14:29:15 on ttys000 ian-clarks-imac:~ ianclark$ ls -l 'which java' ls: which java: No such file or directory ian-clarks-imac:~ ianclark$ ls -l `which java` lrwxr-xr-x 1 root wheel 74 22 Dec 11:41 /usr/bin/java -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java ian-clarks-imac:~ ianclark$ Right, that gives me a path. I navigate to that folder using Finder. I see file 'java' is a "Unix executable". I drop it onto TextEdit. It appears to contain machine code, not a script. It is 73 KB -- a bit small to be anything but a wrapper, wouldn't you say? (2) Back to "Java preferences.app" and make it 32bit. Last login: Wed Dec 23 14:32:36 on ttys000 ian-clarks-imac:~ ianclark$ ls -l `which java` lrwxr-xr-x 1 root wheel 74 22 Dec 11:41 /usr/bin/java -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java ian-clarks-imac:~ ianclark$ ...nothing seem to have changed. (3) The file called "jwd" is in folder: Applications/j602/bin/ I open Terminal.app again and type: Last login: Wed Dec 23 14:41:00 on ttys000 ian-clarks-imac:~ ianclark$ cd Applications/j602/bin -bash: cd: Applications/j602/bin: No such file or directory ian-clarks-imac:~ ianclark$ cd /Applications/j602/bin ian-clarks-imac:bin ianclark$ ./jwd ian-clarks-imac:bin ianclark$ ...and J starts up, correctly. I quit J and I get the last line above: a bare prompt. No error messages. (4) I go back to "Java Preferences.app" and set 64bit again. Then I turn to the still-open terminal and try it again. I get a messagebox from J: "Load library /Applications/j602/bin/libjnative.jnilib failed." I press OK. The terminal now looks like this: Last login: Wed Dec 23 14:41:00 on ttys000 ian-clarks-imac:~ ianclark$ cd Applications/j602/bin -bash: cd: Applications/j602/bin: No such file or directory ian-clarks-imac:~ ianclark$ cd /Applications/j602/bin ian-clarks-imac:bin ianclark$ ./jwd ian-clarks-imac:bin ianclark$ ./jwd ian-clarks-imac:bin ianclark$ ...no error messages Tell me what next to do. I've got hold of a UNIX manual and I'll bone-up on it. Ian On Wed, Dec 23, 2009 at 12:48 AM, bill lam <[email protected]> wrote: > mar, 22 Dec 2009, Ian Clark skribis: >> ... I've just tried it. It doesn't work. J attempts to open because >> the Dock icon bounces once or twice, but nothing happens after that, >> no error message, nothing. (So I've set it back to "java" and J now >> runs ok again.) >> >> I guess if I knew the real name the 32 bit Java executable has (for >> the present!) -- or how to find it -- that would be the neatest way to >> go. But not being a Mac / X11 / Unix jock I don't know how to proceed. > > I suppose you can first make mac using 32-bit java as default. Open > terminal then type > ls -l `which java` > to the real name. Then change back to 64-bit java default. > > To see possible error message, open terminal again > and cd to the folder containing that jwd and type > ./jwd > > Just my wild guess. > > -- > regards, > ==================================================== > GPG key 1024D/4434BAB3 2008-08-24 > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
