|
[求助]在Fedora3下安装j2sdk1.4.2_06后运行软件遇到了问题]
--------------------------------------------------------------------------------
我在Fedora3英文环境下安装了j2sdk1.4.2_06,然后运行一个simulator(是在linux下用java开发的)软件时出现了以下问题,请大家多帮忙。
我将simulator挂载在/mnt/D下,
首先设定环境变量export SIM_DEV_ROOT=/mnt/D/simulator,然后cd /mnt/D/simultor目录下,运行make,但在make run时,出现下面的问题:
/usr/java/j2sdk1.4.2_06/bin/java -classpath /mnt/D/simulator/classes qcui.QueryCyclePanel /mnt/D/simulator
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/java/j2sdk1.4.2_06/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1503)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
at java.awt.Component.<clinit>(Component.java:506)
make: *** [run] Error 1 |
|