【Java】java | idea | idea中terminal的jdk版本与cmd中jdk版本不一致
terminal
The new Windows Terminal and the original Windows console host, all in the same place!
项目地址:https://gitcode.com/gh_mirrors/term/terminal
免费下载资源
·
一、说明
1、本地装了多个jdk版本,jdk7,jdk8,jdk11
2、根据项目不同需要不时的切换JAVA_HOME的版本
3、有个项目是1.8的,Project Structure...修改为1.8;Setting.Java Compiler改为1.8;结果terminal还是open jdk11(神烦)
二、解决
1、idea中,键盘快捷键
Ctrl + N
~~
2、选择Actions,并搜索Switch Boot Jdk
Switch Boot Jdk
3、选择需要的版本,并重启idea
4、如果还不行,就关掉IDEA;删除IDEA的缓存
C:\Users\HUAWEI\.IntelliJIdea2019.2\system
说明1: 删除system这个文件夹
说明2: HUAWEI是电脑名
说明3: 删除后,重启IDEA;然后再执行【2、选择Actions,并搜索Switch Boot Jdk】【3、选择需要的版本,并重启idea 】
~~
GitHub 加速计划 / term / terminal
94.53 K
8.17 K
下载
The new Windows Terminal and the original Windows console host, all in the same place!
最近提交(Master分支:2 个月前 )
06890671
`pathTranslationStyle` has four options:
- `none`: Do no translation
- `wsl`: Translate `C:\` to `/mnt/c` and `\\wsl$\Foo\bar` to `/bar`
- `cygwin`: Translate `C:\` to `/cygdrive/c`
- `msys2`: Translate `C:\` to `/c`
It is intended as a broadly-supported replacement for us checking the
source every time the user drops a path.
We no longer need to push the source name all the way down to the
control.
I am hesitant to commit to using other folks' product names in our
settings model,
however, these are almost certainly more recognizable than whatever
other weird
names we could come up with.
The Git Bash fragment extension profile could conceivably use
`pathTranslationStyle`
`msys2` to make sure drag/dropped paths look right. 2 天前
90866c7c
The original intent with dynamic profiles was that they could be
uninstalled but that Terminal would remember your settings in case they
ever came back.
After we implemented dynamic profile _deletion_, however, we
accidentally made it so that saving your settings after a dynamic
profile disappeared scoured it from the planet _forever_ (since we
remembered that we generated it, but now it was no longer in the
settings file).
This pull request implements:
- Tracking for orphaned dynamic profiles
- A new settings page for the profile that explains what happened
- Badging on the Navigation Menu indicating which profiles are orphaned
and which are hidden
Closes #14061
Closes #11510
Refs #13916
Refs #9997 2 天前
更多推荐
已为社区贡献6条内容
所有评论(0)