JAVAONE: Oracle has shipped Java 26, a short-term release, and introduced Project Detroit, which promises faster interop between Java, JavaScript, and Python.Java 26 will be supported for just six months, until the release of Java 27 later this year. The next LTS (long-term support) Java release is expected to be Java 29 in September 2027.
Bernard Traversat, VP software development, said in a briefing that Java developers have long been interested in calling JavaScript from Java and, with the advance of AI, in calling Python code. Although solutions for this exist, the introduction of the FFM (Foreign Function and Memory) API in Java 22, as a more integrated and easier-to-use means of interop than the old JNI (Java Native Interface), has allowed "very thin layers that will enable you to go and call JavaScript, or from JavaScript call back to Java," he said.Project Detroit will be proposed as an OpenJDK project soon, Oracle said, and will be presented at the JavaOne event opening today in Redwood City, California. The initial languages will be JavaScript and Python, with other languages to follow.How will Project Detroit improve on existing solutions such as GraalWasm, which offers interop with other languages, including JavaScript, via WebAssembly?






