Linker problem in Visual C++ 2005 Express Edition

Hi all,

I've a problem with building my native code in the free VC++ Express Edition.

The build process ends up with the line:

win32dirwatcher.obj : error LNK2001: Nicht aufgel鰏tes externes Symbol ""extern "C" long __stdcall JNI_GetCreatedJavaVMs(struct JavaVM_ * *,long,long *)" (?JNI_GetCreatedJavaVMs@@$$J212YGJPAPAUJavaVM_@@JPAJ@Z)".

Obviously the jvm.lib seems to be not well linked. However, I tried to configure the project the best I could, using the line "C:\Programme\Java\jdk1.5.0_06\lib\jvm.lib" in project preferences->configuration->linker->additional dependencies (sorry for probably not fitting caption titles, I use the german language pack).

When setting the linking process to be verbose, the jvm.lib is shown in console besides other statically linked libs.

Does anyone has a suggestion what I am doing wrong?

Thanks in advance,

Henrik

[921 byte] By [torch_2a] at [2007-11-26 18:02:18]
# 1
I solved the problem by updating the JDK to 1.5.0 Update 11. The problem occured with 1.5.0 Update 06.Cheers,Henrik
torch_2a at 2007-7-9 5:32:08 > top of Java-index,Java HotSpot Virtual Machine,Specifications...