Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OS X java 6 support #100

Closed
jikuja opened this issue Nov 25, 2014 · 1 comment
Closed

OS X java 6 support #100

jikuja opened this issue Nov 25, 2014 · 1 comment

Comments

@jikuja
Copy link

jikuja commented Nov 25, 2014

I'm guessing that a6bb6e3 broke java 6 support with OS X. Following stack from 2.9.2-nightly-20140822

java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
        at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
Caused by: java.lang.UnsatisfiedLinkError: Can't load library: /Users/jikuja/ftb/FTBLite2/natives/liblwjgl.jnilib
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1712)
        at java.lang.Runtime.load0(Runtime.java:770)
        at java.lang.System.load(System.java:1019)
        at org.lwjgl.Sys$1.run(Sys.java:70)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.lwjgl.Sys.doLoadLibrary(Sys.java:66)
        at org.lwjgl.Sys.loadLibrary(Sys.java:95)
        at org.lwjgl.Sys.<clinit>(Sys.java:112)
        at net.minecraft.client.Minecraft.func_71386_F(Minecraft.java:2458)
        at net.minecraft.client.main.Main.main(SourceFile:37)
        ... 6 more
@virtuoushub
Copy link

I ran into a similar issue when building lwjgl3. This was my fix.

Looking at your provided stack trace, these lines of Sys#doLoadLibrary(String) would benefit from something similar to my or @mikiobraun's fix.

Similar: jblas-project/jblas#19 and xerial/snappy-java#6

@Spasi Spasi closed this as completed in 8cdaf59 Nov 28, 2014
b23prodtm pushed a commit to b23prodtm/lwjgl that referenced this issue Dec 9, 2014
b23prodtm pushed a commit to b23prodtm/lwjgl that referenced this issue Apr 18, 2015
b23prodtm added a commit to b23prodtm/lwjgl that referenced this issue Apr 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants