{"id":1567,"date":"2018-04-25T23:39:28","date_gmt":"2018-04-26T00:09:28","guid":{"rendered":"https:\/\/ultering.com\/it4us\/?p=1567"},"modified":"2020-03-19T23:19:50","modified_gmt":"2020-03-19T23:49:50","slug":"maven-exception-fatal-error-compiling-invalid-target-release","status":"publish","type":"post","link":"https:\/\/ultering.com\/it4us\/?p=1567","title":{"rendered":"MAVEN: EXCEPTION &#8220;FATAL ERROR COMPILING: INVALID TARGET RELEASE:&#8230;&#8221;"},"content":{"rendered":"<p><b>&gt;PROBLEM<\/b><\/p>\n<p>When running &#8220;mvn clean install&#8221; you get:<\/p>\n<p>Fatal error compiling: invalid target release:<\/p>\n<p><b>&gt;SOLUTION<\/b><\/p>\n<p>Set JAVA_HOME envvar or include it into the script which runs maven.<\/p>\n<p>export JAVA_HOME=&#8221;\/home\/portables_d\/jdk1.8.0_144&#8243;<\/p>\n<p><b>&gt;ENV<\/b><\/p>\n<p>linux\/debian<\/p>\n<!--CusAds0-->\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>&gt;PROBLEM When running &#8220;mvn clean install&#8221; you get: Fatal error compiling: invalid target release: &gt;SOLUTION Set JAVA_HOME envvar or include it into the script which runs maven. export JAVA_HOME=&#8221;\/home\/portables_d\/jdk1.8.0_144&#8243; &gt;ENV linux\/debian<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[12],"tags":[],"class_list":["post-1567","post","type-post","status-publish","format-standard","hentry","category-java"],"_links":{"self":[{"href":"https:\/\/ultering.com\/it4us\/index.php?rest_route=\/wp\/v2\/posts\/1567","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ultering.com\/it4us\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ultering.com\/it4us\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ultering.com\/it4us\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/ultering.com\/it4us\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1567"}],"version-history":[{"count":3,"href":"https:\/\/ultering.com\/it4us\/index.php?rest_route=\/wp\/v2\/posts\/1567\/revisions"}],"predecessor-version":[{"id":2632,"href":"https:\/\/ultering.com\/it4us\/index.php?rest_route=\/wp\/v2\/posts\/1567\/revisions\/2632"}],"wp:attachment":[{"href":"https:\/\/ultering.com\/it4us\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1567"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ultering.com\/it4us\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1567"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ultering.com\/it4us\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1567"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}