File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Elasticsearch in Action this week in the Big Data forum!
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: 62125


[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: 150

Are you talking about this ? itunestore

if there is no tool make your own.
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.
I agree. Here's the link:
subject: Can you run Java on iOS?