Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Problems using jpackage

Carl CaulkettOct 12 2023 — edited Oct 13 2023
  • Mac Mini M1
  • macOS 13.6 Ventura
  • Java 21 - jdk-21.jdk + Maven
  • IntelliJ IDEA Ultimate

I'd like to use jpackage to produce a macOS .app and, later, maybe a .dmg file for distribution and installation. Am I right in thinking that I first need to roll up my app's class files into a combined .jar file and then combine that with the Java run-time to make a fully self-contained app?

UPDATE: I've managed to use the maven-shade-plugin to produce an “über” .jar file with all of the dependencies. In order to use jpackage, do I first have to incorporate the Java run-time into the .jar file, or will jpackage take care of that for me?

Comments

J-
Answer

Solved.

I think this all stems from issues I caused by running two instances of SD at once

https://forums.oracle.com/ords/apexds/post/sql-developerwill-not-start-could-not-install-some-modules-4414

I thought I got past that by deleting the system24.3.1 folder in appdata/roaming/Sql Developer and letting SD recreate the folder. But when I tried that again today to try to troubleshoot the memory issue, I got the same “extensions cannot load” error.

Now, the only way I can run 24.3 is to start it with sqldeveloper64.exe in the bin folder.

The good news is the memory xms/xmx settings are being applied now. So I'll just update my shortcuts to point to 64.exe now and patiently wait for the VS Code extension to get Data Modeler capability.

Marked as Answer by J- · Mar 10 2025
1 - 1

Post Details

Added on Oct 12 2023
2 comments
514 views