Results 1 to 2 of 2
  1. #1
    bernico is offline Member
    Join Date
    Dec 2010
    Posts
    2
    Rep Power
    0

    Default How to run a C application from Java

    Hi! I need your help!

    How can i run a C application from Java? Thanks for your help!

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    14,044
    Blog Entries
    7
    Rep Power
    23

    Default

    Quote Originally Posted by bernico View Post
    Hi! I need your help!

    How can i run a C application from Java? Thanks for your help!
    Read the API documentation for the Runtime.exec( ... ) methods; if your application is stored in a .dll file (or a .so file for Unixes) you could try the JNI or JNA approach.

    kind regards,

    Jos
    The only person who got everything done by Friday was Robinson Crusoe.

Similar Threads

  1. how to call Java Bean Ireport frm Java application
    By Prashant.surwade in forum Advanced Java
    Replies: 8
    Last Post: 05-06-2012, 03:39 PM
  2. Replies: 3
    Last Post: 12-04-2009, 01:10 PM
  3. Log on for GUI java application
    By VinTiger in forum New To Java
    Replies: 0
    Last Post: 03-29-2009, 07:37 PM
  4. Java EE Web Application
    By dan0 in forum Advanced Java
    Replies: 1
    Last Post: 03-25-2009, 10:45 PM
  5. java application
    By jithan in forum New To Java
    Replies: 4
    Last Post: 06-30-2008, 04:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •