change
%JAVA_HOME%bin;
to
%JAVA_HOME%\bin;
Question
Hi i'm using an Eclipse for Android; ECLIPSE ADT BUNDLE i was wondering if i can still use it to create java applications because when i execute a simple program, eg printing text in CMD javac Welcome1.java. i get an error of 'javac' is not recognized as an internal or external command, operable program or batch file.
i set the PATH Environment Variables this way
first i created a new System Variable with a Variable : JAVA_HOME with a value : C:\Program Files\Java\jdk1.7.0_45
still under the system variable, inside the Path variable i inserted " %JAVA_HOME%bin; "
La solution
change
%JAVA_HOME%bin;
to
%JAVA_HOME%\bin;