Is there a legitimate, automated way to deploy Java applications on iOS4?

I am wondering if there is a standard method for deploying applications originally written in Java on iOS4 devices.

I assume that the application in its original format cannot be deployed - is there perhaps an emulation layer that I can use, or a stable compiler that compiles Java in ObjectiveC?

+6
java virtual-machine objective-c iphone cross-compiling
source share
4 answers

Option 1:

Use one of several cross-compilers when compiling Java in ObjectiveC:

http://www.xmlvm.org/overview/

http://www.flexycore.com/ispectrum-overview.html

Option 2:

A custom JVM package with a java application, with restrictions that correspond to the last convention (including without loading byte code and without compiling JIT). A JVM specifically designed for the iPhone is currently available (October 2010), although IKVM can run on top of Monotouch, and Oracle can subsequently create a Java SE version for the iPhone.

Option 3:

Cross compile Java to one of the existing interpreters that are already accepted on the iPhone (for example, cross compile Java in C # and run the application in a single point)

+2
source share

Under the new current iOS SDK agreement and App Store rules, it may be possible to embed a Java applet with your own JVM interpreter and execution engine (but without the ability to download byte code and impossible JIT compilation).

+1
source share

Another rarely mentioned opportunity for deploying any network or graphical intensive network application, such as many typical Java applets, is to run a custom RDP or VNC viewer on iPhone and view a Java application that is hosted and launched remotely.

0
source share

Mechanically translating some of your code will most likely work while awaiting a cross-compiler / translator search. Trying to run a Java-based GUI on an iPhone is just plain stupid in my opinion. So it would be smart to port the GUI manually.

The problem, of course, is that the application is mostly graphical, you can write it all. Similarly, if an application uses the API, which is not a simple translation for you, you can also rewrite the entire application.

In the walnut sink, I think Steve J. was here, the route you take simply leads to a bad user experience. It really makes me wonder why you even think that a Java-based application will succeed on an iPhone.

-2
source share

All Articles