It's not a secret anymore!
The moose likes iOS and the fly likes Can you run Java on iOS? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » iOS
Bookmark "Can you run Java on iOS?" Watch "Can you run Java on iOS?" New topic

Can you run Java on iOS?

Tejas Jain
Ranch Hand

Joined: Mar 04, 2008
Posts: 119
I'm new to iOS?

"Knowing is not enough, you must apply... Willing is not enough, you must do."
--Bruce Lee
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63355


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Christopher McKay
Ranch Hand

Joined: Oct 19, 2013
Posts: 50

The simple answer is no. However, if you are looking to make some sort of game, you could use a library LibGDX which will port your code to iOS (as long as you have a mac).
Shai Almog

Joined: Jun 25, 2014
Posts: 7
And there is also Codename One which doesn't require a Mac (since we host them in the cloud).
For completeness sake libGDX uses RoboVM which is the actual underlying compiler. There are also XMLVM, J2ObjC & Avian.

co-founder of the open source Codename One project
Reda Mokrane
Ranch Hand

Joined: Jul 25, 2001
Posts: 237
Arun Giridhar
Ranch Hand

Joined: Mar 10, 2012
Posts: 172

Are you talking about this ? itunestore

Lisp is God!
Carlos de luna Saenz

Joined: Jul 31, 2006
Posts: 4
Of course you can... is not as straight forward as on MacOS where you have your JVM.. legal issues (no technical) have done "impossible" to run a JVM in the iOS environment so you have to "convert you jar packages and distribution in "native iOS programs", i recommed you to take a look to the JavaFX port site: have a nice coding.
Alexandra Logvin

Joined: Mar 29, 2015
Posts: 3
Tejas Jain wrote:I'm new to iOS?

They'are also some apps that allow you to run java websites, one of them i believe is called Photon. In terms of efficiency I experience both good and bad times.
Claude Moore
Ranch Hand

Joined: Jun 24, 2005
Posts: 702

In my humble opinion, as long as there is no official support of a Java VM on iOS, any workaround and effort of running java on such platform won't go very far.. with all my respect to solutions like robovm and similar approaches.
I agree. Here's the link:
subject: Can you run Java on iOS?
It's not a secret anymore!