Cannot launch game (I am on a macbook)

The worst monsters in the Hearthlands warp the fabric of space and time..
User avatar
Coriander
Posts: 277
Joined: Sat Jun 06, 2009 10:52 pm
Location: minnesota

Cannot launch game (I am on a macbook)

Post by Coriander »

I reviewed the Forum(s) but I thought I would also check in personally and see for myself how bad the lag (still) is, but I am stopped by this error:

javax.media.opengl.GLException: java.lang.NoClassDefFoundError: apple/awt/ComponentModel
at com.sun.opengl.impl.Java2D.invokeWithOGLContextCurrent(Java2D.java:296)
at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:266)
at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:410)
at javax.media.opengl.GLCanvas.display(GLCanvas.java:244)
at haven.HavenPanel.uglyjoglhack(HavenPanel.java:349)
at haven.HavenPanel.run(HavenPanel.java:378)
at java.lang.Thread.run(Thread.java:722)
Caused by: 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$DisplayOnEventDispatchThreadAction.run(GLCanvas.java:452)
at sun.java2d.opengl.OGLRenderQueue$QueueFlusher.run(OGLRenderQueue.java:234)
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)
... 10 more

Sorry, but I have no clue what that all means.

I am on a 2.4 GHz Intel Core 2 Duo MacBook Pro, OS X Version 10.8.2 with 4 GB of RAM.
I am up to date on Java.

Along with the error message I also get the background music and a blank (all white) window.

I suspect it is my OS - Mountain Lion causing the problem. It has been buggy since I installed it. I wish like hell I had stuck with Snow Leopard. :(

Any help is very much appreciated.

Good Gaming to you!

Coriander
When the all cutting blade meets the uncuttable stone - at times, the blade is sharpened
User avatar
sabinati
Posts: 15527
Joined: Mon Jul 13, 2009 4:25 am
Location: View active topics

Re: Cannot launch game (I am on a macbook)

Post by sabinati »

is it possible to update your video card drivers on a mac? it looks like it is having some problem either loading open gl or drawing something with it.
User avatar
Coriander
Posts: 277
Joined: Sat Jun 06, 2009 10:52 pm
Location: minnesota

Re: Cannot launch game (I am on a macbook)

Post by Coriander »

Thanks Sabinati!

I will check that out and update the driver(s) if possible.

It is really good to know that you are still around. You are a great asset, and appreciate your advice!

Cor
When the all cutting blade meets the uncuttable stone - at times, the blade is sharpened
User avatar
sabinati
Posts: 15527
Joined: Mon Jul 13, 2009 4:25 am
Location: View active topics

Re: Cannot launch game (I am on a macbook)

Post by sabinati »

it's good to see you here too. i hope you solve your problem.
User avatar
Coriander
Posts: 277
Joined: Sat Jun 06, 2009 10:52 pm
Location: minnesota

Re: Cannot launch game (I am on a macbook)

Post by Coriander »

Well that was interesting. There is a driver update for my puny GT 320M graphics card, but you need to go directly to NVidia to get it AND disable the firewall to open and run it. It is designed to work with my new OS Mountain Lion.
Unfortunately, it does not correct the problem.
I get the same error message and blank window, but this time, no music.

Still, it was a good idea. I seriously doubt Apple will ever bother to include this in one of their Software Updates, and it might resolve some of the issues I am having with this new OS.

In reviewing the Forums, it appears like H&H is essentially unchanged. So if I cannot get the game to run, it is not a such a big deal. Still, it would be nice to confirm this through first hand experience. So any other suggestions/ideas would be appreciated.

Thanks, and good gaming to you.

Cor
When the all cutting blade meets the uncuttable stone - at times, the blade is sharpened
User avatar
borka
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Cannot launch game (I am on a macbook)

Post by borka »

Well Coriander i think it's a problem with Jogl - not sure if latest stable Jogl 2 rc 10 is working with 10.8.2 - i only know it's not with 10.8.1...and rc11 is still in testing...(btw. i got no newer mac here)

Sadly i have some RL stuff to do so it will take some time to check that - you might give Ender a try and get the jogl and gluegen yourself (http://jogamp.org/deployment/jogamp-cur ... atforms.7z) and drop natives for mac in Ender folder. The Ender included windows one should give a clue which you'll need. Don't forget to grab the Ender update.zip too and unpack into your Ender folder.

some (older) threads for custom clients on mac:
viewtopic.php?f=27&t=22801
viewtopic.php?f=27&t=17147
Avatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
User avatar
Lman8786
Posts: 574
Joined: Thu Sep 17, 2009 5:16 am
Location: America

Re: Cannot launch game (I am on a macbook)

Post by Lman8786 »

I have a MacBook Pro 2012 Version and it works just fine for me and I run Enders (Mac Edition) 32 bit with no trouble.... could give that a try he has a Mac version made already I found it on the forums a while back the only thing that you can't do on the Mac version is see Idem Quality before holding your mouse bar over it and no radar, I would think just running bootcamp would be ideal....that's what I do since Mac always has troubles running any program now a days!
User avatar
borka
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Cannot launch game (I am on a macbook)

Post by borka »

i think the link to Mavc version is somewhere in the urls i posted - but i could mail it to Cor too
Avatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
User avatar
Lman8786
Posts: 574
Joined: Thu Sep 17, 2009 5:16 am
Location: America

Re: Cannot launch game (I am on a macbook)

Post by Lman8786 »

Ah ok great
User avatar
borka
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Cannot launch game (I am on a macbook)

Post by borka »

We might come back to you for help as i don't know much about MacOSX
Avatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head

Return to “Bugs”