Java 错误消息,tectonicus,libmawt.so
运行 tectonicus (minecraft 地图渲染)后,我遇到了一些错误,通过将 java 升级到 1.6 并安装一些库解决了一些错误:x11-libs/libXcursor & x11-libs/libXrandr
但现在我遇到了一个新错误,不知道下一步该去哪里:
Exception in thread "main" java.lang.UnsatisfiedLinkError:
/root/.tectonicus/native/liblwjgl.so:
/opt/sun-jdk-1.6.0.26/jre/lib/i386/libjawt.so:
symbol awt_FreeDrawingSurface, 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:1807)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)
at java.lang.Runtime.load0(Runtime.java:770)
at java.lang.System.load(System.java:1003)
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:778)
at tectonicus.TectonicusApp.main(TectonicusApp.java:1143)
After running tectonicus (minecraft map render), i run in to some error, solved a few by upgrading java to 1.6, and installing some libs: x11-libs/libXcursor & x11-libs/libXrandr
But now i got a new error and don't know where to dig next:
Exception in thread "main" java.lang.UnsatisfiedLinkError:
/root/.tectonicus/native/liblwjgl.so:
/opt/sun-jdk-1.6.0.26/jre/lib/i386/libjawt.so:
symbol awt_FreeDrawingSurface, 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:1807)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)
at java.lang.Runtime.load0(Runtime.java:770)
at java.lang.System.load(System.java:1003)
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:778)
at tectonicus.TectonicusApp.main(TectonicusApp.java:1143)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你在无头机器上运行 tectonicus 吗?
如果没有检查 DISPLAY 环境变量是否设置正确
例如:DISPLAY=:0 java -jar ...
are you running tectonicus on a headless machine?
if not check that the DISPLAY environment variable is set correctly
e.g.: DISPLAY=:0 java -jar ...