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


    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

    NSTask is the easiest.
  3. macrumors 6502a


Share This Page