Skip to main content

Can I disable script errors in JDICplus 0.2.2?

27 replies [Last post]
oldjack
Offline
Joined: 2008-07-14

Hello,
I would like to disable script error popups when using the JDICplus WebBrowser. Is there a setting I could set on the WebBrowser object in the Java code?

Many thanks
oldjack

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
tdanecito
Offline
Joined: 2005-10-10

Hi Madroadie,

Thanks for all the support. I have decided to take another path and stop using 0.2.2. Just the lack of response from the developer(s) has convinced me 0.2.2 has no future.

Best Regards,
-Tony

tdanecito
Offline
Joined: 2005-10-10

Hi Madroadie,

I went back to using your def file and got an interesting pattern to the errors. They all seem to be cdecl related. Not sure why but here they are:

jdicWeb error LNK2001: unresolved external symbol Canonicalize
jdicWeb error LNK2001: unresolved external symbol GetStringPlatformChars
jdicWeb error LNK2001: unresolved external symbol JDK_GetVersionInfo0
jdicWeb error LNK2001: unresolved external symbol JNU_CallMethodByName
jdicWeb error LNK2001: unresolved external symbol JNU_CallStaticMethodByName
jdicWeb error LNK2001: unresolved external symbol JNU_NewObjectByName
jdicWeb error LNK2001: unresolved external symbol JNU_SetFieldByName
jdicWeb error LNK2001: unresolved external symbol JNU_SetStaticFieldByName
jdicWeb error LNK2001: unresolved external symbol NewStringPlatform
jdicWeb error LNK2001: unresolved external symbol VerifyClassCodes
jdicWeb error LNK2001: unresolved external symbol VerifyClassCodesForMajorVersion
jdicWeb error LNK2001: unresolved external symbol getEncodingFromLangID
jdicWeb error LNK2001: unresolved external symbol getJavaIDFromLangID
jdicWeb error LNK2001: unresolved external symbol handleLseek
jdicWeb error LNK2001: unresolved external symbol handleRead
jdicWeb error LNK2001: unresolved external symbol handleSync
jdicWeb error LNK2001: unresolved external symbol handleWrite
jdicWeb error LNK2001: unresolved external symbol winFileHandleOpen
jdicWeb fatal error LNK1120: 18 unresolved externals

tdanecito
Offline
Joined: 2005-10-10

Hi Madroadie,

Seems there is something missing. I tried deleting the function names in the previous message and then more function names from the def showed up. So I suspect just adding the def file is not enough for VS seems like it is trying the link the function names in the def to something else and failing.

Regards,
-Tony

tdanecito
Offline
Joined: 2005-10-10

Hi Madroadie

Here are the dll methods that for some reason are not found:
jdicWeb error LNK2019: unresolved external symbol _JNU_GetEnv@8 referenced in function "private: virtual void __thiscall BrJComponent::RedrawParentRect(struct tagRECT *)" (RedrawParentRect@BrJComponent@@EAEXPAUtagRECT@@@Z)
jdicWeb error LNK2019: unresolved external symbol _JNU_ThrowIOException@88referenced in function "void __cdecl ThrowJNIErrorOnOleError(struct JNIEnv_ *,long,char const *)" (?ThrowJNIErrorOnOleError@@YAXPAUJNIEnv_@@JPBD@Z)
jdicWeb error LNK2019: unresolvd external symbol _JNU_ThrowIllegalAccessError@8 referenced in function "void __cdecl ThrowJNIErrorOnOleError(struct JNIEnv_ *,long,char const *)" (?ThrowJNIErrorOnOleError@@YAXPAUJNIEnv_@@JPBD@Z)
jdicWeb error LNK2019: unresolved external symbol _JNU_ThrowNoSuchFieldException@8 referenced in function "void __cdecl ThrowJNIErrorOnOleError(struct JNIEnv_ *,long,char const *)" (?ThrowJNIErrorOnOleError@@YAXPAUJNIEnv_@@JPBD@Z)
jdicWeb error LNK2019: unresolved external symbol _JNU_ThrowInternalError@8 referenced in function "void __cdecl ThrowJNIErrorOnOleError(struct JNIEnv_ *,long,char const *)" (?ThrowJNIErrorOnOleError@@YAXPAUJNIEnv_@@JPBD@Z)
jdicWeb error LNK2019: unresolved external symbol _JNU_ThrowIllegalAccessException@8 referenced in function "void __cdecl ThrowJNIErrorOnOleError(struct JNIEnv_ *,long,char const *)" (?ThrowJNIErrorOnOleError@@YAXPAUJNIEnv_@@JPBD@Z)
jdicWeb error LNK2019: unresolved external symbol _JNU_ThrowIllegalArgumentException@8 referenced in function "void __cdecl ThrowJNIErrorOnOleError(struct JNIEnv_ *,long,char const *)" (?ThrowJNIErrorOnOleError@@YAXPAUJNIEnv_@@JPBD@Z)
jdicWeb error LNK2019: unresolved external symbol _JNU_ThrowOutOfMemoryError@8 referenced in function "void __cdecl ThrowJNIErrorOnOleError(struct JNIEnv_ *,long,char const *)" (?ThrowJNIErrorOnOleError@@YAXPAUJNIEnv_@@JPBD@Z)
jdicWeb error LNK2001: unresolved external symbol _JNU_ThrowOutOfMemoryError@8
jdicWeb error LNK2019: unresolved external symbol _JNU_ThrowArrayIndexOutOfBoundsException@8 referenced in function "void __cdecl ThrowJNIErrorOnOleError(struct JNIEnv_ *,long,char const *)" (?ThrowJNIErrorOnOleError@@YAXPAUJNIEnv_@@JPBD@Z)
jdicWeb fatal error LNK1120: 9 unresolved externals

Now here are the messages thrown by dlltolib tool during conversion of the java.dll from 1.6.0_07. The interesting thing is the missing export symbols in the dll. It does include the methods/functions listed above that were failing for me. I am not sure if your utility noticed this issue. Dll2lib may have fixed some things your utility did not thus it's .lib does not cause as many errors as your def file. Just a guess on my part.

Start conversion.
Preparing for the conversion...
Convert DLL file into object files...
Warning 10: Cannot find corresponding export symbol for Canonicalize in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for GetStringPlatformChars in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for JDK_GetVersionInfo0 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for JNU_CallMethodByName in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for JNU_CallStaticMethodByName in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for JNU_NewObjectByName in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for JNU_SetFieldByName in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for JNU_SetStaticFieldByName in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for NewStringPlatform in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for VerifyClassCodes in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for VerifyClassCodesForMajorVersion in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNI_OnLoad@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_CallMethodByNameV@24 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_ClassClass@4 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_ClassObject@4 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_ClassString@4 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_ClassThrowable@4 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_CopyObjectArray@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_Equals@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_GetEnv@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_GetFieldByName@20 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_GetStaticFieldByName@20 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_GetStringPlatformChars@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_IsInstanceOfByName@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_MonitorWait@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_NewStringPlatform@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_Notify@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_NotifyAll@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_PrintClass@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_PrintString@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_ReleaseStringPlatformChars@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_ThrowArrayIndexOutOfBoundsException@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_ThrowByName@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_ThrowByNameWithLastError@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_ThrowClassNotFoundException@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_ThrowIOException@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_ThrowIOExceptionWithLastError@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_ThrowIllegalAccessError@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_ThrowIllegalAccessException@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_ThrowIllegalArgumentException@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_ThrowInstantiationException@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_ThrowInternalError@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_ThrowNoSuchFieldError@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_ThrowNoSuchFieldException@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_ThrowNoSuchMethodError@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_ThrowNoSuchMethodException@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_ThrowNullPointerException@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_ThrowNumberFormatException@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_ThrowOutOfMemoryError@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_ThrowStringIndexOutOfBoundsException@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _JNU_ToString@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_Console_echo@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_Console_encoding@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_Console_istty@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_FileDescriptor_initIDs@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_FileDescriptor_set@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_FileDescriptor_sync@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_FileInputStream_available@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_FileInputStream_close0@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_FileInputStream_initIDs@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_FileInputStream_open@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_FileInputStream_read@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_FileInputStream_readBytes@20 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_FileInputStream_skip@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_FileOutputStream_close0@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_FileOutputStream_initIDs@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_FileOutputStream_open@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_FileOutputStream_openAppend@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_FileOutputStream_write@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_FileOutputStream_writeBytes@20 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_FileSystem_getFileSystem@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_ObjectInputStream_bytesToDoubles@28 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_ObjectInputStream_bytesToFloats@28 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_ObjectInputStream_latestUserDefinedLoader@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_ObjectOutputStream_doublesToBytes@28 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_ObjectOutputStream_floatsToBytes@28 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_ObjectStreamClass_hasStaticInitializer@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_ObjectStreamClass_initNative@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_RandomAccessFile_close0@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_RandomAccessFile_getFilePointer@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_RandomAccessFile_initIDs@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_RandomAccessFile_length@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_RandomAccessFile_open@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_RandomAccessFile_read@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_RandomAccessFile_readBytes@20 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_RandomAccessFile_seek@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_RandomAccessFile_setLength@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_RandomAccessFile_write@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_RandomAccessFile_writeBytes@20 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_Win32FileSystem_canonicalize0@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_Win32FileSystem_canonicalizeWithPrefix0@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_Win32FileSystem_checkAccess@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_Win32FileSystem_createDirectory@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_Win32FileSystem_createFileExclusively@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_Win32FileSystem_delete0@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_Win32FileSystem_getBooleanAttributes@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_Win32FileSystem_getDriveDirectory@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_Win32FileSystem_getLastModifiedTime@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_Win32FileSystem_getLength@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_Win32FileSystem_getSpace0@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_Win32FileSystem_initIDs@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_Win32FileSystem_list@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_Win32FileSystem_listRoots0@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_Win32FileSystem_rename0@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_Win32FileSystem_setLastModifiedTime@20 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_Win32FileSystem_setPermission@24 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_Win32FileSystem_setReadOnly@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_WinNTFileSystem_canonicalize0@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_WinNTFileSystem_canonicalizeWithPrefix0@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_WinNTFileSystem_checkAccess@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_WinNTFileSystem_createDirectory@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_WinNTFileSystem_createFileExclusively@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_WinNTFileSystem_delete0@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_WinNTFileSystem_getBooleanAttributes@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_WinNTFileSystem_getDriveDirectory@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_WinNTFileSystem_getLastModifiedTime@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_WinNTFileSystem_getLength@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_WinNTFileSystem_getSpace0@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_WinNTFileSystem_initIDs@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_WinNTFileSystem_list@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_WinNTFileSystem_rename0@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_WinNTFileSystem_setLastModifiedTime@20 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_WinNTFileSystem_setPermission@24 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_io_WinNTFileSystem_setReadOnly@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_ClassLoader_00024NativeLibrary_find@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_ClassLoader_00024NativeLibrary_load@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_ClassLoader_00024NativeLibrary_unload@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_ClassLoader_defineClass0@28 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_ClassLoader_defineClass1@32 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_ClassLoader_defineClass2@32 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_ClassLoader_findBootstrapClass@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_ClassLoader_findLoadedClass0@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_ClassLoader_registerNatives@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_ClassLoader_resolveClass0@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_Class_forName0@20 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_Class_getPrimitiveClass@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_Class_isAssignableFrom@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_Class_isInstance@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_Class_registerNatives@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_Compiler_registerNatives@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_Double_doubleToRawLongBits@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_Double_longBitsToDouble@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_Float_floatToRawIntBits@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_Float_intBitsToFloat@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_Object_getClass@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_Object_registerNatives@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_Package_getSystemPackage0@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_Package_getSystemPackages0@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_ProcessEnvironment_environmentBlock@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_ProcessImpl_close@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_ProcessImpl_create@36 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_ProcessImpl_destroy@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_ProcessImpl_exitValue@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_ProcessImpl_waitFor@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_Runtime_availableProcessors@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_Runtime_freeMemory@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_Runtime_gc@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_Runtime_maxMemory@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_Runtime_runFinalization0@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_Runtime_totalMemory@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_Runtime_traceInstructions@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_Runtime_traceMethodCalls@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_SecurityManager_classDepth@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_SecurityManager_classLoaderDepth0@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_SecurityManager_currentClassLoader0@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_SecurityManager_currentLoadedClass0@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_SecurityManager_getClassContext@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_Shutdown_halt0@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_Shutdown_runAllFinalizers@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_StrictMath_IEEEremainder@24 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_StrictMath_acos@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_StrictMath_asin@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_StrictMath_atan2@24 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_StrictMath_atan@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_StrictMath_cbrt@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_StrictMath_ceil@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_StrictMath_cos@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_StrictMath_cosh@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_StrictMath_exp@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_StrictMath_expm1@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_StrictMath_floor@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_StrictMath_hypot@24 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_StrictMath_log10@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_StrictMath_log1p@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_StrictMath_log@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_StrictMath_pow@24 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_StrictMath_sin@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_StrictMath_sinh@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_StrictMath_sqrt@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_StrictMath_tan@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_StrictMath_tanh@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_String_intern@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_System_identityHashCode@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_System_initProperties@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_System_mapLibraryName@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_System_registerNatives@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_System_setErr0@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_System_setIn0@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_System_setOut0@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_Thread_registerNatives@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_Throwable_fillInStackTrace@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_Throwable_getStackTraceDepth@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_Throwable_getStackTraceElement@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_ref_Finalizer_invokeFinalizeMethod@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_reflect_Array_get@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_reflect_Array_getBoolean@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_reflect_Array_getByte@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_reflect_Array_getChar@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_reflect_Array_getDouble@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_reflect_Array_getFloat@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_reflect_Array_getInt@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_reflect_Array_getLength@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_reflect_Array_getLong@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_reflect_Array_getShort@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_reflect_Array_multiNewArray@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_reflect_Array_newArray@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_reflect_Array_set@20 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_reflect_Array_setBoolean@20 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_reflect_Array_setByte@20 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_reflect_Array_setChar@20 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_reflect_Array_setDouble@24 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_reflect_Array_setFloat@20 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_reflect_Array_setInt@20 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_reflect_Array_setLong@24 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_reflect_Array_setShort@20 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_lang_reflect_Proxy_defineClass0@28 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_nio_Bits_copyFromByteArray@36 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_nio_Bits_copyFromIntArray@36 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_nio_Bits_copyFromLongArray@36 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_nio_Bits_copyFromShortArray@36 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_nio_Bits_copyToByteArray@36 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_nio_Bits_copyToIntArray@36 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_nio_Bits_copyToLongArray@36 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_nio_Bits_copyToShortArray@36 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2Ljava_security_AccessControlContext_2@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedExceptionAction_2@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedExceptionAction_2Ljava_security_AccessControlContext_2@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_security_AccessController_getInheritedAccessControlContext@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_security_AccessController_getStackAccessControlContext@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_sql_DriverManager_getCallerClassLoader@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_util_ResourceBundle_getClassContext@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_util_TimeZone_getSystemGMTOffsetID@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_util_TimeZone_getSystemTimeZoneID@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_util_concurrent_atomic_AtomicLong_VMSupportsCS8@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_util_logging_FileHandler_isSetUID@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_util_prefs_WindowsPreferences_WindowsRegCloseKey@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_util_prefs_WindowsPreferences_WindowsRegCreateKeyEx@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_util_prefs_WindowsPreferences_WindowsRegDeleteKey@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_util_prefs_WindowsPreferences_WindowsRegDeleteValue@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_util_prefs_WindowsPreferences_WindowsRegEnumKeyEx@20 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_util_prefs_WindowsPreferences_WindowsRegEnumValue@20 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_util_prefs_WindowsPreferences_WindowsRegFlushKey@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_util_prefs_WindowsPreferences_WindowsRegOpenKey@20 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_util_prefs_WindowsPreferences_WindowsRegQueryInfoKey@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_util_prefs_WindowsPreferences_WindowsRegQueryValueEx@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_java_util_prefs_WindowsPreferences_WindowsRegSetValueEx@20 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_sun_io_Win32ErrorMode_setErrorMode@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_sun_misc_AtomicLongCSImpl_attemptUpdate@24 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_sun_misc_AtomicLong_VMSupportsCS8@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_sun_misc_GC_maxObjectInspectionAge@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_sun_misc_MessageUtils_toStderr@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_sun_misc_MessageUtils_toStdout@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_sun_misc_NativeSignalHandler_handle0@20 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_sun_misc_Signal_findSignal@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_sun_misc_Signal_handle0@20 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_sun_misc_Signal_raise0@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_sun_misc_VMSupport_initAgentProperties@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_sun_misc_VM_getThreadStateValues@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_sun_misc_VM_initialize@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_sun_misc_Version_getJdkSpecialVersion@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_sun_misc_Version_getJdkVersionInfo@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_sun_misc_Version_getJvmSpecialVersion@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_sun_misc_Version_getJvmVersionInfo@8 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_sun_reflect_ConstantPool_getClassAt0@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_sun_reflect_ConstantPool_getClassAtIfLoaded0@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_sun_reflect_ConstantPool_getDoubleAt0@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_sun_reflect_ConstantPool_getFieldAt0@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_sun_reflect_ConstantPool_getFieldAtIfLoaded0@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_sun_reflect_ConstantPool_getFloatAt0@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_sun_reflect_ConstantPool_getIntAt0@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_sun_reflect_ConstantPool_getLongAt0@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_sun_reflect_ConstantPool_getMemberRefInfoAt0@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_sun_reflect_ConstantPool_getMethodAt0@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_sun_reflect_ConstantPool_getMethodAtIfLoaded0@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_sun_reflect_ConstantPool_getSize0@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_sun_reflect_ConstantPool_getStringAt0@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_sun_reflect_ConstantPool_getUTF8At0@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_sun_reflect_NativeConstructorAccessorImpl_newInstance0@16 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_sun_reflect_NativeMethodAccessorImpl_invoke0@20 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_sun_reflect_Reflection_getCallerClass@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_sun_reflect_Reflection_getClassAccessFlags@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for _Java_sun_security_provider_NativeSeedGenerator_nativeGenerateSeed@12 in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for getEncodingFromLangID in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for getJavaIDFromLangID in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for handleLseek in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for handleRead in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for handleSync in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for handleWrite in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for jio_fprintf in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for jio_snprintf in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Warning 10: Cannot find corresponding export symbol for winFileHandleOpen in the import libraries, we have to assume the export symbol follows __cdecl call convention.
Bind object files to static library files.
Conversion finished.

tdanecito
Offline
Joined: 2005-10-10

Hi Madroadie,

Looking at what I have posted and what you have posted I see ineresting differences. The functions the jdic plus is looking for that fail the link are not exported like the _JNU_GetEnv@8 yet you have one in your def file but it has a second @x. I expect the lib built by dll2lib also exports the same function that has two @ symbols in it. I used to remember what those symbols were for but have fogotten. I wonder if it is related to a data type that the compiler of the jdic plus code is expecting but the dlls do not support either in 1.6.0_07 or 1.7.0_x.

Seems like you know more in this area and I appreciate your feedback. I have to go do some community work with my Boy Scouts so will look at this later today or tonight.

Best Regards,
-Tony

madroadie
Offline
Joined: 2006-04-20

Make sure you have the import library in the linker settings or put this in your header file that references these api's.

// Automatic Link with your import Library. (Just Change the String to the Name of your Library)
#pragma comment(lib, "SomeImport.lib")

Also make use extern "C" to wrap your classes

#ifdef __cplusplus
extern "C" {
#endif

class MyClass : public MyBaseClass
{

public:

MyClass();
virtual ~MyClass ();

protected:

private:
};

#ifdef __cplusplus
}
#endif

tdanecito
Offline
Joined: 2005-10-10

Hi Madroadie,

I already verified the extern "C" in the header file for java_util.h from sun. I do not remember the pragma statement probably because the jvm.lib and java.lib is added to the input parmeter for Visual Studio 2003 .Net project properties for the linker. I will add it to the code just in case.

I will look closely at all the references in the cpp code and headers to see if any of the calls to the dll functions passed the linker check.

Again many thanks for the help.

-Tony

tdanecito
Offline
Joined: 2005-10-10

Hi Madroadie,

Well I learned you need the Visual Studio edition that has atl support in order to get past the remaining compile errors but ran into about 12 link errors. I created a java.lib from the java.dll in the jre/bin directory but the dll does not export the functions used the project so I get an error such as:

unresolved external symbol _JNU_ThrowNullPointerException

Any ideas what I can do to fix this? I am using latest jdk 1.7 build.

Thanks,
-Tony

madroadie
Offline
Joined: 2006-04-20

I have generated a Module Definition file for it using a utility I wrote a while back.

This is what the export symbol looks like, for JDK 1.6.0_07
_JNU_ThrowNullPointerException@8

You might want to recreate your import library using the the following def file.

; C:\Apps\Java\jdk1.6.0_07\jre\bin\java.def : Declares the module parameters for the DLL.

LIBRARY "java"
EXPORTS
_Java_sun_reflect_ConstantPool_getFieldAt0@16 @10
_Java_sun_misc_VM_initialize@8 @11
_Java_sun_misc_NativeSignalHandler_handle0@20 @12
_Java_java_nio_Bits_copyFromShortArray@36 @13
_Java_java_lang_reflect_Array_getDouble@16 @14
_Java_java_lang_Throwable_getStackTraceDepth@8 @15
_Java_java_lang_System_mapLibraryName@12 @16
_Java_java_io_RandomAccessFile_length@8 @17
_Java_java_io_FileInputStream_close0@8 @18
_JNU_ThrowIllegalArgumentException@8 @19
VerifyClassCodes @20
winFileHandleOpen @21
jio_fprintf @22
handleLseek @23
_Java_sun_misc_MessageUtils_toStderr@12 @24
_Java_java_lang_reflect_Array_setLong@24 @25
_Java_java_lang_ProcessImpl_exitValue@8 @26
_Java_java_lang_ClassLoader_registerNatives@8 @27
_Java_java_lang_ClassLoader_findLoadedClass0@12 @28
_Java_java_lang_ClassLoader_findBootstrapClass@12 @29
_Java_java_lang_ClassLoader_00024NativeLibrary_find@12 @30
_Java_java_io_ObjectInputStream_bytesToFloats@28 @31
_Java_java_io_FileInputStream_available@8 @32
handleRead @33
_Java_sun_reflect_Reflection_getCallerClass@12 @34
_Java_sun_reflect_NativeMethodAccessorImpl_invoke0@20 @35
_Java_sun_misc_Version_getJvmSpecialVersion@8 @36
_Java_sun_misc_Signal_handle0@20 @37
_Java_java_lang_reflect_Proxy_defineClass0@28 @38
_Java_java_lang_StrictMath_expm1@16 @39
_Java_java_lang_Runtime_maxMemory@8 @40
_Java_java_lang_Float_floatToRawIntBits@12 @41
_Java_java_io_WinNTFileSystem_setPermission@24 @42
_Java_java_io_WinNTFileSystem_getLastModifiedTime@12 @43
_Java_java_io_Win32FileSystem_rename0@16 @44
_Java_java_io_Win32FileSystem_createFileExclusively@12 @45
_JNU_ThrowNoSuchMethodError@8 @46
_JNU_ClassClass@4 @47
JNU_NewObjectByName @48
_Java_sun_misc_GC_maxObjectInspectionAge@8 @49
_Java_java_util_prefs_WindowsPreferences_WindowsRegQueryInfoKey@12 @50
_Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2Ljava_security_AccessControlContext_2@16 @51
_Java_java_lang_reflect_Array_getFloat@16 @52
_Java_java_lang_System_initProperties@12 @53
_Java_java_lang_String_intern@8 @54
_Java_java_lang_StrictMath_tan@16 @55
_Java_java_lang_ProcessImpl_close@8 @56
_Java_java_lang_Class_forName0@20 @57
_Java_java_lang_ClassLoader_defineClass2@32 @58
_Java_java_lang_ClassLoader_00024NativeLibrary_load@12 @59
_Java_java_io_WinNTFileSystem_getBooleanAttributes@12 @60
_Java_java_io_Win32FileSystem_setReadOnly@12 @61
_Java_java_io_Win32FileSystem_getSpace0@16 @62
_JNU_GetStaticFieldByName@20 @63
_JNU_GetEnv@8 @64
_Java_sun_security_provider_NativeSeedGenerator_nativeGenerateSeed@12 @65
_Java_sun_reflect_ConstantPool_getDoubleAt0@16 @66
_Java_sun_misc_Signal_findSignal@12 @67
_Java_java_util_prefs_WindowsPreferences_WindowsRegSetValueEx@20 @68
_Java_java_util_prefs_WindowsPreferences_WindowsRegEnumKeyEx@20 @69
_Java_java_lang_reflect_Array_setDouble@24 @70
_Java_java_lang_reflect_Array_setBoolean@20 @71
_Java_java_lang_reflect_Array_multiNewArray@16 @72
_Java_java_lang_reflect_Array_getInt@16 @73
_Java_java_lang_reflect_Array_getByte@16 @74
_Java_java_lang_StrictMath_hypot@24 @75
_Java_java_lang_StrictMath_atan2@24 @76
_Java_java_lang_Runtime_availableProcessors@8 @77
_Java_java_lang_Float_intBitsToFloat@12 @78
_Java_java_lang_ClassLoader_defineClass1@32 @79
_Java_java_io_WinNTFileSystem_rename0@16 @80
_Java_java_io_WinNTFileSystem_getSpace0@16 @81
_Java_java_io_WinNTFileSystem_canonicalizeWithPrefix0@16 @82
_Java_java_io_Win32FileSystem_canonicalize0@12 @83
_Java_java_io_FileInputStream_readBytes@20 @84
_Java_java_io_FileInputStream_read@8 @85
_Java_java_io_FileDescriptor_set@12 @86
JNU_SetStaticFieldByName @87
GetStringPlatformChars @88
Canonicalize @89
getJavaIDFromLangID @90
_Java_sun_misc_AtomicLong_VMSupportsCS8@8 @91
_Java_java_util_ResourceBundle_getClassContext@8 @92
_Java_java_lang_reflect_Array_setByte@20 @93
_Java_java_lang_reflect_Array_newArray@16 @94
_Java_java_lang_reflect_Array_getLength@12 @95
_Java_java_lang_Thread_registerNatives@8 @96
_Java_java_lang_System_setErr0@12 @97
_Java_java_lang_StrictMath_log10@16 @98
_Java_java_lang_Runtime_freeMemory@8 @99
_Java_java_lang_ProcessImpl_destroy@8 @100
_Java_java_io_RandomAccessFile_close0@8 @101
_Java_java_io_FileOutputStream_writeBytes@20 @102
_Java_java_io_FileDescriptor_sync@8 @103
_JNU_ThrowNumberFormatException@8 @104
_JNU_ThrowNoSuchMethodException@8 @105
_JNU_ThrowNoSuchFieldException@8 @106
_JNU_ThrowIllegalAccessException@8 @107
_JNU_ThrowIOException@8 @108
JDK_GetVersionInfo0 @109
jio_snprintf @110
_Java_sun_reflect_ConstantPool_getStringAt0@16 @111
_Java_sun_misc_Signal_raise0@12 @112
_Java_sun_io_Win32ErrorMode_setErrorMode@16 @113
_Java_java_util_prefs_WindowsPreferences_WindowsRegFlushKey@12 @114
_Java_java_lang_reflect_Array_setShort@20 @115
_Java_java_lang_reflect_Array_setInt@20 @116
_Java_java_lang_reflect_Array_getChar@16 @117
_Java_java_lang_StrictMath_sinh@16 @118
_Java_java_lang_StrictMath_floor@16 @119
_Java_java_lang_StrictMath_exp@16 @120
_Java_java_lang_StrictMath_asin@16 @121
_Java_java_lang_StrictMath_acos@16 @122
_Java_java_lang_Object_registerNatives@8 @123
_Java_java_io_WinNTFileSystem_list@12 @124
_Java_java_io_WinNTFileSystem_getLength@12 @125
_Java_java_io_Win32FileSystem_getLength@12 @126
_Java_java_io_RandomAccessFile_setLength@16 @127
_Java_java_io_ObjectOutputStream_doublesToBytes@28 @128
_Java_java_io_FileOutputStream_initIDs@8 @129
_JNU_ThrowIllegalAccessError@8 @130
_JNU_GetStringPlatformChars@12 @131
_JNU_ClassString@4 @132
JNU_CallMethodByName @133
handleSync @134
_Java_sun_misc_VMSupport_initAgentProperties@12 @135
_Java_java_util_prefs_WindowsPreferences_WindowsRegCloseKey@12 @136
_Java_java_nio_Bits_copyToLongArray@36 @137
_Java_java_nio_Bits_copyFromLongArray@36 @138
_Java_java_lang_Throwable_fillInStackTrace@8 @139
_Java_java_lang_StrictMath_sqrt@16 @140
_Java_java_lang_StrictMath_ceil@16 @141
_Java_java_io_WinNTFileSystem_setLastModifiedTime@20 @142
_Java_java_io_RandomAccessFile_getFilePointer@8 @143
_Java_java_io_ObjectStreamClass_hasStaticInitializer@12 @144
_Java_java_io_FileOutputStream_openAppend@12 @145
_Java_java_io_FileOutputStream_open@12 @146
_Java_java_io_FileInputStream_skip@16 @147
_Java_java_io_FileDescriptor_initIDs@8 @148
_JNU_ThrowStringIndexOutOfBoundsException@8 @149
_JNU_ThrowOutOfMemoryError@8 @150
_JNU_PrintString@12 @151
_JNI_OnLoad@8 @152
JNU_SetFieldByName @153
_Java_sun_reflect_ConstantPool_getSize0@12 @154
_Java_java_util_prefs_WindowsPreferences_WindowsRegDeleteKey@16 @155
_Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2@12 @156
_Java_java_nio_Bits_copyToByteArray@36 @157
_Java_java_lang_reflect_Array_setChar@20 @158
_Java_java_lang_SecurityManager_currentLoadedClass0@8 @159
_Java_java_lang_Runtime_gc@8 @160
_Java_java_lang_Package_getSystemPackages0@8 @161
_Java_java_lang_Double_longBitsToDouble@16 @162
_Java_java_lang_ClassLoader_resolveClass0@12 @163
_Java_java_io_Win32FileSystem_createDirectory@12 @164
_Java_java_io_FileOutputStream_close0@8 @165
_Java_java_io_Console_encoding@8 @166
_Java_java_io_Console_echo@12 @167
_JNU_ThrowNoSuchFieldError@8 @168
_JNU_MonitorWait@16 @169
_JNU_GetFieldByName@20 @170
VerifyClassCodesForMajorVersion @171
NewStringPlatform @172
JNU_CallStaticMethodByName @173
_Java_sun_reflect_NativeConstructorAccessorImpl_newInstance0@16 @174
_Java_sun_reflect_ConstantPool_getMemberRefInfoAt0@16 @175
_Java_sun_reflect_ConstantPool_getIntAt0@16 @176
_Java_sun_reflect_ConstantPool_getFloatAt0@16 @177
_Java_sun_misc_Version_getJdkSpecialVersion@8 @178
_Java_sun_misc_MessageUtils_toStdout@12 @179
_Java_java_util_prefs_WindowsPreferences_WindowsRegDeleteValue@16 @180
_Java_java_nio_Bits_copyFromByteArray@36 @181
_Java_java_lang_System_setIn0@12 @182
_Java_java_lang_StrictMath_log1p@16 @183
_Java_java_lang_SecurityManager_currentClassLoader0@8 @184
_Java_java_lang_Runtime_runFinalization0@8 @185
_Java_java_lang_ProcessEnvironment_environmentBlock@8 @186
_Java_java_io_WinNTFileSystem_checkAccess@16 @187
_Java_java_io_Win32FileSystem_getDriveDirectory@12 @188
_Java_java_io_Win32FileSystem_canonicalizeWithPrefix0@16 @189
_Java_java_io_RandomAccessFile_read@8 @190
_Java_java_io_RandomAccessFile_initIDs@8 @191
_Java_java_io_ObjectStreamClass_initNative@8 @192
_JNU_ToString@8 @193
_Java_sun_reflect_Reflection_getClassAccessFlags@12 @194
_Java_sun_reflect_ConstantPool_getUTF8At0@16 @195
_Java_sun_reflect_ConstantPool_getMethodAtIfLoaded0@16 @196
_Java_sun_reflect_ConstantPool_getMethodAt0@16 @197
_Java_sun_reflect_ConstantPool_getFieldAtIfLoaded0@16 @198
_Java_sun_reflect_ConstantPool_getClassAtIfLoaded0@16 @199
_Java_sun_misc_Version_getJvmVersionInfo@8 @200
_Java_sun_misc_VM_getThreadStateValues@16 @201
_Java_java_util_concurrent_atomic_AtomicLong_VMSupportsCS8@8 @202
_Java_java_util_TimeZone_getSystemGMTOffsetID@8 @203
_Java_java_nio_Bits_copyToIntArray@36 @204
_Java_java_lang_StrictMath_pow@24 @205
_Java_java_lang_StrictMath_cosh@16 @206
_Java_java_lang_SecurityManager_getClassContext@8 @207
_Java_java_lang_Runtime_totalMemory@8 @208
_Java_java_lang_ProcessImpl_waitFor@8 @209
_Java_java_lang_Double_doubleToRawLongBits@16 @210
_Java_java_io_WinNTFileSystem_createDirectory@12 @211
_Java_java_io_Win32FileSystem_setPermission@24 @212
_Java_java_io_Win32FileSystem_initIDs@8 @213
_Java_java_io_RandomAccessFile_write@12 @214
_JNU_CallMethodByNameV@24 @215
getEncodingFromLangID @216
_Java_sun_misc_Version_getJdkVersionInfo@8 @217
_Java_java_util_prefs_WindowsPreferences_WindowsRegCreateKeyEx@16 @218
_Java_java_nio_Bits_copyToShortArray@36 @219
_Java_java_lang_reflect_Array_set@20 @220
_Java_java_lang_reflect_Array_getBoolean@16 @221
_Java_java_lang_System_setOut0@12 @222
_Java_java_lang_System_registerNatives@8 @223
_Java_java_lang_StrictMath_cbrt@16 @224
_Java_java_lang_Compiler_registerNatives@8 @225
_Java_java_lang_Class_getPrimitiveClass@12 @226
_Java_java_io_Win32FileSystem_getLastModifiedTime@12 @227
_Java_java_io_ObjectInputStream_latestUserDefinedLoader@8 @228
_Java_java_io_FileInputStream_open@12 @229
_Java_java_io_FileInputStream_initIDs@8 @230
_JNU_ThrowClassNotFoundException@8 @231
_JNU_ThrowByName@12 @232
_JNU_ReleaseStringPlatformChars@12 @233
_JNU_NewStringPlatform@8 @234
_JNU_Equals@12 @235
_Java_sun_reflect_ConstantPool_getLongAt0@16 @236
_Java_java_util_prefs_WindowsPreferences_WindowsRegOpenKey@20 @237
_Java_java_util_prefs_WindowsPreferences_WindowsRegEnumValue@20 @238
_Java_java_security_AccessController_getStackAccessControlContext@8 @239
_Java_java_security_AccessController_getInheritedAccessControlContext@8 @240
_Java_java_lang_reflect_Array_getShort@16 @241
_Java_java_lang_Runtime_traceInstructions@12 @242
_Java_java_lang_ProcessImpl_create@36 @243
_Java_java_lang_Object_getClass@8 @244
_Java_java_lang_ClassLoader_defineClass0@28 @245
_Java_java_lang_ClassLoader_00024NativeLibrary_unload@8 @246
_Java_java_io_Win32FileSystem_listRoots0@8 @247
_Java_java_io_Win32FileSystem_getBooleanAttributes@12 @248
_Java_java_io_ObjectInputStream_bytesToDoubles@28 @249
_JNU_ThrowInternalError@8 @250
handleWrite @251
_Java_sun_reflect_ConstantPool_getClassAt0@16 @252
_Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedExceptionAction_2Ljava_security_AccessControlContext_2@16 @253
_Java_java_lang_reflect_Array_getLong@16 @254
_Java_java_lang_reflect_Array_get@16 @255
_Java_java_lang_System_identityHashCode@12 @256
_Java_java_lang_StrictMath_sin@16 @257
_Java_java_lang_StrictMath_cos@16 @258
_Java_java_lang_Shutdown_runAllFinalizers@8 @259
_Java_java_lang_SecurityManager_classLoaderDepth0@8 @260
_Java_java_lang_Class_isAssignableFrom@12 @261
_Java_java_io_WinNTFileSystem_setReadOnly@12 @262
_Java_java_io_WinNTFileSystem_initIDs@8 @263
_Java_java_io_WinNTFileSystem_canonicalize0@12 @264
_Java_java_io_FileOutputStream_write@12 @265
_JNU_ThrowNullPointerException@8 @266
_JNU_ThrowArrayIndexOutOfBoundsException@8 @267
_Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedExceptionAction_2@12 @268
_Java_java_nio_Bits_copyFromIntArray@36 @269
_Java_java_lang_Throwable_getStackTraceElement@12 @270
_Java_java_lang_StrictMath_tanh@16 @271
_Java_java_lang_StrictMath_atan@16 @272
_Java_java_lang_Shutdown_halt0@12 @273
_Java_java_io_WinNTFileSystem_getDriveDirectory@12 @274
_Java_java_io_Win32FileSystem_delete0@12 @275
_Java_java_io_RandomAccessFile_seek@16 @276
_Java_java_io_RandomAccessFile_readBytes@20 @277
_Java_java_io_RandomAccessFile_open@16 @278
_Java_java_io_ObjectOutputStream_floatsToBytes@28 @279
_Java_java_io_FileSystem_getFileSystem@8 @280
_JNU_ThrowByNameWithLastError@12 @281
_JNU_Notify@8 @282
_JNU_ClassObject@4 @283
_Java_java_util_prefs_WindowsPreferences_WindowsRegQueryValueEx@16 @284
_Java_java_lang_reflect_Array_setFloat@20 @285
_Java_java_lang_ref_Finalizer_invokeFinalizeMethod@12 @286
_Java_java_lang_Package_getSystemPackage0@12 @287
_Java_java_lang_Class_registerNatives@8 @288
_Java_java_lang_Class_isInstance@12 @289
_Java_java_io_RandomAccessFile_writeBytes@20 @290
_JNU_PrintClass@12 @291
_JNU_IsInstanceOfByName@12 @292
_JNU_CopyObjectArray@16 @293
_JNU_ClassThrowable@4 @294
_Java_sun_misc_AtomicLongCSImpl_attemptUpdate@24 @295
_Java_java_util_logging_FileHandler_isSetUID@8 @296
_Java_java_util_TimeZone_getSystemTimeZoneID@16 @297
_Java_java_sql_DriverManager_getCallerClassLoader@8 @298
_Java_java_lang_StrictMath_log@16 @299
_Java_java_lang_StrictMath_IEEEremainder@24 @300
_Java_java_lang_SecurityManager_classDepth@12 @301
_Java_java_lang_Runtime_traceMethodCalls@12 @302
_Java_java_io_WinNTFileSystem_delete0@12 @303
_Java_java_io_WinNTFileSystem_createFileExclusively@12 @304
_Java_java_io_Win32FileSystem_setLastModifiedTime@20 @305
_Java_java_io_Win32FileSystem_list@12 @306
_Java_java_io_Win32FileSystem_checkAccess@16 @307
_Java_java_io_Console_istty@8 @308
_JNU_ThrowInstantiationException@8 @309
_JNU_ThrowIOExceptionWithLastError@8 @310
_JNU_NotifyAll@8 @311

tdanecito
Offline
Joined: 2005-10-10

Hi Madroadie,

There is some confusion probably on my part but the notes in the project require 1.7.0_x. I noticed I get 43 link errors if I include your java.def file whereas if I use the one I created using java.dll using the dlltolib utility I found I get 11 link errors.

I did setup the version of Visual Studio the developer required hoping the dll problem would go away but it did not. Since it is only 11 errors seems like there may be a problem using the java.dll provided with jdk 1.7 source. I was getting some warnings during the .lib creation that might indicate the root of the problem since I only get 11 link errors.

Still quite surprised the developer requires using java 7 for the build since the dlls are probably different than 1.6.0_x and could cause issues for those using his builds.

I will download what I need to get jvm.lib for version 1.6.0_x and see if the build works any better although it violates the build notes.

Many Thanks,
-Tony

tdanecito
Offline
Joined: 2005-10-10

Hi Madroadie,

Well I figured out what is going on but the fix needs the help of someone who can change the source for the dlls. Seems in the ieEmbed.exe source the old JDIC team did this:

hRes = pBrowserWnd->DispEventAdvise(pBrowserWnd->m_pWB);
pBrowserWnd->m_pWB->put_Silent(true);

They set the silent property of the browser window to true whenever they created a new BrowserWindow object which causes the javascript popup windows to not appear.

I looked through the java source for JDICplus and did not see a way of setting this property without modifying the native peer source somehow.

I am hoping someone who reads this can make the modification or tell us another way to do it. I did not see a way to modify via the windows registry but then I could not have looked hard enough.

Time to get some zzzz's.

Best Regards,
-Tony

madroadie
Offline
Joined: 2006-04-20

Yeah that's from one of my old posts in 2006, sorry I missed that part. Anyway Tony good luck. Maybe I'll take a look at JDICPlus in the next release.

http://forums.java.net/jive/thread.jspa?messageID=160904&#160904

tdanecito
Offline
Joined: 2005-10-10

> Yeah that's from one of my old posts in 2006, sorry
> I missed that part. Anyway Tony good luck. Maybe
> I'll take a look at JDICPlus in the next release.
>
> http://forums.java.net/jive/thread.jspa?messageID=1609
> 04𧒈

Hi madroadie,

Seems compiling is a bit of a problem.

1. the setenv.bat talks about a java.lib which does not exist for jdk 1.7 b34
2. The file formats for the source were detected by Visual Studio to be mac format. I changed the format which eliminated some errors.
3. I needed to add the following env variable that was not mentioned in the instructions: $(ALT_J2SE_SRC)\windows\native\common

4. finally the hopefully last error from Visual Studio that I can not get past probably because it is 2:00AM is:
brjcomponent.cpp(311) : error C2664: 'JNIEnv_::NewString' : cannot convert parameter 1 from 'LPTSTR' to 'const jchar *' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast.

The line of code (in several places) that the compiler is refereing to is:
jstring jsName = jchar *(JNU_NewStringPlatform(env,lpName));

lpName is LPSTR and env is JNIEnv * I tried what was suggested to recast and could not get it to pass compilation.

Any hints appreciated and I will pass the results for others so they also can compile.

Thanks,
-Tony

tdanecito
Offline
Joined: 2005-10-10

Hi Madroadie,

Thanks I tried your recommendation and it did not solve the issue I still get the javascript error dialog when viewing html pages on some sites. I think your idea has merit and will look at it some more.

Thanks,
-Tony

Message was edited by: tdanecito

madroadie
Offline
Joined: 2006-04-20

You can write a registry key when you install, here is some of my logic. It fixes the scripting errors.

You need to do something like this

if (Browser.getBrowserBuild() > 75000)
{
boolean isVista = XSystemHelper.isWindowsVista();
boolean isNTAdmin = NTServiceApi.isNTAdmin();
if (!isVista || (isVista && isNTAdmin))
{
// Please see,
// http://msdn.microsoft.com/library/default.asp?url=/workshop/essentials/w...
// This is for scripting errors we have seen since we
// went
// to IE7 RC 1 (build 7.0.5700.6) with embedded
// scripting clients, like Shockwave.
//
RegistryKey shellFolderKey = new RegistryKey(RootKey.HKEY_LOCAL_MACHINE,
"SOFTWARE\\Microsoft\\Internet Explorer\\Main\\FeatureControl\\FEATURE_BLOCK_LMZ_SCRIPT");

if (!shellFolderKey.exists())
shellFolderKey.create();

if (!shellFolderKey.hasValue("IeEmbed.exe"))
{
RegistryValue value = new RegistryValue("IeEmbed.exe", ValueType.REG_DWORD, Integer.valueOf(0));
shellFolderKey.setValue(value);
}
}
}

madroadie
Offline
Joined: 2006-04-20

You only need the NT Admin Check and Vista checks because of Web Start and Vista UAC because you can't write those Keys to the HCLM. You can test it by hard coding the registry first.

tdanecito
Offline
Joined: 2005-10-10

Hi Madroadie,

First many thanks for replying I am really needing a fix. Second, JDICplus does not have that executable that is used in 0.9.x. So do you think this will work for JDICplus? I can try it anyway anything is better than seeing that dialog box most of the time.

Regards,
-Tony

madroadie
Offline
Joined: 2006-04-20

I haven't used JDICPlus, but yeah it works. Put the name of the hosting application then.. Is JDICPlus a DLL?

tdanecito
Offline
Joined: 2005-10-10

Hi Madroadie,

Thanks for the reply. Yes there are two dlls. I think the main one used is named web.dll. If I can both dlls to the registry that is fine by me.

Let me know how that might change your recommendation.

Best Regards,
-Tony

madroadie
Offline
Joined: 2006-04-20

Just give it a try by hard coding the registry, we only starting seeing this issue in IE 7, we never saw this issue with IE 6. I would put all three keys in there including the hosting application java.exe I know that bites but it might be needed. The older JDIC ran out of process in IeEmbed.exe so IE never saw the parent application java.exe

tdanecito
Offline
Joined: 2005-10-10

Hi Madroadie,

Thanks I will try the hardcoding tonight then let you know what happened.

Still a mystery to me anyway why 0.9.x does not have this issue yet JDICplus 0.2.2 does. Also, this problem does occur for me using IE6.

The javascript errors are valid from my investigation but since IE does not seem to popup that dialog box even with the report java script error checked in the tools ->internet options->advanced options I wonder what was missed during the JDICplus development.

I am hoping your recommendation works because the dialog really ruins users expectations and makes me want to go back to 0.9.x but I really want to try as hard as possible to move onto the next version if JDICplus is it.

Regards,
-Tony

Message was edited by: tdanecito

uta
Offline
Joined: 2007-01-10

You can switch off script debugging feature in IE configuration menu to hide script error notification messages.

oldjack
Offline
Joined: 2008-07-14

Thanx for your response, but this feature doesn't work. Script errors pop-up any longer even if the checkbox "Show Script errors" was disabled in the IE options.

oldjack

shaan20sep
Offline
Joined: 2008-07-21

Hi,

did u find the way to handle this problem? We are also suffering from same.

Shaan

oldjack
Offline
Joined: 2008-07-14

No, unfortunately not. Still waiting for someone, who can tell me how to handle this messy thing called [i][b]Script Error[/b][/i].

oldjack

tdanecito
Offline
Joined: 2005-10-10

I too am having the same issue. Has anyone figured out how to solve this?

Regards,
-Tony

vnsatya
Offline
Joined: 2009-01-27

I know this is really long after your post - but even i have been facing this painful issue.

for some reason - setHTML(inputstream,"") gives javascript errors,
while setURL(string); doesnt give any. so i passed my local file as a url ("file://....)
and the weird javascript errors vanished.

anyway something to note. :)

thanks
satya