From 896bb763fa1ba36e8a294363720959ffd05a73bb Mon Sep 17 00:00:00 2001 From: Simon Jiang Date: Tue, 28 Nov 2023 16:25:29 +0800 Subject: [PATCH] IDE-5114 let installer support jdk 17 --- .../liferay-workspace-with-devstudio.xml | 30 +++++++++--------- .../liferay-workspace/liferay-workspace.xml | 31 ++++++------------- 2 files changed, 24 insertions(+), 37 deletions(-) diff --git a/build/installers/liferay-workspace-with-devstudio/liferay-workspace-with-devstudio.xml b/build/installers/liferay-workspace-with-devstudio/liferay-workspace-with-devstudio.xml index bc2f453938..e6e132f696 100644 --- a/build/installers/liferay-workspace-with-devstudio/liferay-workspace-with-devstudio.xml +++ b/build/installers/liferay-workspace-with-devstudio/liferay-workspace-with-devstudio.xml @@ -95,21 +95,6 @@ - - - - - - - equals - ${java_version} - 17 - - - - - - @@ -424,6 +409,21 @@ ${java_executable} + + + + + + + contains + ${java_version} + 17 + + + + + + diff --git a/build/installers/liferay-workspace/liferay-workspace.xml b/build/installers/liferay-workspace/liferay-workspace.xml index e2fb9d0efc..c2afca798d 100644 --- a/build/installers/liferay-workspace/liferay-workspace.xml +++ b/build/installers/liferay-workspace/liferay-workspace.xml @@ -240,39 +240,26 @@ + + nativeAbsolutize + ${java_executable}/.. + java_bin_dir + - + - equals - 1 + contains ${java_version} 17 - - - - - - - contains - 1 - ${java_version} - 17 - - - + - - - nativeAbsolutize - ${java_executable}/.. - java_bin_dir - + ../components/run-java-jpm-win.xml