No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK
小編今天在執行專案時報錯,如下圖:
第一行錯誤排查原因,發現是因為版本不對應,找到專案引用版本的地方發現沒有錯誤,內容如下:
第二行錯誤排查原因:java編譯環境未配置成jdk目錄,檢查確實是這裡的問題
解決方案如下
1、點選工具欄windows——perferences,找到java執行環境配置
2、這裡配置的是jre目錄,但是開發中需要的是jdk目錄,點選add
3、點選add,下一步
4、點選Directory按鈕查詢jdk安裝目錄(開啟windows資源管理器找到jdk的安裝目錄並複製)
5、確定無誤後點擊完成
6、最後選中jdk,為了避免出錯可以把下面的一條刪除
7、右鍵專案選擇
8、修改Alternate JRE
9、配置完成,重新執行專案即可。
相關推薦
【maven】maven的web項目打包報錯:No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK
應用 cga snapshot ace owin span ons sed sse 打包過程中報錯如下: No compiler is provided in this environment. Perhaps you are running on a JRE rather
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
his all true .so java body program mpi .com (1)需要設置JDKWindows -> Perferences -> Java -> Installed JRES加入JDK 如:D:\Program Files\J
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? idea maven 打包報錯問題解決。
jdk dma pom test plugins vat ogr true 指定 mvn clean install -X -Dmaven.test.skip=true -P dev 打包報錯:No compiler is provided in this environm
maven install 報錯 No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
1、控制檯列印資訊 [INFO] Scanning for projects... [INFO] [INFO] ---------------------< org.cqupt.mauger:Resource >---------------------- [INFO] Building Re
No compiler is provided in this environment . Perhaps you are running on a jre rather than a JDK?
背景:利用IDEA+maven構建一個非web的spring boot專案(Windows電腦下),程式碼完成時,使用mvn package打包報錯: No compiler is provided in this environment . Perhaps you are runni
關於maven項報:[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rath
關於eclipse建立maven工後進行測試報[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?的解決辦法: 報錯資訊如下: [E
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK
小編今天在執行專案時報錯,如下圖: 第一行錯誤排查原因,發現是因為版本不對應,找到專案引用版本的地方發現沒有錯誤,內容如下: 第二行錯誤排查原因:java編譯環境未配置成jdk目錄,檢查確實是這裡的
解決案例No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
maven install 初始化失敗 錯誤狀況: 師兄師姐說 .............................................. SUCCESS [ 0.614 s] [INFO] sxsj-common ..................
Maven專案build時出現No compiler is provided in this environment. Perhaps you are running on a JRE rather
Maven專案執行測試時報錯:No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
Maven編譯失敗,提示No compiler is provided in this enviroment. Perhaps you are running on a JRE rathen a JDK ?
style detail wid image 構建項目 then 提示 tail eight 用maven對項目進行構建時,提示No compiler is provided in this enviroment. Perhaps you are running on a
No compiler is provided in this environment Perhaps you are
分享一下我老師大神的人工智慧教程!零基礎,通俗易懂!http://blog.csdn.net/jiangjunshow 也歡迎大家轉載本篇文章。分享知識,造福人民,實現我們中華民族偉大復興!  
maven報no compiler is provided in this environment解決方法
幾年間一直在各大論壇,部落格,觀覽學習,現在工作也有時日了。 打算從現在開始每天整理寫一寫自己曾經遇到過的錯誤和一些對各項技術的理解, 希望能對朋友們有一點幫助,也是對自己知識體系的一次整理 出現此錯誤原因,多是因為eclipse配置maven
已經換成了jdk還是報錯:compiler is provided in this environment
錯誤描述:No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK 一般解決方法:將編譯環境換成jdk即可,網上搜的也大部分是這種解決方法,但是我試過還是不行,因
解決方案:Perhaps you are running on a JRE rather than a JDK?
當在maven的時候出現了這麼一個問題,在網上找了好多答案,都是說:沒有找懂啊一個jdk。如圖: 可是我配置的路徑就是jdk的路徑呀。一直以為是因為其他原因。 後來看了一下路徑下的資料夾,發現我的jdk資料夾下面少了一個jre資料夾。如圖: 後來才想到編譯java檔案需要的是jre
Eclipse中執行Maven打包編譯時出現:Perhaps you are running on a JRE rather than a JDK?
出現錯誤後,查看了許多網友的解決方式,但都沒有解決我遇到的問題,可能是情況還是有些許的不同;下面直接說說我的問題的解決辦法,希望對大家有所幫助;Eclipse中Maven報錯資訊如下: 本以為可能是Eclipse配置Maven沒配置好,或者是jdk和jre環境出現問題,後來在cmd視窗找到
解決Perhaps you are running on a JRE rather than a JDK?問題
轉自:http://www.bubuko.com/infodetail-743907.html Maven-No compiler is provided in this environment. Perhaps you are running on a JRE rathe
IDEA中編譯maven打包中出現 Perhaps you are running on a JRE rather than a JDK的問題解決
LZ是在IDEA新建的maven專案,到DOS介面打包時,提示: [ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather th
解決maven項目install之後報出Perhaps you are running on a JRE rather than a JDK?錯誤
this 意思 能力 依賴 maven項目 com mage sdn aps 轉載:https://blog.csdn.net/hui_2016/article/details/70238741 不管在什麽地方,什麽時候,學習是快速提升自己的能力的一種體現!!!!!!!!
Django is not importable in this environment的解決方法
軟體版本是python3.4.3,Django是2.0.7 (1)file—>open,找到自己的工程檔案(工程名)開啟 (2)file—>settings—>Project Interpreter (3)點選show all (4)隱藏掉連線其他工程的直譯器 (5
Exception: Too many parameters were provided in this RPC request. The maximum
procedure protocol provided request stream Exception: Too many parameters were provided in this RPC request. The maximum is 2100. [Microsoft