ian-clarks-imac:~ ianclark$ ls -l /system/library/frameworks/javavm.framework/versions total 48 lrwxr-xr-x 1 root wheel 5 22 Dec 11:41 1.3 -> 1.3.1 drwxr-xr-x 3 root wheel 102 21 Jul 00:35 1.3.1 lrwxr-xr-x 1 root wheel 10 22 Dec 11:41 1.5 -> CurrentJDK lrwxr-xr-x 1 root wheel 10 22 Dec 11:41 1.5.0 -> CurrentJDK lrwxr-xr-x 1 root wheel 5 22 Dec 11:41 1.6 -> 1.6.0 drwxr-xr-x 7 root wheel 238 22 Dec 11:41 1.6.0 drwxr-xr-x 8 root wheel 272 22 Dec 11:41 A lrwxr-xr-x 1 root wheel 1 22 Dec 11:41 Current -> A lrwxr-xr-x 1 root wheel 3 22 Dec 11:41 CurrentJDK -> 1.6 ian-clarks-imac:~ ianclark$ ls -l /system/library/frameworks/javavm.framework/versions total 48 lrwxr-xr-x 1 root wheel 5 22 Dec 11:41 1.3 -> 1.3.1 drwxr-xr-x 3 root wheel 102 21 Jul 00:35 1.3.1 lrwxr-xr-x 1 root wheel 10 22 Dec 11:41 1.5 -> CurrentJDK lrwxr-xr-x 1 root wheel 10 22 Dec 11:41 1.5.0 -> CurrentJDK lrwxr-xr-x 1 root wheel 5 22 Dec 11:41 1.6 -> 1.6.0 drwxr-xr-x 7 root wheel 238 22 Dec 11:41 1.6.0 drwxr-xr-x 8 root wheel 272 22 Dec 11:41 A lrwxr-xr-x 1 root wheel 1 22 Dec 11:41 Current -> A lrwxr-xr-x 1 root wheel 3 22 Dec 11:41 CurrentJDK -> 1.6 ian-clarks-imac:~ ianclark$
2nd block is for 64 bit. Back home after the holiday. Happy Xmas. Ian On Wed, Dec 23, 2009 at 4:13 PM, bill lam <[email protected]> wrote: > mer, 23 Dec 2009, Ian Clark skribis: >> 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. > > I suspect /Current/ is a symlink to another folder, try > > ls -l /system/library/frameworks/javavm.framework/versions > > for 32 and 64 bit java preferences to see if any changes? > > -- > 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
