Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Can you run Java on iOS?  RSS feed

 
Tejas Jain
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm new to iOS?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66203
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No.
 
Christopher McKay
Ranch Hand
Posts: 50
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Reda Mokrane
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
nope
 
Arun Giridhar
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you talking about this ? itunestore
 
Carlos de luna Saenz
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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: http://javafxports.org/page/home have a nice coding.
 
Alexandra Logvin
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 892
8
IBM DB2 Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!