Hi all I love stackoverflow so helpful.
Afaik IOS has some security measures that dont let other apps (such as jvm) execute code from your app. Not sure how much this is true.
But anyway, I heard that there are some problems when you try to run java application targeted for Windows on android phone.
Is that because some libraries (or most) are not cross platform? Or maybe even standard library is not cross platform (at least not completely)?
So basically if I wanted to code app for both windows,linux,mac,etc AND android, would I have to create functions like:
IF unix THEN unixfunction()
IF android THEN androidfunction()
or I wouldnt have to worry about it?
What should I know if I want to target both android phones AND computers (windows,linux,etc)? Is the above approach okay or I need to know something else? Is this even possible?
Sorry for a lot of questions, But portability was why I got interested in Java.