• @Aux
    link
    -81 year ago

    Java is only used for software development, there’s nothing Java during run time.

      • @Aux
        link
        01 year ago

        ART what?

        • @[email protected]
          link
          fedilink
          41 year ago

          ART is the equivalent of a JVM. It doesn’t implement all the apis, the compiled bytecode differs, it’s optimized for mobile but that doesn’t make it not a JVM.

          That’s why the NDK exists: so you can build and run C++ code natively.

          • @Aux
            link
            -51 year ago

            Python VM is Java by your logic. If you don’t understand IT, you shouldn’t really talk on IT topics.

            • @[email protected]
              link
              fedilink
              21 year ago

              I can use the exact same apache jars on my Android project and my Java server.

              That’s not Python. That’s very clearly java code.

              The implementation of the contract is different but that’s not the same as not being Java.

              • @Aux
                link
                11 year ago

                You can’t use the same JARs in runtime.

                • @[email protected]
                  link
                  fedilink
                  01 year ago

                  You absolutely can pull the same jars into server and android projects.

                  Sometimes you need a different one for Android to avoid NoClassDefFoundErrors but you’re totally able to grab a jar and stick it directly into both sides.

                  • @Aux
                    link
                    01 year ago

                    The hell are you even talking about? You can’t even load a JAR file on Android. My god…

        • @hark
          link
          01 year ago

          Thou art wrong.

    • @eek2121
      link
      21 year ago

      This is not true. See above.

      • @Aux
        link
        -41 year ago

        It IS true! See the above indeed. In short - there’s no Java anything during runtime and never was.

        • 🧋 Teh C Peng Siu DaiB
          link
          11 year ago

          How would you define what’s “Java” then. The language used by source code, or the compiled bytecode, or the runtime?

          • @Aux
            link
            -41 year ago

            I don’t define anything, there are Java standards which define source code, binary code and runtime behaviour compatibility. That makes it possible to run Java apps on non-Oracle JVMs, use non-Oracle tools, etc. Android doesn’t have anything Java outside of source code. And even Java source code is not 100% compatible. It’s just not Java at all and never was. You can’t even use many open source Java libraries on Android because they are not Android compatible at the source level.