|
发表于 2005-11-18 22:21:37
|
显示全部楼层
Post by Freefrag
[root@songh ~]# javac Hello.java
[root@songh ~]# java Hello 测试成功,
控制台,不能调用!
[root@songh ~]# /usr/local/jdk1.5.0_05/jre/bin/ControlPanel
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/local/jdk1.5.0_0 5/jre/lib/i386/libdeploy.so: /usr/local/jdk1.5.0_05/jre/lib/i386/libdeploy.so: c annot restore segment prot after reloc: Permission denied
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)
at java.lang.Runtime.load0(Runtime.java:769)
at java.lang.System.load(System.java:967)
at com.sun.deploy.config.UnixConfig.loadLibDeploy(UnixConfig.java:41)
at com.sun.deploy.config.UnixConfig.<clinit>(UnixConfig.java:26)
at com.sun.deploy.config.ConfigFactory.newInstance(ConfigFactory.java:11 )
at com.sun.deploy.config.Config.getInstance(Config.java:564)
at com.sun.deploy.config.Config.<clinit>(Config.java:580)
at com.sun.deploy.util.DeployUIManager.setLookAndFeel(DeployUIManager.ja va:102)
at com.sun.deploy.panel.ControlPanel.<clinit>(ControlPanel.java:30)
[root@songh ~]#
你的JDK1。5。*正确安装并配置好了吗?
|
|