IntelliJ IDEA The selected directory is not a valid home for JDK 錯誤解決辦法
最近想學java,安裝了IntelliJ IDEA,建立了一個hello world專案。 可是說需要我首先配置SDK,那就配吧
可是當我選擇了java安裝目錄時,IntelliJ IDEA卻提示錯誤
The selected directory is not a valid home for JDK
咦,不對呀,我的目錄寫的沒錯啊,java也是可以執行的啊,怎麼回事呢?
後來經過google發現,原來我選擇的是jre的目錄,而jdk....壓根就沒安裝。-_- #
下載jdk
安裝到計算機
然後再來IntelliJ IDEA配置,選擇jdk所在的目錄即可
這樣就好啦
如果你之前還配置過java的環境變數,記得一併修改過來。
jdk與jre
這當然是我這個java外行人或者說初學者才會犯的錯誤,不過我也學習到了jdk和jre的區別。 jre : Java Runtime Enviroment 執行環境 jdk : Java Development Kit 開發元件
簡單來說就是 jdk包含jre
以上參考:http://www.jianshu.com/p/9a09e9916201相關推薦
IntelliJ IDEA The selected directory is not a valid home for JDK 錯誤解決辦法
最近想學java,安裝了IntelliJ IDEA,建立了一個hello world專案。 可是說需要我首先配置SDK,那就配吧 可是當我選擇了java安裝目錄時,IntelliJ IDEA卻提示錯誤 The selected directory is not a valid home for JDK
[IDEA]IntelliJ IDEA匯入JDK出現The selected directory is not a valid home for JDK問題的解決方法
昨天在實驗室的桌上型電腦上配置Java。之前一直在MAC上都是使用IntelliJ IDEA玩耍,這次也不能少了它。馬上上官網下載了一個Windows版的,用學生帳號註冊完之後,就可以直接使用了!但是在匯入JDK的時候遇到了問題 ,下圖是新增JDK的介面: 點選new按鈕後出現下圖:
ubuntu下IDEA配置tomcat報錯Warning the selected directory is not a valid tomcat home
warn 技術 span 更改 文件目錄 tor 選擇 spa .com 產生這個問題的主要原因是文件夾權限問題。 可以修改文件夾權限或者更改tomcat文件目錄所有者。 這裏我直接變更tomcat文件夾所有者: sudo chown -R skh:skh tomcat-
Windows環境下Python 安裝庫 is not a supported wheel on this platform解決辦法【轉】
Windows環境下Python 安裝庫 is not a supported wheel on this platform解決辦法 在使用python進行pdf轉換圖片時,需要PythonMagick庫,但下載了許多whl都無法解決 解決方案 可能的原因
安裝.whl檔案出現 is not a supported wheel on this platform.解決辦法
有一次在學習機器學習演算法的時候,要安裝一個scikit-learn庫,需要依賴庫numpy和matplot庫,但是我安裝的時候出現了is not a supported wheel on this platform的錯誤,我先百度了一下嘗試一些方法: 1. 在pytho
parser.parse is not a function——arcgis api報錯解決辦法
在使用arcgis api的時候,會出現上面這種錯誤,百思不得其解,最後找到解決辦法。 出現這個錯誤的原因是因為你引用的順序和你在function裡面的順序不同造成的,dojo require 要
idea提交git報 is not a working copy directory
修改idea的.idea資料夾的vcs.xml檔案,把svn改為Git<?xml version="1.0" encoding="UTF-8"?> <project version="
Error:Cannot start process, the path specified for working directory is not a directory
If I open one file such as "hw3_prob4Sol.py", the code can run. However, there is an error: Cannot start process, the path specified for working direc
VMware安裝VMware tool是 遇到The path "" is not a valid path to the 3.10.0-693.el7.x86_64 kernel headers.
版本 ron not kernel nbsp valid header function install The path "" is not a valid path to the 3.10.0-693.el7.x86_64 kernel headers.問題是找不到內核
SpringMVC——jsp上傳圖片報錯The current request is not a multipart request的解決辦法
報錯介面如下: 主要報錯語句為: The current request is not a multipart request 就是說當前這個請求不是一個multipart request,也就是說不是上傳檔案的請求。 那怎麼辦呢? 這裡我們需要知道一點,
VM tools安裝錯誤The path "" is not a valid path to the xx generic kernel headers.
VMWARE TOOLS安裝提示THE PATH IS NOT A VALID PATH TO THE GENERIC KERNEL HEADERSI solved this problem, I guess. Perhaps the version.h does not exists a
VM tools安裝錯誤The path "" is not a valid path to the xx generic kernel headers.
最新 distrib vm tools ati ole search war 簡單的 lib VMWARE TOOLS安裝提示THE PATH IS NOT A VALID PATH
tslib編譯使用方法(selected device is not a touchscreen I understand)
出現這個問題花了我兩個小時的時間才去解決掉,原因修改版本後忘了重新編譯LCD。 下面是我一直tslib 的詳細步驟: # tar -xzvf tslib-1.4.tar.gz # cd tslib # ./autogen.sh # mkdir tmp #
tslib移植-selected device is not a touchscreen I understand 錯誤
這篇文章必須要寫,因為昨天移植了觸控式螢幕的驅動後又移植了tslib,拷到開發板上執行後出現了這個錯誤,更恐怖的是花了一個晚上的時間,早上來實驗室才弄好,網上找了好多這個錯誤的解決方法,很多都不是蠻詳細的,都比較不適合我們新手去看。 不過千辛萬苦的是找到了這個部落格,最後幫助我
使用表單在springMVC的後臺上傳檔案時遇到500錯誤:The current request is not a multipart request
一、我出現錯誤的原因 是在前端的表單屬性裡沒有加入這一屬性enctype="multipart/form-data",然後繼續執行Tomcat, 上傳還是報一樣的錯誤,繼續認真觀看,發現我使用表單的預設提交方式,所以把提交方式改為method="post", 再次執行T
解決springMVC檔案上傳報錯: The current request is not a multipart request
轉自:https://blog.csdn.net/HaHa_Sir/article/details/79131607 解決springMVC檔案上傳報錯: The current request is not a multipart request 一、問題描述在使用springMVC做檔案上
檔案上傳相關報錯: The current request is not a multipart request或is a MultipartResolver configured?
1:The current request is not a multipart request 1:from中涉及到圖片上傳的就要用post提交方式。否則就會報這個錯誤。 2:第一中:在jsp頁面的<head></head>標籤裡面加上&
關於docker使用run命令加上引數-it時出現the input device is not a TTY. If you are using mintty, try prefixing the
最近在用docker時建立redis的映象時,使用命令docker run -it --name redis-master redis /bin/bash出現問題the input device is not a TTY. If you are using mintty,
The current request is not a multipart request
今天犯了一個特別2的錯誤,再用Springmvc MultipartFile 上傳檔案時候提交form表單時候一直提交不上去,採用了各路大神的辦法,無濟於事,後來猛然醒悟。form表單提交post請求
SpirngMVC檔案上傳與下載org.springframework.web.multipart.MultipartException: The current request is not a m
最近在專案中,使用springmvc 進行上傳檔案時,出現了一個問題: org.springframework.web.multipart.MultipartException: The current request is not a multipart reques