More Mac Woes

117 views
Skip to first unread message

Nicole Yankelovich

unread,
Jan 31, 2013, 8:18:12 PM1/31/13
to openwon...@googlegroups.com
Java Web Start stopped working for me this afternoon. Apparently I was not alone!


Some time this afternoon, Apple updated a file called XProtect.meta.plist. The new version specifies a minimum version required for plugins. They changed this file in a stealth update to reference a version of Java Web Start that doesn't exist yet. This discussion includes a work-around:

https://discussions.apple.com/message/21090884#21090884

I've included the instructions that worked for me below. These are strictly for advanced users.
Hope this helps others to avoid the panic I faced this afternoon :-)

Nicole.


Instructions for editing 
XProtect.meta.plist

Before you begin, make a backup copy of this file:
 
/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta.plist

In a terminal:
sudu vi /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta.plist
password: [enter your computer's admin password]

The file will open in the vi editor. In the file, comment out the two areas as shown below. The comments start with "<!--" and end with "-->".

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>

<!--
        <key>JavaWebComponentVersionMinimum</key>
        <string>1.6.0_37-b06-435</string>
-->
        <key>LastModification</key>
        <string>Thu, 31 Jan 2013 04:41:14 GMT</string>
        <key>PlugInBlacklist</key>
        <dict>
                <key>10</key>
                <dict>
                        <key>com.macromedia.Flash Player.plugin</key>
                        <dict>
                                <key>MinimumPlugInBundleVersion</key>
                                <string>11.3.300.271</string>
                        </dict>
<!--

                        <key>com.oracle.java.JavaAppletPlugin</key>
                        <dict>
                                <key>MinimumPlugInBundleVersion</key>
                                <string>1.7.11.22</string>
                        </dict>
-->
                </dict>
        </dict>
        <key>Version</key>
        <integer>2028</integer>
</dict>
</plist>


Ric Moore

unread,
Feb 1, 2013, 12:30:52 AM2/1/13
to openwon...@googlegroups.com
On 01/31/2013 08:18 PM, Nicole Yankelovich wrote:
> Java Web Start stopped working for me this afternoon. Apparently I was
> not alone!
>
> https://discussions.apple.com/message/21090162#21090162
>
> Some time this afternoon, Apple updated a file called
> XProtect.meta.plist. The new version specifies a minimum version
> required for plugins. They changed this file in a stealth update to
> reference a version of Java Web Start that doesn't exist yet. This
> discussion includes a work-around:
>
> https://discussions.apple.com/message/21090884#21090884
>
> I've included the instructions that worked for me below. These are
> strictly for advanced users. Hope this helps others to avoid the panic I
> faced this afternoon :-)
>
> Nicole.
>
>
> *Instructions for editing ****XProtect.meta.plist*
>
> /Before //you begin, make a backup copy of this file:/
> /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta.plist
>
>
> /In a terminal:/
> sudu vi
Yeow! Can you install something like nano so you don't have to have a
headbanging session using vi? Nano is crude enough, for console work
over a network, like vi, but is is more like dosedit and user friendly.

vi <cringes> Ric

--
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
http://linuxcounter.net/user/44256.html

Matthew Schmidt

unread,
Feb 5, 2013, 8:33:36 PM2/5/13
to openwon...@googlegroups.com
Since the Java mess, I have updated my Mac to Lion and downloaded the latest Java 7 from Oracle. After doing this, I am not able to successfully launch Wonderland.

After launching the JNLP, the Wonderland client window is displayed, but the window contents are gray. I do not reach the login screen. I am presented with the following error in the Java console. It appears that this is a bug with Oracle's Java 7 and OGL from the brief research I did. Thinking I will try to downgrade to Java 6.

WARNING: Running from Java Web Start. Performing setup.
JNLPClassLoader: Finding library libjogl.dylib
JNLPClassLoader: Finding library libjogl_awt.dylib
Feb 05, 2013 3:27:30 PM org.jdesktop.wonderland.client.jme.JmeClientMain$1 uncaughtException
WARNING: Uncaught exception
java.lang.NoClassDefFoundError: apple/awt/ComponentModel
at com.sun.opengl.impl.JAWT_DrawingSurface.GetDrawingSurfaceInfo0(Native Method)
at com.sun.opengl.impl.JAWT_DrawingSurface.GetDrawingSurfaceInfo(JAWT_DrawingSurface.java:56)
at com.sun.opengl.impl.macosx.MacOSXOnscreenGLDrawable$1.run(MacOSXOnscreenGLDrawable.java:165)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.opengl.impl.macosx.MacOSXOnscreenGLDrawable.lockSurface(MacOSXOnscreenGLDrawable.java:163)
at com.sun.opengl.impl.macosx.MacOSXOnscreenGLContext.makeCurrentImpl(MacOSXOnscreenGLContext.java:57)
at com.sun.opengl.impl.GLContextImpl.makeCurrent(GLContextImpl.java:134)
at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:182)
at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:412)
at javax.media.opengl.GLCanvas.display(GLCanvas.java:244)
at javax.media.opengl.GLCanvas.paint(GLCanvas.java:277)
at com.jmex.awt.jogl.JOGLAWTCanvas.paint(JOGLAWTCanvas.java:243)
at sun.awt.RepaintArea.paintComponent(RepaintArea.java:264)
at sun.lwawt.LWRepaintArea.paintComponent(LWRepaintArea.java:54)
at sun.awt.RepaintArea.paint(RepaintArea.java:240)
at sun.lwawt.LWComponentPeer.handleJavaPaintEvent(LWComponentPeer.java:1277)
at sun.lwawt.LWComponentPeer.handleEvent(LWComponentPeer.java:1165)
at java.awt.Component.dispatchEventImpl(Component.java:4937)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:729)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:688)
at java.awt.EventQueue$3.run(EventQueue.java:686)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:702)
at java.awt.EventQueue$4.run(EventQueue.java:700)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:699)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.lang.ClassNotFoundException: apple.awt.ComponentModel
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 37 more

Nicole Yankelovich

unread,
Feb 5, 2013, 8:54:24 PM2/5/13
to openwon...@googlegroups.com
Matt,

You don't need to downgrade. While Wonderland does not work on Java 7 on Macs at the moment, the Java 6 installation should still be on your computer. Try following the steps here as a work-around:

https://groups.google.com/d/msg/openwonderland/-ZU69XaSKC4/8rLpvu9MCXMJ

We have determined that the best way to fix this problem is to port Wonderland to the newest version of JOGL. An engineer has just started working on the process. I expect it will take several weeks before we have anything ready to test, but we're counting on everyone to help with testing, since this change will impact Wonderland on all platforms.

Let me know if that does the trick for you.

Nicole.
--
You received this message because you are subscribed to the Google Groups "Open Wonderland Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openwonderlan...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Matthew Schmidt

unread,
Feb 5, 2013, 10:20:54 PM2/5/13
to openwon...@googlegroups.com, nic...@yankelovich.ws
Thanks Nicole. I can launch OWL now.

It seems that Apple's Java support is atrocious and getting worse.

dangjavageek

unread,
Feb 22, 2013, 3:55:54 PM2/22/13
to openwon...@googlegroups.com, nic...@yankelovich.ws
I have a couple of things on my mac that won't run on Java 7 yet, minecraft/tekkit launcher among them.  In case you launch things from command line, I have 2 scripts I use that set me up for 6 vs. 7:
% source ~/.bashrc_Java6
JAVA_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)
java version
java full version "1.6.0_37-b06-434"
java full version
% cat ~/.bashrc_Java6
# Java Standard Edition Software Development Kit
export JAVA_VERSION=6
export JAVA_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
export PATH=$JAVA_HOME/bin:$PATH
echo JAVA_HOME=$JAVA_HOME
echo java version `java -version`
echo java full version `java -fullversion`
% source ~/.bashrc_Java7
java version "1.7.0_15"
Java(TM) SE Runtime Environment (build 1.7.0_15-b03)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)
java version
java full version "1.7.0_15-b03"
java full version
% cat ~/.bashrc_Java7
# Java Standard Edition Software Development Kit
export JAVA_VERSION=7
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_15.jdk/Contents/Home
export PATH=$JAVA_HOME/bin:$PATH
echo java version `java -version`
echo java full version `java -fullversion`

I speak for neither Oracle nor Apple, but just myself.  I need Java working on my mac, though, regardless of who I speak for.  8^)

Related: Oracle Java SE Critical Patch Update Advisory - February 2013

pepelr

unread,
Feb 23, 2013, 4:54:36 PM2/23/13
to openwon...@googlegroups.com, nic...@yankelovich.ws
Hi!
I have changed the line
 <string>1.6.0_37-b06-435</string>
to
 <string>1.6.0_37-b06-434</string>

and now it works fine.

Regards.

José.
Reply all
Reply to author
Forward
0 new messages