![]() |
| | #1 |
| Registered User Join Date: May 2006
Posts: 1,579
| Visual Studio crashed with using java.exe to load DLL I am using Visual Studio 2003. I am writing a JNI program, and upper layer is Java code and lower layer is C code (DLL). The Java code is utilizing C code by JNI. To debug the C code, in the C DLL Project Properties dialog, I assign Debugging Command to java, then set Command argument to, -classpath "C:\Program Files\Java\jdk1.5.0_06" HelloWorld, when when debugging from Visual Studio, Visual Studio will crash. Do you know anything wrong with the settings? I have also tried to run manually from command line, java -classpath "C:\Program Files\Java\jdk1.5.0_06" HelloWorld and the result is correct. regards, George |
| George2 is offline |
| | #2 |
| Deathray Engineer Join Date: Mar 2007
Posts: 3,211
| Haven't heard of debugging java.exe with MSVS actually. Might want to check out some Java forums and check out how other people debug their JNI stuff.
__________________ |
| MacGyver is offline |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Another syntax error | caldeira | C Programming | 31 | 09-05-2008 01:01 AM |
| multiple errors generated by socket headers | nocturna_gr | Windows Programming | 5 | 12-16-2007 06:33 PM |
| Visual Studio Express for free | Frobozz | C# Programming | 2 | 04-29-2006 09:59 PM |
| Errors with including winsock 2 lib | gamingdl'er | C++ Programming | 3 | 12-05-2005 08:13 PM |
| Erros in Utility Header File | silk.odyssey | C++ Programming | 4 | 12-22-2003 06:17 AM |