Hello Pranay,

Hopefully, you are doing well. I have seen your email in my Mobile and then
somehow missed to acknowledge your email.

Thanks for digging into this - you've got it exactly right on both points.



DCEVM coverage: Yes, JBR's built-in enhanced class redefinition is what
ofbizDev actually relies on. You're correct that dcevm/dcevm tops out at 8
and TravaOpenJDK at 11 - neither covers trunk's Java 17 baseline (or 21).
JBR is the only maintained path that does, officially through 17/21/25.
Good catch that the README doesn't say this - right now it just describes
JBR as "bundled with IntelliJ," which reads like an incidental detail
rather than the reason it's the recommended source. I'll update it to call
that out explicitly, so it's clear this isn't leaning on an unmaintained
community patch.

IDE-agnostic: Also correct. The plugin only ever resolves
DCEVM_HOME/-PdcevmHome down to a java executable — there's no IntelliJ
dependency in the code at all. Anyone can pull JBR standalone from
JetBrains' releases page and point at it, IntelliJ never has to be
installed. I'll add a short VSCode-oriented example to the README (grab
standalone JBR, set DCEVM_HOME/-PdcevmHome to it, optionally point the Java
extension's configured JDK at the same install) so it doesn't read as
JetBrains-IDE-only.

Here is a PR for your kind reference:
https://github.com/apache/ofbiz-plugins/pull/364

Thank you,
Ashish Vijaywargiya
https://www.linkedin.com/in/ashishvijaywargiya/

On Wed, 5 Aug 2026 at 22:18, Pranay Pandey <[email protected]> wrote:

> Hi Ashish,
>
> Thanks for all the details and work on devreload and the DCEVM-backed
> enhanced mode - really appreciate this. I am certain that it's going to
> make many OFBiz developers happy with the ability to see changes in action
> where they had to restart the server.
>
> I have few questions/confusions that I wanted to put here and confirm.
>
> DCEVM version coverage: I dug into this a bit - the original dcevm/dcevm
> project is indeed limited to Java 7/8, and the TravaOpenJDK forks extend
> that to Java 11 only (last updated a couple of years ago), so neither
> actually covers Java 17/21. What I did find though is that JetBrains
> Runtime (JBR) itself has DCEVM's enhanced class redefinition built in and
> officially maintained for JDK 17, 21, and even 25, and it's downloadable
> standalone from JetBrains' own releases page rather than through an
> unofficial community fork. Is that the JVM enhanced mode is actually
> relying on for OFBiz trunk? If so, might be worth calling that out
> explicitly so it doesn't read as an unmaintained patch.
>
> That also means JBR can be downloaded independently of installing/running
> the IntelliJ IDE itself. Just want to make sure I am understanding it right
> that this plugin is IDE agnostic and can work in all kinds of setups - i.e.
> someone on VSCode should be able to grab JBR directly, point
> DCEVM_HOME/-PdcevmHome at it, and get the same behavior without ever
> installing IntelliJ. Could we make that explicit in the README, e.g. with a
> short note on configuring the JDK path in VSCode's Java extension as an
> additional example, so it doesn't read as a JetBrains-only feature? Am I
> miss-reading something?
>
> Curious to hear your thoughts. Thanks!
>
> Best regards,
> Pranay Pandey
>

Reply via email to