Complete idiots guide to virtualize Android with bhyve

Polytropon freebsd at edvax.de
Wed Aug 5 15:09:26 UTC 2020


On Wed, 5 Aug 2020 10:39:24 -0400, Jerry wrote:
> On Wed, 5 Aug 2020 14:46:53 +0200, Polytropon stated:
> >On Wed, 5 Aug 2020 11:13:44 +0200, Tomasz CEDRO wrote:
> >> Just an idea - if Android applications were designed to be portable -
> >> why Dalvik/Java cannot be ported to various OS just as Python or Java
> >> is available to make those applications simply work on various
> >> platforms? ;-)  
> >
> >Yes! Java! Write once, run every-... oh sorry, this program
> >only runs on latest "Windows"... ;-)
> 
> There are a couple of questions that need to be answered here.
> 
> 1) Whose fault is it that the application only runs on MS Windows?
> 
> 2) Why would the author of such applications choose to prioritize
> a Microsoft operating system over a rival operating systems?
> 
> Before assessing blame in this situation, those two basic questions
> should first be answered.

Nothing should be answered, because there's a ";-)" appended
to the statement. Java != Java, especially when you consider
how a Java program can hook into OS-specific internals that
sometimes should be abstracted by Java libraries, but in
reality often aren't abstracted, so there is a thick layer
of OS-dependent (!) code involved. You can see this for apps
written in Java intended to be run on Andoid, and even there,
things like "version mismatch" or "only runs on those models"
can be found. Similarly, there are Java programs which can
be called "Java program written for Windows", and as such
will not flawlessly run on anything else, even if the Java
runtime environment is present and working. The reasons
why there is a "for" in the development process can be
many, such as intending a vendor lock-in, requiring 3rd
party libraries not available anywhere else, or having a
testing team that does now have anything than "Windows" PCs
they could test the software on. Comparable reasons can be
found to explain the restrictions of "Java for Android".
Nothing has been asked, nothing needs to be answered. :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list