Games in Progress: 3 | Players logged in: 4 | Players Registered: 37413 | Games Played Total: 68647
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Mule won't run on Java 1.7 on a Mac  (Read 1561 times)
djp3
Mule Forum Newbie
*
Posts: 2


View Profile
« on: June 07, 2013, 19:05 »

Hi I love MULE!  I was on the airplane and tried to play with my daughter after a hiatus and it didn't work in play local mode.

As best as I can tell, it is a problem with the liblwjdl that comes bundled with mule app.  I think it's a java 1.6 version.
When I try and run the java command line in the mule.app package Info.plist I get this error:

$ java -Xms64m -Xmx256m -Djava.library.path=lib -jar data.jar
_NSJVMLoadLibrary: NSAddLibrary failed for /libjawt.dylib
JavaVM FATAL: lookup of function JAWT_GetAWT failed. Exit

Here is my log_init.txt

$ more Resources/Java/data/log_init.txt
  INFO [Properties.<init>]                           VERSION: 1.3.6
  INFO [Properties.<init>]                           Classpath: data.jar
  INFO [Properties.<init>]                           Java VM: 23.7-b01
  INFO [Properties.<init>]                           Java Runtime: 1.7.0_13-b20
  INFO [Properties.<init>]                           OS: Mac OS X 10.8.3 x86_64
  INFO [Properties.<init>]                           Java Library Path: lib
  INFO [Properties.<init>]                           Max Memory: 238616576
  INFO [Properties.<init>]                           Avaialble Processors: 8
  INFO [PropertiesBase.readFromFile]                 Reading Settings from file settings.txt
  INFO [Settings.<init>]                             Settings file not found: settings.txt (No such file or directory)
  INFO [SubstanceLoader.initLookAndFeel]             Window Skin: Default
  INFO [Main.main]                                   lpSolve: 5.5 Release 0 Build 15
  INFO [SoundPlayer.initialize]                      Initializing Sound System
  INFO [SlickLogSystem.info]                         Initialising sounds..
  INFO [SlickLogSystem.info]                         - Sound works
  INFO [SlickLogSystem.info]                         - 64 OpenAL source available
  INFO [SlickLogSystem.info]                         - Sounds source generated

I'd love to be able to play with my kids next time!
Thanks!
Logged
Chuckie Chuck
Mule Veteran
******
Posts: 633



View Profile
« Reply #1 on: June 12, 2013, 06:20 »

Have you followed all instructions in the F.A.Q.?

http://www.planetmule.com/faq/


It's hard to say, as I don't know if anyone else running mountain lion has tried to run M.U.L.E. what the problem is.  Normally, I'd point at the video drivers, but could easily be that the engine was just obsoleted by mountain lion.

The newest MAC I currently have only runs Lion, but I have a friend that has a new Macbook Pro with Mountain Lion, so I'll check it out when he's back in town next week.

In the mean time, post if you figure it out.
Logged

My other computer is a C64.
djp3
Mule Forum Newbie
*
Posts: 2


View Profile
« Reply #2 on: June 12, 2013, 18:43 »

Yes, it doesn't appear to be a video driver problem.  I think it's a java linking problem.  Java is in turmoil on the Mac these days.
Logged
Chuckie Chuck
Mule Veteran
******
Posts: 633



View Profile
« Reply #3 on: June 12, 2013, 19:15 »

Yeah, I really think it will turn out to be an OS X Mountain Lion / Java compatibility issue.
Logged

My other computer is a C64.
Peter
Turborilla
Administrator
Mule Expert
*****
Posts: 379


Planet M.U.L.E. Team


View Profile WWW
« Reply #4 on: June 24, 2013, 07:10 »

This is a common issue on Oracle's Java 7 on Mac OS X 10.7 and 10.8.
The simplest solution is to go back to using Apple's Java version 6. You can do it like this:

To uninstall the Java 7 internet plugin (Java 7 JRE):
Go to /Library/Internet Plug-Ins/ and delete the JavaAppletPlugin.plugin bundle.

To uninstall the Java 7 JVM bundle (Java 7 JDK):
Go to /System/Library/Java/JavaVirtualMachines/ and delete anything whose name starts with jdk1.7.0

Install a Java 6 runtime:
Open http://www.java.com/en/download/testjava.jsp
Your browser will show a security warning. Click the button to allow the Java applet to run.
You will be asked to install Java 6 for OS X from Apple.

Now you should be able to Play Planet Mule again Smiley
Logged

Chuckie Chuck
Mule Veteran
******
Posts: 633



View Profile
« Reply #5 on: June 27, 2013, 18:20 »

Here is the official guide to rolling back to Apple Java 6 from Apple's website.


http://support.apple.com/kb/HT5559?viewlocale=en_US

This should fix your problems running Mule on a MAC.
Logged

My other computer is a C64.
MULELover
Mule Forum Newbie
*
Posts: 1


View Profile
« Reply #6 on: February 07, 2015, 21:21 »

Just wondering if there are any updates to this. Java 1.8 is out now and I would like to avoid installing an old revision of Java.  Any advise or an updated release would be appreciated.

Thank you
Logged
Chuckie Chuck
Mule Veteran
******
Posts: 633



View Profile
« Reply #7 on: February 08, 2015, 00:58 »

There hasn't been a fix release to Mule since this thread was started.
Logged

My other computer is a C64.
Pages: [1]
  Print  
 
Jump to: