Archived

This topic is now archived and is closed to further replies.

[java] error with new version : j2sdk1.4.1_01

This topic is 5427 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have installed a new version of the java sdk and when I trie to run my older programs I get the following error : (when I do frame.show()) Can someone tell me what I have to change thans java.lang.UnsatisfiedLinkError: no fontmanager in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50) at java.security.AccessController.doPrivileged(Native Method) at sun.awt.font.NativeFontWrapper.(NativeFontWrapper.java:42) at sun.java2d.SunGraphicsEnvironment$1.run(SunGraphicsEnvironment.java:108) at java.security.AccessController.doPrivileged(Native Method) .....etc.....

Share this post


Link to post
Share on other sites
Have you tried recompiling your programs? You might be using a depricated call.

"... we should have such an empire for liberty as she has never surveyed since the creation ..."
Thomas Jefferson

Share this post


Link to post
Share on other sites
When a method is marked as deprecated, that means that its not meant to be used. This also means, that Sun isn''t required to develop/enhance/correct/bug-fix the method any more, which means that you should stay away from such methods like the plague. It may work in current implementation, but there''s no guarantee that it will work in future ones.

Now whether or not Sun should deprecate methods, that an entirely different issue. But in short, if methods are deprecated, change them.

Share this post


Link to post
Share on other sites