java.lang.UnsatisfiedLinkError

Environment:

Eclipse Helios

JDK1.6.0_22

Weblogic11g

Situation:

使用Weblogic Web Service Ant task產生出Web Service Client JAR檔後, 建立Stand-Alone Java Class測試時, 一執行就直接出現錯誤:

java.lang.UnsatisfiedLinkError: java.util.zip.ZipFile.open(Ljava/lang/String;IJZ)J
at java.util.zip.ZipFile.open…
…Exception in thread “main”

之前可以執行, 現在不行;

查了好久完全不知道問題出在哪…(頭好痛~~~)

後來突然想到之前有改過JDK的版本, 換成JDK1.6.0_24就可正常執行; 我也試了JDK1.6.0_11, 正常.

看起來JDK1.6.0_22似乎有bug?

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s