Skip to content

4.21.1 release doesn't embed JDK anymore #1187

Closed

Description

@martinlippert

The JustJ JDK that we usually ship pre-installed into the Eclipse based distribution is not there anymore. It is also missing from the snapshot builds (so probably nothing specific to the release build).

This causes the launcher to pick up a (more or less) random JDK or does nothing if it can't find a pre-installed JDK (like in a new machine). In my case, I have a few JDKs installed via sdkman, but that only works if I launch STS from the command line. Double clicking the app icon doesn't work anymore.

Activity

  1. added this to the 4.22.0.RELEASE milestone on Feb 11, 2024
  2. martinlippert commented on Feb 11, 2024

    @martinlippert
    MemberAuthor

    I haven't noticed this during the regular release testing probably because the launcher picked up a JDK from my machine that was around, which is not the case anymore on a different machine. We need to fix this to make sure that the IDE runs on the JDK that we embed and not a random other one.

  3. martinlippert commented on Feb 12, 2024

    @martinlippert
    MemberAuthor

    A few more observations from looking into this:

    • The JDK is not embedded anymore in macOS only. The Linux and Windows builds still includes the JDK.
    • The build logs indicate that the installation of the JustJ feature happens for all five platform builds and completes fine.
    • Running the build locally also results in the JDK being included.

    I have no idea yet why the distributions for macOS that you download from the nightly download page do not include the JDK anymore (same for the 4.21.1 release). Strange...

  4. BoykoAlex commented on Feb 12, 2024

    @BoykoAlex
    Contributor

    Fixed with: aa250f7
    Installed JustJ into .app/Contents/Eclipse - worked fine in both Ubuntu and OSX (via local build), therefore, decided to go ahead with this solution (i.e. without platform specific paths)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

for: eclipsetype: bugtype: install-issue

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions