Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Java 

JNI HELP(repost from c++ section)

hey everyone, i recently have been trying to learn how to use native code in java from an ebook, but im having some issues. At some point the ebook tells me to create a dll from a file with a command, but the command is not recognised.

Command: 'cl -Ic:\java\include -Ic:\java\include\win32 -MD -LD HelloWorld.c -FeHelloWorld.dll'

Error: 'cl' is not recognised....

Another error that i got just now from retrying is : "The program can't start because mspdb110.dll is missing from your computer. Try reinstalling the program to fix this problem."

Please someone help, im in real need of it
Are you on a windows based operating system when running this? Also do you have the C++ packages install on your computer?
you need to have visual studio installed for this to work.
Make sure you have that installed and path variables set properly.
[Image: lKhgahK.gif]
i do have visual studio installed(im on windows), ill try setting the paths properly


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Java] by BinaryBitJul 2, 2015 03:25 PM 23 816 Jul 2, 2015 03:25 PM
Last Post: JavaProfit
[Java] by JavaProphetApr 21, 2015 07:38 PM 0 282 Apr 21, 2015 07:38 PM
Last Post: JavaProphet
[C] by Zy0nApr 10, 2015 12:55 PM 3 77 Apr 10, 2015 12:55 PM
Last Post: g4143