Joke Collection Website - News headlines - Win 8. 1, when installing java, the syntax of file name, directory name or volume label is incorrect. What should I do?

Win 8. 1, when installing java, the syntax of file name, directory name or volume label is incorrect. What should I do?

Computer (Right Click)-Properties-Advanced System Settings-Environment Variables

1. Create a new system variable:

JAVA_HOME

C: \ program files \ Java \ JDK1.6.0 _10 (your JDK installation path)

2. Modify the system variables:

path

% JAVA _ HOME % \ bin% JAVA _ HOME % \ jre \ bin

3. Create a new system variable:

Classpath

. ; % java _ home% \ lib% java _ home% \ lib \ tools.jar (add. To indicate the current path)

Cmd-Java- version is normal

Win8. 1 system is about to

Add the user variable pathc: \ program files \ Java \ JDK1.6.0 _10 \ bin.