calling programs from a JAVA application

This is a discussion on calling programs from a JAVA application within the C++ Programming forums, part of the General Programming Boards category; How can I run a program from a java application or an applet....

  1. #1
    Registered User
    Join Date
    May 2003
    Posts
    4

    calling programs from a JAVA application

    How can I run a program from a java application or an applet.

  2. #2
    CS Author and Instructor
    Join Date
    Sep 2002
    Posts
    511

    Smile

    Could you be more specific here?
    Mr. C: Author and Instructor

  3. #3
    The Pantless Man CheesyMoo's Avatar
    Join Date
    Jan 2003
    Posts
    262
    I think people on this board would be more prone to helping you with running a Java app in C program, not the other way. Just a thought.
    If you ever need a hug, just ask.

  4. #4
    tgm
    tgm is offline
    Registered User tgm's Avatar
    Join Date
    Jun 2002
    Posts
    150
    One way to do it: take a look at the exec() method
    http://java.sun.com/j2se/1.4.1/docs/...g/Runtime.html

    /** Edit: for future Java questions, perhaps ask on a Java board like the Sun forums or The Big Moose Saloon */
    Last edited by tgm; 05-04-2003 at 01:46 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. MFC run application by clicking on file...
    By dug in forum Windows Programming
    Replies: 4
    Last Post: 12-02-2004, 04:33 AM
  2. Calling DOS batch Program or other programs?
    By xzer0cool in forum C++ Programming
    Replies: 1
    Last Post: 04-07-2002, 06:35 PM
  3. Calling Programs
    By Nor in forum C++ Programming
    Replies: 4
    Last Post: 03-19-2002, 02:47 PM
  4. calling programs
    By bigSteve in forum C Programming
    Replies: 1
    Last Post: 02-16-2002, 12:40 PM
  5. Visual J#
    By mfc2themax in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 10-08-2001, 03:41 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21