English 中文(简体)
java UnsatisfiedLinkError awt.image
原标题:java UnsatisfiedLinkError awt.image

我有一个方案,利用以下方法对图像一科进行大修:

public ImageIcon createScaledImageIcon(String filename) {
    ImageIcon icon = new ImageIcon(filename);
    Image image = icon.getImage().getScaledInstance(cardWidth, cardHeight, Image.SCALE_SMOOTH);
    icon.setImage(image);
    return icon;
}

我不知道它是否是问题的根源。 但我收到以下错误信息:

UnsatisfiedLinkError:“Image Fetcher 0” java.lang. UnsatisfiedLinkError:太阳.awt.image.Image Representation.setBytePixels(IIII[BIILsun/awt/image/ByteComponentRaster;I) 五)太阳系。

阳性动物

日.(未知来源)

在太阳系 资料来源:......。

让我知道,我是否有任何其他信息可以包括可能使用的信息。

最佳回答

Try reinstalling the recent edition of Java. 您的安装可能不完整/腐蚀(阅读

问题回答

,该链接表示,这一错误可能是收到 Java回复的结果,而不是重复。 但是,“接线”是指整个计算机,还是仅仅重新启用java,却不清楚。

我在Windows机器上安装Squirrel SQL时遇到了这个问题。原因是环境设置中的PATH选项。我已经将JAVA_HOME设置为所安装的Java版本,但是在我安装的Java版本之前,路径中存在另一个Java版本(位于路径的末尾)。

So my JAVA HO版在“java”类型时实际上在指挥线上运行。

如果你看到这一点,你可以努力确保您的JAVA_ HOME环境变量显示, Java安装了,确保它首先出现在你的道路上。





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...