Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / May 2004

Tip: Looking for answers? Try searching our database.

C and JAVA integration

Thread view: 
Pak_indo - 08 May 2004 12:55 GMT
Gday folks,

im looking into doing a little running project in JAVA, however I do want to
integrate other pieces of equipment from this program. I would like to know
if it is possible to run C modules from a JAVA program and if it is a
relatively easy task to achieve....

Thanks for any info

Cheers
Juha Laiho - 08 May 2004 19:47 GMT
"Pak_indo" <pak_indo@bigpond.nospam.com> said:
>im looking into doing a little running project in JAVA, however I do want to
>integrate other pieces of equipment from this program. I would like to know
>if it is possible to run C modules from a JAVA program and if it is a
>relatively easy task to achieve....

No personal experience, but what you're looking for is JNI, Java Native
Interface.
Signature

Wolf  a.k.a.  Juha Laiho     Espoo, Finland
(GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
        PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)

Roedy Green - 09 May 2004 06:38 GMT
>im looking into doing a little running project in JAVA, however I do want to
>integrate other pieces of equipment from this program. I would like to know
>if it is possible to run C modules from a JAVA program and if it is a
>relatively easy task to achieve....

see http://mindprod.com/jgloss/jni.html

--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.