Can we run or develop apps for iPhone in Java?
Have a look to these links and answer:
Java is used by a lot of websites to create interactive elements and more. In order to view or use the parts of a website written in Java, Java must be installed on your device. However, iOS and Safari do not support Java.
Despite its popularity and flexibility, Java is not a popular choice when it comes to iOS app development. However, if you already have an Android mobile application developed in Java, you should consider using the same programming language to create the iOS version.
All replies. There is no Java on iOS/iPadOS; Apple has not allowed the Java Virtual Machine to run on the platform. All apps need to be native apps that need to be available through the App Store with its own requirements.
Currently, there is no JVM running on the iPhone. This means that the only way you have to develop apps for iPhone in Java is to have a compiler that will compile your java code down to Objective-C code.
There are several solutions that do exactly that:
Codename One - focuses on building applications using Java with visual tools and simulators. Open source with a SaaS backend that removes the need for a Mac.
XMLVM - a translator to convert Java bytecode to C/Objective-C. Open source, but requires writing iOS specific code at the moment.
There are also several proprietary solutions but I have no experience with them. E.g. Software AG has a tool called web objects.
Sun found they could port Java to the iPhone, but the SDK license prohibits it. So this is not a technical but a political issue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With