您好我在创建新项目时遇到了麻烦。我无法将JDK链接到IDE。
这里有一个与java相关的env变量:
JAVA HOME:/usr/lib64/jvm/jre-1.8.0-openjdk
JAVA ROOT:/usr/lib64/jvm/jre-1.8.0-openjdk
JAVA BINDIR:/usr/lib64/jvm/jre-1.8.0-openjdk/bin
我应该使用什么?
答案 0 :(得分:4)
名称中包含set WshShell = WScript.CreateObject( "WScript.Shell" )
Set wshShell = Wscript.CreateObject( "Wscript.Shell" )
WScript.Echo "HOSTNAME: " & wshShell.ExpandEnvironmentStrings( "%COMPUTERNAME%" )
WScript.Echo "DOMAIN : " & wshShell.ExpandEnvironmentStrings( "%USERDOMAIN%" )
WScript.Echo ""
strServer=wshShell.ExpandEnvironmentStrings( "%COMPUTERNAME%" )
x=msgbox("Windows has reformatted Drive C: on strServer successfully.", 0+64, "Hard Disk Reformat Successful")
的目录只是运行时环境,不包括整个JDK。选择一个实际的JDK目录,如jre
java-1.8.0-openjdk-1.8.0
只包含java-1.8.0-openjdk-1.8.0
),所以你需要安装这一点。
答案 1 :(得分:0)
谢谢你, 我必须在这里下载jdk http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
解决。