Jump to content
  • 0

Technic Launcher Crashes on Mac OS X


jinbobo

Question

I decided not to use the report format because the amount of tests made and results returned. I will include details and my own comment for each test.

Launcher Version: 1.0.1.3

LWJGL Version: 2.8.3

Test 1

Operating System: Mac OS X 10.6.8

Mod Pack: Technic 7.0.1

Java Version: Java 6 SE from Apple (VM: 1.6.0_31-b04)

I opened the launcher on my MacBook which was running Snow Leopard to try play technic but then it caused an error which was obviously caused by not using JDK7.

java.lang.NoSuchMethodError: ic2.api.CropCard.registerBaseSeed(Laan;IIIII)Z


Test 2

Operating System: Mac OS X 10.7.3

Mod Pack: Technic 7.0.1

Java Version: OpenJDK7 (VM: 1.7.0_04-ea-b15)

I then proceeded to play it on my Mac Mini which was running Lion, turned on OpenJDK7(I don't usually use OpenJDK7, the version I installed at that time was a DP version of it.) then opened the launcher. I started Technic but the game window froze on a white screen, I tried the methods supplied in the common problems thread but it failed every time I tried to launch.

[20:28:57] [sEVERE]	Exception in thread "Minecraft main thread" 

[20:28:57] [sEVERE] java.lang.UnsatisfiedLinkError: Can't load library: /technicssp/bin/natives/liblwjgl.dylib

[20:28:57] [sEVERE] at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1828)

[20:28:57] [sEVERE] at java.lang.Runtime.load0(Runtime.java:792)

[20:28:57] [sEVERE] at java.lang.System.load(System.java:1059)

[20:28:57] [sEVERE] at org.lwjgl.Sys$1.run(Sys.java:69)

[20:28:57] [sEVERE] at java.security.AccessController.doPrivileged(Native Method)

[20:28:57] [sEVERE] at org.lwjgl.Sys.doLoadLibrary(Sys.java:65)

[20:28:57] [sEVERE] at org.lwjgl.Sys.loadLibrary(Sys.java:81)

[20:28:57] [sEVERE] at org.lwjgl.Sys.<clinit>(Sys.java:98)

[20:28:57] [sEVERE] at org.lwjgl.opengl.Display.<clinit>(Display.java:132)

[20:28:57] [sEVERE] at net.minecraft.client.Minecraft.a(Minecraft.java:325)

[20:28:57] [sEVERE] at net.minecraft.client.Minecraft.run(Minecraft.java:732)

[20:28:57] [sEVERE] at java.lang.Thread.run(Thread.java:722)

I peeked at the logs and found out it was a problem with the libraries. I went to the bin/natvies/ folder and found out that there was no such file called "liblwjgl.dylib" but instead I found another file called "liblwjgl.jnilib". At first I suspected the file to be outdated but then after I downloaded the latest lwjgl binaries, I found "liblwjgl.jnilib" but no "liblwjgl.dylib". I found a thread with the same problem and tried the suggested solution: duplicating the file and renaming it to "liblwjgl.dylib". I did but Technic crashed on load, no errors were generated. (Note: the library could have loaded but some unknown reasons caused it to crash)


Test 3

Operating System: Mac OS X 10.7.3

Mod Pack: Technic 7.0.1

Java Version: Java 7 SE (VM: 1.7.0_04-b21) & Java 7 SE (VM: 1.7.0_06-ea-b08)

I found out on the internet that the problem apparently was a missed out feature, not implemented in my version of release.* I then downloaded the Oracle release of JDK7u4, installed it, then launched Technic, it crashed on load, no errors. This was the same with JDK7u6 DP. I even tried it on a newer build of JDK7u4. (maybe the library did load but somehow caused it to crash.)


Test 4

Operating System: Mac OS X 10.7.3

Mod Pack: Technic 7.0.1

Java Version: OpenJDK8 (VM: 1.8.0-jdk8-b37-20120510)

At this point I was frustrated, but then I read that it was first fixed in JDK8.** I installed it then it crashed on the launcher. It generated an error report but it said the crash was caused by Java. (I will attach it someone wants it)


Test 5~ (for comparison only)

Operating System: Mac OS X 10.7.3

Mod Pack: VoxelModPack

Java Version: Java 7 SE (VM: 1.7.0_06-ea-b08)

I then proceed to test if other modpacks (voxelmodpack in this case) have the same problem. It does on JDK7.


Java Version: Java 6 SE from Apple (VM: 1.6.0_31-b04)

Tried it with Java 6 and it works, the voxelmodpack does not require JDK7 so it works. (not sure if lwjgl loaded)


Operating System: Mac OS X 10.6.8

Java Version: Java 6 SE from Apple (VM: 1.6.0_31-b04)

Tried it on Snow Leopard, works. (not sure if lwjgl loaded)


Operating System: Mac OS X 10.7.3

Mod Pack: None. Completely vanilla minecraft. (Minecraft launcher)

Java Version: Java 7 SE (VM: 1.7.0_06-ea-b08)

Works without error.


Operating System: Mac OS X 10.7.3

Mod Pack: Technic 6.0.7

Java Version: Java 6 SE from Apple (VM: 1.6.0_31-b04)

Works without error.


Operating System: Mac OS X 10.7.3

Mod Pack: Technic 6.0.7

Java Version: OpenJDK7 (VM: 1.7.0_04-ea-b15)

Freezes on white screen. Cannot load lwjgl.dylib: see error in test 2


Operating System: Mac OS X 10.7.3

Mod Pack: Technic 6.0.7

Java Version: Java 7 SE (VM: 1.7.0_04-b21)

Crashes without error. (not sure if lwjgl loaded)


Please provide solution if anyone is able to launch.***

Some questions answered for mac users

Will modpacks requiring JDK7 be able to run on Snow Leopard or older?

No. Mac OS X 10.7.3 (Lion) is listed as a requirement and it the only supported platform by Oracle.

Why is the game stuck on a white screen?

The game cannot load the lwjgl libraries. Update Java if using Java 7 or use Java 6.

Why does the game immediately crashes on load? (Before the Mojang logo loads)

This is caused either by a mod, a modpack, lwjgl. No solution or explanation to this currently.

* (Technical Discussion) In the JDK7 Mac Port Project Status Page it states (Core Libraries) that in 7u4 you are able to load .jnilib in addition to .dynlib

** (Technical Discussion) Please correct me if I'm wrong

*** I have programming experience, but none for Java. All comments are based on my current knowledge of computers and programming.

Purchase Lion 64-bit computer required

‡ As stated in the JDK7 Mac OS X Port Wikis

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...