B4J Question Can I run a B4J app using this old java?

Sandman

Expert
Licensed User
Longtime User
I've never really been able to grasp how Java versions work, so I would appreciate some help here.

Let's assume that I have the latest B4J installed (which require Java JDK v8 (8u40+).

I have a device that is running an older version of java. Let's assume I have no control over the device, so it's not possible to update the java. It reports as:
B4X:
sandman@device: java -version
java version "1.7.0_121"
OpenJDK Runtime Environment (IcedTea 2.6.8) (7u121-2.6.8-2~deb7u1)
OpenJDK Zero VM (build 24.121-b00, interpreted mode)

Using the installed B4J, would I be able to make an app and run it on the device? (The app will have an UI.)

If the answer is NO, would I be able to achieve this if I used an older version of B4J?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Using the installed B4J, would I be able to make an app and run it on the device? (The app will have an UI.)
Non-UI project not based on jServer yes, UI project no.

If the answer is NO, would I be able to achieve this if I used an older version of B4J?
Maybe. It depends whether the installed Java includes JavaFX.

Link to B4J v3.7 which is the last version that supports server solutions based on Java 7: https://www.b4x.com/android/forum/threads/error-after-update-to-latest-ver-b4j.70068/#post-445021
I'm not sure about the required Java version for UI projects in that B4J version.
 
Upvote 0
Top