Skip to content

FISH-8031 Add JDK Path field to Micro Project launch tab#103

Open
jGauravGupta wants to merge 1 commit into
payara:masterfrom
jGauravGupta:FISH-8031-4
Open

FISH-8031 Add JDK Path field to Micro Project launch tab#103
jGauravGupta wants to merge 1 commit into
payara:masterfrom
jGauravGupta:FISH-8031-4

Conversation

@jGauravGupta
Copy link
Copy Markdown
Contributor

@jGauravGupta jGauravGupta commented May 12, 2026

  • Adds an optional "JDK Path" field with a Browse... button on the Micro
    Project tab.
  • Accepts a JDK home, a bin directory, or a direct java executable,
  • Also switches MavenBuildTool from the deprecated -DpayaraVersion to
    -Dpayara.micro.version to silence the payara-micro-maven-plugin
    deprecation warning.

Adds an optional "JDK Path" field with a Browse... button on the Micro
  Project tab. When set, the launch passes
  -Dpayara.java.home="<jdk>/bin/java[.exe]" to the Maven/Gradle start
  command so Payara Micro runs on the chosen JDK; the existing JAVA_HOME
  fallback (derived from the project's configured JVM) is preserved when
  the field is left blank.

  Accepts a JDK home, a bin directory, or a direct java executable and
  normalizes to the executable form the Payara Micro plugin's javaHome
  parameter expects (otherwise CreateProcess fails with "Access is denied"
  when handed a directory on Windows).

  Also switches MavenBuildTool from the deprecated -DpayaraVersion to
  -Dpayara.micro.version to silence the payara-micro-maven-plugin
  deprecation warning.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants