Tux Guitar

Problems

Subject TuxGuitar does not star on 64bit JVM



Author Message
andre
Post: Mar 2nd 2009 at 9:32 PM

After several tries, with tuxguitar rc4, tuxguitar 1.0 I still get this


/Applications/tuxguitar-1.0-mac.app/Contents/MacOS/tuxguitar ; exit;
Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.C.(Unknown Source)
at org.eclipse.swt.widgets.Display.createDisplay(Unknown Source)
at org.eclipse.swt.widgets.Display.create(Unknown Source)
at org.eclipse.swt.graphics.Device.(Unknown Source)
at org.eclipse.swt.widgets.Display.(Unknown Source)
at org.eclipse.swt.widgets.Display.(Unknown Source)
at org.herac.tuxguitar.gui.TuxGuitar.displayGUI(Unknown Source)
at org.herac.tuxguitar.gui.TGMain.main(Unknown Source)
logout

[Process completed]


##### with rc4

/Users/andre/Downloads/TuxGuitar.app/Contents/MacOS/tuxguitar ; exit;
Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.C.(Unknown Source)
at org.eclipse.swt.widgets.Display.createDisplay(Unknown Source)
at org.eclipse.swt.widgets.Display.create(Unknown Source)
at org.eclipse.swt.graphics.Device.(Unknown Source)
at org.eclipse.swt.widgets.Display.(Unknown Source)
at org.eclipse.swt.widgets.Display.(Unknown Source)
at org.herac.tuxguitar.gui.TuxGuitar.displayGUI(Unknown Source)
at org.herac.tuxguitar.gui.TGMain.main(Unknown Source)
logout

[Process completed]



:(


Back to Top
 
Julian
Post: Mar 3rd 2009 at 10:59 AM

The mac version of tuxguitar was built for "ppc" arch
you need to find SWT libraries for mac - 64bit to make it run, i'm not sure if they exists


Back to Top
 
andre
Post: Mar 3rd 2009 at 6:20 PM

Just solved my own problem. It's quite easy.

1. Open "Java Preferences" (for example in spotlight)

2. Under the tab "Java applications versions" just drag and drop "Java SE 6 64-bit" to the second position and put "J2SE 5.0 32-bit" in first.

Your done and ready to rock on in Tuxguitar m/


Back to Top