Mac OS 10.9

The worst monsters in the Hearthlands warp the fabric of space and time..

Mac OS 10.9

Postby Connorses » Wed Dec 31, 2014 12:49 pm

I recently tried to install this game (this is my first time trying to play it) on my Macbook (OS 10.9), and after adding a security exception for Java the game opened without giving me security problems, however, now when it tries to start up it displays a Haven and Hearth logo on screen, a popup says it's verifying the game and then it immediately brings up an error saying a problem has occurred, and a bug has been reported. The error window displays the following error log:
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:745)
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:232)
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:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 10 more

And the app does not close, but nothing else happens after this error. Any help in getting the game running is appreciated, as I was unable to find any Mac OSX threads on the forum.
Image WARNING: The above post may have been edited multiple times, due to proofreading. Image
User avatar
Connorses
 
Posts: 4
Joined: Wed Dec 31, 2014 12:15 pm

Re: Mac OS 10.9

Postby borka » Wed Dec 31, 2014 3:34 pm

What Java version?

if you don't know type the following in a Terminal window:
/Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java -version
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
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Mac OS 10.9

Postby Connorses » Wed Dec 31, 2014 7:46 pm

Alright, this is what the command gives me.
Should I try running it in a different version?

java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)
Image WARNING: The above post may have been edited multiple times, due to proofreading. Image
User avatar
Connorses
 
Posts: 4
Joined: Wed Dec 31, 2014 12:15 pm

Re: Mac OS 10.9

Postby borka » Wed Dec 31, 2014 8:28 pm

that's ok - i guess you'd better try with a custom client like Ender - so you don't need to run the jnlp and we can swap the jogl libaries if needed

http://www.havenandhearth.com/forum/vie ... 75#p165075

create a folder called Ender, download the updater.jar and drop it in that folder
https://github.com/EnderWiggin/haven-up ... pdater.jar

then check this
Image

run updater.jar - it grabs the need files into the folder and when finished starts the client

report back please - in the next step we'll create a run.command

be aware that i don't run a Mac
User avatar
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Mac OS 10.9

Postby Connorses » Fri Jan 02, 2015 4:52 am

Right, I ran the updater and it downloaded files, and automatically started the client. However, it's a blank, white window.
Image WARNING: The above post may have been edited multiple times, due to proofreading. Image
User avatar
Connorses
 
Posts: 4
Joined: Wed Dec 31, 2014 12:15 pm

Re: Mac OS 10.9

Postby borka » Fri Jan 02, 2015 8:27 am

ok we try different - download this please - leave your existing Ender folder untouched

http://ul.to/8h6hnhxt

Hassekebap MAC Ender 32 Bit (21MB .zip format) for 32 Bit Java (checked and uploaded by me)
free dl with 30 seconds wait time and low speed (50kb/s)

after you downloaded and extracted copy the updater.jar from Ender folder into and run it (necessary to get the correctt libs)

if updater starts the game correctly next would be to edit run.command and change -d32 to -d64 to suit your 64 Bit Java and not having to use updater.jar to start the game

Code: Select all
#!/bin/bash
cd `dirname "$0"`
java -d64 -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se -r ./res

if you encounter blank screen with run.command edit out
Code: Select all
-r ./res


if still blank you might check for OsX Updates (mainly for graphic driver)

Sorry for the inconvinience but as Apple does it their ways (like not symlinking with JRE but with JDK) it's hard to see through for non Macians ;)
User avatar
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Mac OS 10.9

Postby Connorses » Fri Jan 02, 2015 7:12 pm

Well, thanks for all the tips. It still doesn't run on my laptop, but it ran on another computer with an older version of OSX. I made a bed out of tree branches and an axe which has no obvious use! :L
Image WARNING: The above post may have been edited multiple times, due to proofreading. Image
User avatar
Connorses
 
Posts: 4
Joined: Wed Dec 31, 2014 12:15 pm

Re: Mac OS 10.9

Postby borka » Fri Jan 02, 2015 7:42 pm

nice you got it running somehow :D
well with skill lumberjacking the axe will get usefull - later on when hunting boar and bear much more ;)
User avatar
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap


Return to Bugs

Who is online

Users browsing this forum: No registered users and 4 guests