How to use the java code in Objective C...

Discussion in 'Mac Programming' started by netrapalg, Mar 11, 2010.

  1. netrapalg macrumors newbie

    Joined:
    Dec 14, 2009
    #1
    Hello Everybody,
    i want to use the java code in objective C class file.anybody tell me how its possible.


    Thanks
    Netra
     
  2. wrldwzrd89 macrumors G5

    wrldwzrd89

    Joined:
    Jun 6, 2003
    Location:
    Solon, OH
    #2
    You have to #include the JNI headers in your source file, so that you can call Java code. Here's the guide to JNI for Java 6: I'm sure you'll find it useful.
     

Share This Page