News: 1773756011

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Oracle unveils Project Detroit for faster Java interop with JavaScript and Python

(2026/03/17)


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.

[1]

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.

[2]

[3]

How will Project Detroit improve on existing solutions such as GraalWasm, which offers interop with other languages, including JavaScript, via WebAssembly?

"The novel approach that we are taking with Detroit is that we are embedding the V8 and CPython runtime directly inside the JVM process," Traversat told us. "In the past we had Project Nashorn, where we tried to do a full implementation of JavaScript on top of the JVM... the challenge is that you are always swimming against the current, because the entire ecosystem on JavaScript basically is building everything on V8 or Node.js, which is running on V8."

[4]

He added that the JavaScript and Python languages are "not as well specified as the Java language," resulting in "a lot of corner cases that are challenging to support." This problem is eliminated by using the most popular runtimes.

According to Traversat, "we are getting very good performance and a better security model. We can clearly isolate the Java heap versus what is running on the V8 heap or the CPython heap."

On the eve of JavaOne, Oracle had more to tell us. [5]Project Helidon , an open source framework for microservices, will be contributed to the OpenJDK and have its versions aligned with those of the JDK, enabling immediate use of new JDK (Java Development Kit) features and alignment of LTS releases.

[6]

The company is also introducing the Java Verified Portfolio (JVP), described as a "set of services, libraries, frameworks, modules, and tooling" that are supported and validated for enterprise use. The JVP consists of Project Helidon, JavaFX, and the Java platform extension for Visual Studio Code (VS Code). Commercial support for JavaFX, a rich media and graphical framework, has been reintroduced, we were told, because of interest in interactive visualizations in AI and analytics applications.

[7]Vite team boasts 10-30x faster builds with Rust-powered Rolldown

[8]Users protest as Google Antigravity price floats upward

[9]Microsoft ships VS Code weekly, adds Autopilot mode so AI can wreak havoc without bothering you

[10]JetBrains launches AI agent IDE built on the corpse of abandoned Fleet

Another new feature, aimed at those learning Java, is support for Java in VS Code Jupyter notebooks. There is also an addition to the Java Playground online learning platform, enabling sharing of code snippets with students.

AI is everywhere and Oracle is keen to position Java as keeping up, referencing projects such as Helidon AI, Langchain4j for integrating Java with large language models, Spring AI, and the Embabel framework for coding AI agents.

Does Oracle have a policy either internally or for external contributors regarding AI-generated contributions to the code? Not yet, Traversat said. "We're working and hoping to be able to have a clear policy around what is allowed and what is disallowed... of course, we want to be able to leverage AI."

[11]New features in Java 26 itself are mostly incremental or updated previews of enhancements such as primitive types in patterns and switch statements, the Vector API and structured concurrency. HTTP/3 is now supported in the HTTP client API.

There is one footnote, though. The Java applet API has been removed. "It is obsolete because neither recent JDK releases nor current web browsers support applets," states [12]JEP (Java Enhancement Proposal) 504 . One of the original rationales for the confusingly named JavaScript, created by Netscape in 1995, was to script Java applets. Java applets are long gone, but Project Detroit shows that the need for interop between these two languages remains. ®

Get our [13]Tech Resources



[1] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/devops&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=2&c=2abmIshR6AUCOy1gJ-n9ETwAAAAU&t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0

[2] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/devops&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44abmIshR6AUCOy1gJ-n9ETwAAAAU&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0

[3] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/devops&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33abmIshR6AUCOy1gJ-n9ETwAAAAU&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0

[4] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/devops&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44abmIshR6AUCOy1gJ-n9ETwAAAAU&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0

[5] https://helidon.io

[6] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/devops&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33abmIshR6AUCOy1gJ-n9ETwAAAAU&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0

[7] https://www.theregister.com/2026/03/16/vite_8_rolldown/

[8] https://www.theregister.com/2026/03/12/users_protest_as_google_antigravity/

[9] https://www.theregister.com/2026/03/11/visual_studio_code_moves_to/

[10] https://www.theregister.com/2026/03/10/jetbrains_previews_air_proclaims_new/

[11] https://jdk.java.net/26/release-notes

[12] https://openjdk.org/jeps/504

[13] https://whitepapers.theregister.com/



"Project Detroit"

Anonymous Coward

Only a corporate PR flack could think that "Detroit" is good branding for something which is supposed to be forward-looking and effective.

It's confusing. Not sure whether to make a Detroit joke or a Java joke, but it seems Oracle has an idea where the problem factory belongs.

Re: "Project Detroit"

EricM

I'm working with Java since it's 0.9 pre-release back in the 90s, but today, Java is often too complex, too slow, too costly and plagued by bad business decisions by Oracle.

So Detroit's rust-covered factory halls and its management style that is focused more on pressing out that last cent instead of keeping innovation going might actually not be such a bad choice :)

Re: "Project Detroit"

Anonymous Coward

Always got the vibe that Java was the most corporate of programming design decisions which one PHB could make to signal status to another.

Internally, we got started with a LAMP stack for the logic/data and a browser (via VPN) for the interface. Easy to build, easy to maintain, and easy for mostly-data guys to participate in expanding functionality. Despite the rise of SaaS, we've hired to build and maintain the internals, which made things even better. Now we're using a little more Go and a little more Python, for obvious reasons.

The techs don't have a problem when PHP has to call Go and Python. We're lucky the bosses are "just get it done" people rather than the usual corporate robots who want to pretend they're masters of the acronyms they heard at the latest sales junket.

Am I wrong that that seems to be Java? If "nobody ever got fired for buying IBM" then is it the case that no PHB ever "got fired for underlings coding in Oracle?"

Anonymous Coward

Finally, the three languages known for causing the most bugs can now communicate together to make even more bugs.

Androgynous Cupboard

C and C++ have entered the chat

Not with a barge pole

AMBxx

Licence changes incoming!

Re: Not with a barge pole

TVU

"Licence changes incoming!"

...that will highly likely disbenefit existing and new customers (we are dealing with Oracle after all).

Re: Not with a barge pole

Anonymous Coward

IRS/HMRC: You don't want to be audited. Trust us.

Oracle: Hold my beer.

trevorde

I stopped reading at 'Oracle'

Project Detroit

Dan 55

Please submit to a licence audit, you have 20 seconds to comply.

The future isn't what it used to be. (It never was.)