Setting up H&H on Mac

Forum for alternative clients, mods & discussions on the same.

Moderator: Phades

jonglobe
Posts: 75
Joined: Sat Feb 18, 2012 8:39 pm

Re: Setting up H&H on Mac

Post by jonglobe »

Last login: Thu Aug 15 19:04:52 on ttys000
Christos-MacBook-Air:~ Christo$ /Users/Christo/Downloads/HnH_Ender_x64/run.command ; exit;
Exception in thread "Haven main thread" java.lang.NoClassDefFoundError: com/sun/gluegen/runtime/DynamicLookupHelper
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:792)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
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 java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:792)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
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 java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:190)
at javax.media.opengl.GLDrawableFactory.getFactory(GLDrawableFactory.java:108)
at javax.media.opengl.GLCanvas.chooseGraphicsConfiguration(GLCanvas.java:520)
at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:131)
at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:90)
at haven.HavenPanel.<init>(HavenPanel.java:77)
at haven.MainFrame.<init>(MainFrame.java:159)
at haven.MainFrame.main2(MainFrame.java:272)
at haven.MainFrame.access$100(MainFrame.java:52)
at haven.MainFrame$6.run(MainFrame.java:327)
at java.lang.Thread.run(Thread.java:724)
Caused by: java.lang.ClassNotFoundException: com.sun.gluegen.runtime.DynamicLookupHelper
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 java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 34 more
logout

[Process completed]

Am I right in thinking this means I need to do the same with gluegen?
User avatar
HasseKebab
Posts: 1782
Joined: Sun Mar 06, 2011 8:59 pm

Re: Setting up H&H on Mac

Post by HasseKebab »

yes, you need gluegen. After you have it; should work
 Image
      Image
JOIN THE OFFICIAL H&H DISCORD TODAY

♰ PROUD FORUM MODERATOR 02.01.2024 - 05.10.2024 ♰
jonglobe
Posts: 75
Joined: Sat Feb 18, 2012 8:39 pm

Re: Setting up H&H on Mac

Post by jonglobe »

Where do I get it from? And do I install it into system/lib/java/exts?
User avatar
cobaltjones
Posts: 2725
Joined: Tue Dec 07, 2010 1:27 am

Re: Setting up H&H on Mac

Post by cobaltjones »

gluegen should be part of your haven directory that you unzipped when you installed it.
jonglobe
Posts: 75
Joined: Sat Feb 18, 2012 8:39 pm

Re: Setting up H&H on Mac

Post by jonglobe »

It was already there, yes, but I still get the error.
User avatar
borka
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Setting up H&H on Mac

Post by borka »

cobaltjones wrote:gluegen should be part of your haven directory that you unzipped when you installed it.


:o haven directory ?!? unzipped ?!? installed ?!?
i hope others don't read and get hopelessly confused ;)

In Ender client are libaries for windows OS only...

also the informations and dl url for jogl and gluegen are in this thread (older part) already...
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
jonglobe
Posts: 75
Joined: Sat Feb 18, 2012 8:39 pm

Re: Setting up H&H on Mac

Post by jonglobe »

Do I move them to system/lib/java/exts though?
User avatar
cobaltjones
Posts: 2725
Joined: Tue Dec 07, 2010 1:27 am

Re: Setting up H&H on Mac

Post by cobaltjones »

No. Honestly I don't think it's a gluegen problem, it's just some weird problem that's happening and it lists the gluegen library in part of the error.

Exception in thread "Haven main thread" java.lang.NoClassDefFoundError: com/sun/gluegen/runtime/DynamicLookupHelper
jonglobe
Posts: 75
Joined: Sat Feb 18, 2012 8:39 pm

Re: Setting up H&H on Mac

Post by jonglobe »

So what can I do? (if anything :/)
User avatar
cobaltjones
Posts: 2725
Joined: Tue Dec 07, 2010 1:27 am

Re: Setting up H&H on Mac

Post by cobaltjones »

I don't know really, it's hard to pinpoint the exact issues unless you can actually decipher the error messages.

Here's the old writeup I did about getting Enders set up on a Mac before:

cobaltjones wrote:
Audiosmurf wrote:Might be a foolish question, but is there any way to get the latest version running on a Mac? Been trying to update it on my girlfriend's computer for months to no avail. Any help would be greatly appreciated. :)

There are quite a few steps that I was planning on writing a guide for sometime but I also don't want to uninstall my currently working Enders in order to figure out all the steps necessary.

A few of which are as follows though:

1. Change the commands in your run.bat to follow OSX format. It should look something like this:

Code: Select all

cd Documents
cd Haven
java -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se -r ./res

2. chmod 777 the entire contents of the extracted Haven directory (no idea if this actually matters or not but it's been suggested in the past. It will be one of the things I check when I do an actual writeup)
3. Switch your java version to 32bit. Do this by opening Applications>Utilities>Java Preferences and dragging the 32bit version first.
4. Install JOGL. This is the tricky one. You should just be able to copy the jogl files included with the Enders download as well as these (http://www.java2s.com/Code/Jar/j/Downlo ... saljar.htm) to your SYSTEM/LIBRARY/JAVA/EXTENSIONS folder.

If that's above your head then I'm sorry but that's all the further in detail I can go at the moment. Hopefully you'll be able to get it working.


Note that this was before Lion/Mountain Lion where the Java control panel was accessible. Now you'll simply replace that step with adding -d32 or -d64 to your run.bat (or run.command or whatever) file.

Maybe start fresh and delete the entire Haven folder, download Enders and the latest update and start from scratch going through the list.

Return to “The Wizards' Tower”