What or server platform are you targeting? Are you trying to achieve cross-play , or
If you simply add one of these dependencies to your project, your JAR will only work on that particular platform. For a distributable desktop application (like JabRef, a reference manager), you need to produce separate JARs for each platform, plus maybe a "fat JAR" (an uber‑JAR that includes all dependencies and the native code). This process of creating platform‑specific bundles is what developers mean when they talk about "repacking" J2V8.
For Maven users, the maven-shade-plugin or repack-maven-plugin can automate this, allowing you to "shade" (relocate and repack) V8 dependencies into your final uber-jar .
What or server platform are you targeting? Are you trying to achieve cross-play , or
If you simply add one of these dependencies to your project, your JAR will only work on that particular platform. For a distributable desktop application (like JabRef, a reference manager), you need to produce separate JARs for each platform, plus maybe a "fat JAR" (an uber‑JAR that includes all dependencies and the native code). This process of creating platform‑specific bundles is what developers mean when they talk about "repacking" J2V8.
For Maven users, the maven-shade-plugin or repack-maven-plugin can automate this, allowing you to "shade" (relocate and repack) V8 dependencies into your final uber-jar .