I have been studying this problem for some time and have not yet received a clear answer. I am writing a Mac OSX application, which I intend to ultimately host in the application store, and although I can write most of it in Objective-C, I need to call methods from a library that is available only in Java. I have 2 questions:
From what I read, it seems that JNI (using API calls ) is the only acceptable way to do this (although Apple did not recommend using Java in Mac applications, and this is not very acceptable). Is there any other way to do this?
I read that Apple does not allow Java applications in the Mac App store, but will it allow a mostly native application that uses JNI to include some Java classes? Since JNI can be used to “package” a Java virtual machine using an application, it seems that Apple's refusal to enable Java with OSX in the future should not be a problem.
Your understanding will be highly appreciated. Thank you
@Andrew - , , , ( , java.awt java.swing), GCJ//. . , , , GCJ // "" java-, Java- , JDK, . , eclipse.anything .., .
, , java, ( ) objc. , , , , , objc : (
, mac ui ( java ofc). , / - .