我正在构建一个java应用程序,它使用jni调用c ++ dll的某些函数。当我尝试构建我的DLL时,我弹出一个说“无法找到或不匹配'javaw.exe'的调试信息。无法找到或打开pdb文件。我已经设置了我的环境变量。这是正常的,如果没有,是否有办法避免它?
'javaw.exe': Loaded 'C:\Program Files\Java\jdk1.7.0_13\jre\bin\javaw.exe', Cannot find or open the PDB file
'javaw.exe': Loaded 'C:\Windows\System32\ntdll.dll', Symbols loaded (source information stripped).
'javaw.exe': Loaded 'C:\Windows\System32\kernel32.dll', Symbols loaded (source information stripped).
'javaw.exe': Loaded 'C:\Windows\System32\KernelBase.dll', Symbols loaded (source information stripped).
'javaw.exe': Loaded 'C:\Windows\System32\advapi32.dll', Symbols loaded (source information stripped).
'javaw.exe': Loaded 'C:\Windows\System32\user32.dll', Symbols loaded (source information stripped).
'javaw.exe': Loaded 'C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.9200.16384_none_418c2a697189c07f\comctl32.dll', Symbols loaded (source information stripped).
'javaw.exe': Loaded 'C:\Windows\System32\msvcrt.dll', Symbols loaded (source information stripped).
'javaw.exe': Loaded 'C:\Windows\System32\sechost.dll', Symbols loaded (source information stripped).
'javaw.exe': Loaded 'C:\Windows\System32\rpcrt4.dll', Symbols loaded (source information stripped).
'javaw.exe': Loaded 'C:\Windows\System32\gdi32.dll', Symbols loaded (source information stripped).
'javaw.exe': Loaded 'C:\Windows\System32\imm32.dll', Symbols loaded (source information stripped).
'javaw.exe': Loaded 'C:\Windows\System32\msctf.dll', Symbols loaded (source information stripped).
'javaw.exe': Loaded 'C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvStInit64.dll', Cannot find or open the PDB file
'javaw.exe': Loaded 'C:\Windows\System32\psapi.dll', Symbols loaded (source information stripped).
'javaw.exe': Loaded 'C:\Windows\WinSxS\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6871_none_08e717a5a83adddf\msvcr90.dll', Symbols loaded (source information stripped).
'javaw.exe': Loaded 'C:\Program Files\Java\jdk1.7.0_13\jre\bin\msvcr100.dll', Symbols loaded (source information stripped).
'javaw.exe': Loaded 'C:\Program Files\Java\jdk1.7.0_13\jre\bin\server\jvm.dll', Cannot find or open the PDB file
'javaw.exe': Loaded 'C:\Windows\System32\wsock32.dll', Symbols loaded (source information stripped).
'javaw.exe': Loaded 'C:\Windows\System32\winmm.dll', Symbols loaded (source information stripped).
'javaw.exe': Loaded 'C:\Windows\System32\ws2_32.dll', Symbols loaded (source information stripped).
'javaw.exe': Loaded 'C:\Windows\System32\winmmbase.dll', Symbols loaded (source information stripped).
'javaw.exe': Loaded 'C:\Windows\System32\nsi.dll', Symbols loaded (source information stripped).
'javaw.exe': Loaded 'C:\Program Files\Java\jdk1.7.0_13\jre\bin\verify.dll', Cannot find or open the PDB file
'javaw.exe': Loaded 'C:\Program Files\Java\jdk1.7.0_13\jre\bin\java.dll', Cannot find or open the PDB file
'javaw.exe': Loaded 'C:\Program Files\Java\jdk1.7.0_13\jre\bin\zip.dll', Cannot find or open the PDB file
'javaw.exe': Loaded 'C:\Users\anael\Documents\INF2990\Cadriciel\Exe\DLL\INF2990.dll', Symbols loaded.
'javaw.exe': Loaded 'C:\Windows\System32\opengl32.dll', Symbols loaded (source information stripped).
'javaw.exe': Loaded 'C:\Program Files\Java\jdk1.7.0_13\jre\bin\jawt.dll', Cannot find or open the PDB file
答案 0 :(得分:0)
是的,这是正常的。
Visual Studio只是说它找不到在调试时显示C ++源代码所需的pdb文件 - 但不是源代码,而是javaw.exe本身的源代码(你不需要,因为,如果有问题,找到错误的概率在你的代码中,而不是在甲骨文中是非常大的。)