strictpf in Android from Java Compiler

63 views Asked by At

I have a physics application I want to mantain the deterministic across platforms with scrictfp (which I use and works nowadays in Windows/Mac/Linux Machines) with J2SE 6.

I need to convert this code to compile on:

-Android

-IOS

Is this strictfp possible in these platforms?

2

There are 2 answers

1
Gabe Sechan On

iOS doesn't run Java, so no. Android does run Java 8, so j2Se6 would likely be fine, as long as you weren't trying to do the UI in that library (the Android UI is highly different).

0
Aniruddha K.M On

When it comes to the mobile world,
1) for Android we can use Java for coding so your keyword will work just fine
2) but it won't work on iOS as it does not support Java refer this due to lack of jvm.