File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
eclair-front/src/main/resources
eclair-node/src/main/resources Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -284,17 +284,18 @@ java_version_check() {
284284 echo
285285 echo No java installations was detected.
286286 echo Please go to ' https://adoptium.net/temurin/releases/?package=jre&version=21' and download
287+ echo a valid Java Runtime and install before running eclair-front.
287288 echo
288289 exit 1
289290 else
290291 local major=$( echo " $java_version " | cut -d' .' -f1)
291292 if [[ " $major " -eq " 1" ]]; then
292293 local major=$( echo " $java_version " | cut -d' .' -f2)
293294 fi
294- if [[ " $major " -lt " 8 " ]]; then
295+ if [[ " $major " -lt " 21 " ]]; then
295296 echo
296297 echo The java installation you have is not up to date, eclair-front requires
297- echo at least version 1.8 + \( version 11 recommended\) but you have version $java_version
298+ echo at least version 21 + \( version 21 recommended\) but you have version $java_version
298299 echo
299300 echo Please go to ' https://adoptium.net/temurin/releases/?package=jre&version=21' and download
300301 echo a valid Java Runtime and install before running eclair-front.
Original file line number Diff line number Diff line change @@ -284,17 +284,18 @@ java_version_check() {
284284 echo
285285 echo No java installations was detected.
286286 echo Please go to ' https://adoptium.net/temurin/releases/?package=jdk&version=21' and download
287+ echo a valid Java Runtime and install before running eclair-node.
287288 echo
288289 exit 1
289290 else
290291 local major=$( echo " $java_version " | cut -d' .' -f1)
291292 if [[ " $major " -eq " 1" ]]; then
292293 local major=$( echo " $java_version " | cut -d' .' -f2)
293294 fi
294- if [[ " $major " -lt " 8 " ]]; then
295+ if [[ " $major " -lt " 21 " ]]; then
295296 echo
296297 echo The java installation you have is not up to date, eclair-node requires
297- echo at least version 1.8 + \( version 11 recommended\) but you have version $java_version
298+ echo at least version 21 + \( version 21 recommended\) but you have version $java_version
298299 echo
299300 echo Please go to ' https://adoptium.net/temurin/releases/?package=jdk&version=21' and download
300301 echo a valid Java Runtime and install before running eclair-node.
Original file line number Diff line number Diff line change 150150 <arg >-Werror</arg >
151151 <arg >-unchecked</arg >
152152 <arg >-deprecation</arg >
153- <arg >-release:21 </arg >
153+ <arg >-release:${maven.compiler.release} </arg >
154154 </args >
155155 <jvmArgs >
156156 <jvmArg >-Xmx1024m</jvmArg >
You can’t perform that action at this time.
0 commit comments