I noticed a problem with the jdk 7u4 build for OS X - bin/appletviewer
doesn't run. When I try to launch it, I get:
dyld: Library not loaded: /usr/X11/lib/libX11.6.dylib
Referenced from:
/Library/Java/JavaVirtualMachines/jdk1.7.0_04/demo/jfx/Java2D/../../../bin/appletviewer
Reason: Incompatible library version: appletviewer requires version
10.0.0 or later, but libX11.6.dylib provides version 9.0.0
Trace/BPT trap
bin/appletviewer worked fine in 7u4b228.
Running the appletviewer class directly ('java sun.applet.appletviewer')
does seem to work.
I saw it mentioned in MACOSX_PORT-524 that the X11 toolkit is not the
default in JDK7 on Mac. Perhaps the appletviewer executable is
requesting the X11 toolkit?