LWJGL
June 19, 2013, 11:17:17 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL 2.9.0 released!
 
   Home   Help Search Login Register  



Pages: 1 [2]
  Print  
Author Topic: [FIXED] Urgent panic - JRE7 / LWJGL / Linux broken  (Read 25447 times)
jediTofu
Prolific Timewaster
****
Posts: 280



« Reply #15 on: October 08, 2011, 12:33:13 »

Ok, your sentence is not so easy to translate into german, but what I understand is: I have to check, if Tectonicus is using the nightly version of lwjgl.jar, right?

Please go here:  http://www.lwjgl.org/download.php

And use 2nd link that says "Nightly builds".

Click LWJGL and get lwjgl-2.8.0.zip.  Use the files in the "jars" folder and "native" folder.

Hope this helps.
Logged

cool story, bro
TheRealBecks
Newbie
*
Posts: 9


« Reply #16 on: October 08, 2011, 12:36:17 »

Yes, and that's the problem, because I did. And every file you can see in my last post with the find-command lists the files I replaced. So I really don't know, why this bug anyhow exists.
Logged
TheRealBecks
Newbie
*
Posts: 9


« Reply #17 on: October 10, 2011, 03:17:05 »

Ok, another try! Now I edited Tectonicus.*.jar and replaced the files in the "native" folder, so the actual files of lwjgl are stored in. The bug, that he can't find libjawt.so, still exists. libjawt.so in stored in /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libjawt.so, but in /usr/lib/ is the file missing, so I linked it to the one in java-7-openjdk. Now there's another bug known from Ubuntu 11.04 with openjdk-6-jre:
Code:
Forcing 64-bit native libraries
Player skin cache is old or corrupt, cleaning...
Creating player icon assembler
Initialising display...
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/server/.tectonicus/native/liblwjgl.so: /usr/lib/libjawt.so: symbol awt_Unlock, version SUNWprivate_1.1 not defined in file libmawt.so with link time reference
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1924)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1821)
        at java.lang.Runtime.load0(Runtime.java:792)
        at java.lang.System.load(System.java:1059)
        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:82)
        at org.lwjgl.Sys.<clinit>(Sys.java:99)
        at org.lwjgl.opengl.Display.<clinit>(Display.java:130)
        at tectonicus.rasteriser.lwjgl.LwjglRasteriser.<init>(LwjglRasteriser.java:110)
        at tectonicus.rasteriser.RasteriserFactory.createRasteriser(RasteriserFactory.java:24)
        at tectonicus.TileRenderer.<init>(TileRenderer.java:146)
        at tectonicus.TectonicusApp.run(TectonicusApp.java:808)
        at tectonicus.TectonicusApp.main(TectonicusApp.java:1173)

It's the awt_Unlock-bug... -.- That's so depressingly...
Logged
kappa
Administrator
Nerdus Imperius
*****
Posts: 1117



« Reply #18 on: October 10, 2011, 04:26:08 »

You could try the Oracle JRE 6, just download it from the Oracle site.
Logged
TheRealBecks
Newbie
*
Posts: 9


« Reply #19 on: October 10, 2011, 05:42:42 »

I downloaded the actual jre 7 from oracle and installed it like is in this posting http://askubuntu.com/questions/32124/how-do-i-install-java-7-from-the-official-tarballs shown -->
Quote
tar xvfz jdk-7-linux-x64.tar.gz
sudo update-alternatives --install /usr/bin/java java /[whereever]/jdk1.7.0/bin/java 0
sudo update-alternatives --config java
Installation worked, so I can use this version. But the awt-bug is the same. And jre 6 isn't better than jre 7, because other postings in the internet say, that jre 7 is the answer of the problem and because of this I upgraded Ubuntu 11.04 to 11.11 with official support for jre 7! Cheesy Is there maybe a problem, because no x-server is available?
Logged
Matzon
Administrator
Demigod
*****
Posts: 2239



« Reply #20 on: October 10, 2011, 05:51:35 »

Please check the wiki: http://www.minecraftwiki.net/wiki/Programs_and_Editors/Tectonicus/VPS
Logged

TheRealBecks
Newbie
*
Posts: 9


« Reply #21 on: October 10, 2011, 06:43:00 »

I found this website two weeks ago, too. But it can't be, that noone out there knows, why it's not running? And after two wooks of work I have been forwarded two java and now to lwjgl. And in this topic the bug I have is posted. So hell, what is it, if lwjgl is working correctly? :/
Logged
Matzon
Administrator
Demigod
*****
Posts: 2239



« Reply #22 on: October 10, 2011, 07:14:28 »

did you READ the wiki entry? - specifically the xvfb part?
You seem to be running in headless mode ...
Logged

TheRealBecks
Newbie
*
Posts: 9


« Reply #23 on: October 10, 2011, 07:16:53 »

Yes, I read it and i ran in headless mode Wink I installed the x-server under Ubuntu 11.04, but as we can read in the article, Tectonicus won't work. But I'll try in 11.10 this evening.
Logged
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!