-
Bug
-
Resolution: Won't Fix
-
P4
-
6u5
-
x86
-
windows
System.load() method failure on all platforms.
Here is the code sniplet
public static String SCENARIO2_DLL = "cmm.dll";
public static boolean scenario2(){
try {
System.load(JRE_HOME + "/bin/" + SCENARIO2_DLL);
}catch (Throwable e){
e.printStackTrace();
return false;
}
return true;
}
Exception :
java.lang.UnsatisfiedLinkError: Can't load library: C:\Program Files\Java\jre6/bin/cmm.dll
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at LibraryLoadTest.scenario2(LibraryLoadTest.java:52)
at LibraryLoadTest.kjre02_02(LibraryLoadTest.java:127)
at LibraryLoadTest.main(LibraryLoadTest.java:175)
KJRE002_02 Scenario 2(System.load) : FAIL
Applicable for Runtime.load() also .
Here is the code sniplet
public static String SCENARIO2_DLL = "cmm.dll";
public static boolean scenario2(){
try {
System.load(JRE_HOME + "/bin/" + SCENARIO2_DLL);
}catch (Throwable e){
e.printStackTrace();
return false;
}
return true;
}
Exception :
java.lang.UnsatisfiedLinkError: Can't load library: C:\Program Files\Java\jre6/bin/cmm.dll
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at LibraryLoadTest.scenario2(LibraryLoadTest.java:52)
at LibraryLoadTest.kjre02_02(LibraryLoadTest.java:127)
at LibraryLoadTest.main(LibraryLoadTest.java:175)
KJRE002_02 Scenario 2(System.load) : FAIL
Applicable for Runtime.load() also .