Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Change the java version of a eclips maven project

<!--in pom.xml-->
<properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <maven.compiler.source>11</maven.compiler.source>
    <maven.compiler.target>11</maven.compiler.target>
</properties>
<!--java version = 11-->
<!--right click on project => maven => update project-->
 
PREVIOUS NEXT
Tagged: #Change #java #version #eclips #maven #project
ADD COMMENT
Topic
Name
2+4 =