Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

cannot restore segment prot after reloc: Permission denied

807603Jun 11 2005 — edited Feb 12 2008
Hi,

I am running under FC3. The small application I am trying to run was working but now seems to have steoped after some yum updates. Is this due to getting read permission from the runtime dir?

Thanks

Luke

Exception in thread "main" java.lang.UnsatisfiedLinkError: /opt/j2sdk1.4.2_07/jre/lib/i386/libawt.so: /opt/j2sdk1.4.2_07/jre/lib/i386/libawt.so: cannot restore segment prot after reloc: Permission denied
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)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 11 2008
Added on Jun 11 2005
6 comments
1,959 views