Date: Wed, 5 Aug 2020 17:09:22 +0200 From: Polytropon <freebsd@edvax.de> To: User Questions <freebsd-questions@freebsd.org> Subject: Re: Complete idiots guide to virtualize Android with bhyve Message-ID: <20200805170922.dfa056f4.freebsd@edvax.de> In-Reply-To: <20200805103924.0637d8e2@scorpio.seibercom.net> References: <CAJ5UdcO32O5DnRDRFTQ0T4cZT4_otgJgMmcGxDTGhzptq-ORrQ@mail.gmail.com> <CAM8r67Dd7Tg7zLbazXhPHxHmWQQ5g%2BN_MPSpqr_Vf%2BNfzMqxfA@mail.gmail.com> <20200805144653.c0d48b2e.freebsd@edvax.de> <20200805103924.0637d8e2@scorpio.seibercom.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200805170922.dfa056f4.freebsd>