编译没问题,cmd下运行java类文件时,提示:java出现找不到文件
程序如下:publicclassAddition{publicstaticvoidmain(String[]args){System.out.prinrln(200+43...
程序如下:
public class Addition{
public static void main(String[] args){
System.out.prinrln(200+432)
}
}
环境变量设置如下:path:C:\Program Files\NVIDIA Corporation\PhysX\Common;%JAVA_HOME%\bin;
classpath:C:\Program Files\Java\jdk1.7.0_01\lib\dt.jar;C:\Program Files\Java\jdk1.7.0_01\lib\tools.jar
JAVA_HOME:C:\Program Files\Java\jdk1.7.0_51
path设这有问题吗?整体如下:C:\Program Files\NVIDIA Corporation\PhysX\Common;%JAVA_HOME%\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\OpenCL SDK\2.0\bin\x86 展开
public class Addition{
public static void main(String[] args){
System.out.prinrln(200+432)
}
}
环境变量设置如下:path:C:\Program Files\NVIDIA Corporation\PhysX\Common;%JAVA_HOME%\bin;
classpath:C:\Program Files\Java\jdk1.7.0_01\lib\dt.jar;C:\Program Files\Java\jdk1.7.0_01\lib\tools.jar
JAVA_HOME:C:\Program Files\Java\jdk1.7.0_51
path设这有问题吗?整体如下:C:\Program Files\NVIDIA Corporation\PhysX\Common;%JAVA_HOME%\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\OpenCL SDK\2.0\bin\x86 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询