By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,470 Members | 1,907 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,470 IT Pros & Developers. It's quick & easy.

How to invoke a C code using java

P: 4
Can you tell me how to invoke a c code or a c based exe in a java code?
Jan 10 '07 #1
Share this Question
Share on Google+
1 Reply


10K+
P: 13,264
Can you tell me how to invoke a c code or a c based exe in a java code?
to invoke c code use JNI (google it if you've never heard of it before). To call a .exe use the Runtime class (look it up here in the API specs if you've never heard about it before)
Jan 10 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.