3 ms·
>> What is Java's equivalent of Xamarin or Avalonia? Xamarin - RoboVM was a Java-based competitor to Xamarin which Xamarin acquired in 2015, but it was shutdow
by thesuperbigfrog 4y ago
>> What is Java's equivalent of Xamarin or Avalonia?
Xamarin - RoboVM was a Java-based competitor to Xamarin which Xamarin acquired in 2015, but it was shutdown in 2017 after Microsoft acquired Xamarin. There are some Java-based toolkits such as https://www.codenameone.com/ https://www.codenameone.com/ that target mobile, but they are probably not as well funded as Xamarin has been under Microsoft. From what I hear Xamarin will be deprecated and replaced by MAUI.
Avalonia - Java has had multiplatform windowing for much longer than C# has. The Java Swing toolkit has been part of Java for more than a decade and is still supported in OpenJDK. JavaFX (https://openjfx.io/ https://openjfx.io/) is a newer toolkit that was originally part of Java and was later spun out into its own project.
How well are Xamarin and Avalonia supported if you are doing C# development on Mac or Linux?
>> How do I run Java on iOS?
As stated above, some tools such as https://www.codenameone.com/ https://www.codenameone.com/ and https://github.com/google/j2objc https://github.com/google/j2objc that convert Java code to target iOS.
I have never tried using those tools so I am not sure how good they are.
- lostmsu 4y agoXamarin was quite descent even before Microsoft. MAUI (from little I saw) looks like a rewrite of Xamarin Forms, but the rest is basically Xamarin with terrible name. Neither codenameone nor j2objc seem to be anywhere close in terms of features (including tooling).
- invalidname 4y agoCodename One is more like flutter with a few other things tucked on top. Since it integrates with maven etc. it works with Javas native tooling out of the box. I'd argue it's way ahead of Xamarin.
- lostmsu 4y agoHow's debugging in Codename?
- invalidname 4y agoJust like debugging in Java since it works as a simulator. Everything you can do in the Java debugger you can do in Codename One. For on-device debugging you can translate the code to an OS native project and debug directly using the native tooling xcode/Android Studio.