But the correct path into the open javac is possible, I obviously environmental variables not mistaken , ah, solving
------ Solution ----------- ---------------------------------
certainly no configuration or environment variables , it seems there is no other possibility. . .
------ For reference only -------------------------------------- -
I do not have a new variable JAVA_HOME environment variable is possible, but with the % JAVA_HOME% \ bin; does not. . .
------ For reference only -------------------------------------- -
sure the environment variable is not configured correctly .
1 Open My Computer - Properties - Advanced - Environment Variables
2. New system variables JAVA_HOME and CLASSPATH
variable name : JAVA_HOME
variable value : C: \ Program Files \ Java \ jdk1.7.0
variable name : CLASSPATH
variable values :;.% JAVA_HOME% \ lib \ dt.jar;% JAVA_HOME% \ lib \ tools.jar;
3. Select " System Variables " in the variable named "Path" environment variable , double-click on the variable , the absolute path to the JDK installation path bin directory , and add to the value of the Path variable , and use the half-width semicolon and existing paths separated .
variable name : Path
variable value :% JAVA_HOME% \ bin;% JAVA_HOME% \ jre \ bin;
This is the java environment configuration , eclipse started directly after the configuration is complete , it will automatically configure the java environment
------ For reference only ------------ ---------------------------
landlord dos ( command prompt ) prompt window , hit the path command , which contains not see javac.exe directory where the file contains . Included , no problem ; otherwise, it can not.
------ For reference only -------------------------------------- -
Oh no ! How do I ask to be added ? ? ? Thank you ! I was a rookie ! ! Thank you ! !
没有评论:
发表评论