Run applet on Android tablet

I already have some applets. I tried to run it on an Android tablet. Wouldn't that even work? I'm not sure? Does anyone know this?

Or it looks like an android. Java is not platform independent ;-)

+6
source share
3 answers

AFAIK there is no JRE (Java Runtime Environment) for Android, so there is no way to run applets. For more information, see the following page: http://www.technipages.com/can-java-applets-run-on-android.html

Here's an interesting article about someone porting a Java applet to Android: An adventure in porting a Java applet to Android without previous Android experience

+4
source

Java is not platform independent.

Java SE is designed for use on desktops and laptops, as well as with Java EE servers.

The applet will not work (even) in the runtime designed for phones - Java ME. Desktop applications have GUI elements. and applets that are not suitable for use on a small screen. Even if they were, many dialogs and other elements would not have the β€œappearance” of their own telephone equivalents (even using PLAF).

+2
source

This will not work, because the api for launching applets is not written to android jvm. There was or is a legal battle between google and the oracle involving Java (tm), and I think that the main reason this api is not implemented by third parties or google.

0
source

Source: https://habr.com/ru/post/919120/


All Articles