'which mecanism to choose the good jdk from pom.xml

i'd like to understand how maven choose the good jdk to build a java project, when i have two different jdks installed ? For example :

/usr/lib/jvm/java-17-openjdk/bin/
/usr/lib/jvm/oracle-jdk-17/bin/

and this pom.xml

 <properties>
      <maven.compiler.release>17</maven.compiler.release>
      <springboot.version>2.6.4</springboot.version>
 </properties>

How maven choose the jdk to build the project ? what system variable or config do i have to check ?



Solution 1:[1]

Have you tried running !pip install tensorflow directly in Jupyter Notebook? It's a temporary workaround, but I am having the same problems and this one helped. Remember to comment it out after installation, so you wont re-run it by accident.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 buddemat