我在java中有问题在命令提示符下工作? [英] I have problem in java for working in command prompt?
问题描述
我在java中遇到问题当我安装任何版本的java没有javac命令运行并正确执行我确定我已经设置了我的java路径完美,当我从java安装目录执行javac命令时我得到了工作javac命令,但它不工作运行android studio.i也尝试我在谷歌上显示的所有方式我complate formate我的电脑两次但没有java运行请给我任何解决方案请
---我能够在eclips中工作并运行java和android程序但是当我执行javac命令它显示'javac'没有内部或外部命令
---所有是正确的
我的java路径
安装
evrything但java不能在windows 8 pc中运行,也不在windows 8.1 pc中运行
i have a problem in java when i am install any version of java there is no javac command run and execute correctly i am sure i have set my java path perfect and when i am execute javac command from java install directory i got the working javac command but its not working to run android studio.i also try out the all way which i show on the google i am complate formate my pc two time but there no java is running please give me any solution please
---i an able to work in eclips and run java and android program but when i am execute javac in to command it show 'javac' no internal or external command
--- everything is correct
my java path
installation
evrything but java not run in windows 8 pc and also not in windows 8.1 pc
推荐答案
尝试创建一个名为JAVA_HOME的系统变量,并将其值设置为JDK路径。
阅读更多:课程:常见问题(及其解决方案) [ ^ ]
Try creating a system variable called "JAVA_HOME" and set its value to your JDK path.
Read more: Lesson: Common Problems (and Their Solutions)[^]
这篇关于我在java中有问题在命令提示符下工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!