1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

Calling java program from Cocoa

Discussion in 'Mac Programming' started by satyam90, Jun 2, 2009.

  1. macrumors regular

    satyam90

    #1
    I have java program "Test.java", and it is compiled to "Test". I will run this from terminal using "java Test". This is available in my home directory of my Mac.
    Now, using Cocoa framework and Obj C application, I want to run "Test". How can I do it?
     
  2. macrumors 6502

    #2
    NSTask is the easiest.
     
  3. macrumors 6502a

    mathcolo

Share This Page