Forum Home
Press F1
 
Thread ID: 127278 2012-10-14 21:30:00 Java envorinmental variable issues wratterus (105) Press F1
Post ID Timestamp Content User
1306835 2012-10-15 06:27:00 For reference, here's my Path system variable from my copy of Windows 8:


C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;%SystemRoot%\system32;%Sy stemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\ System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files (x86)\Windows Kits\8.0\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Windows Live\Shared

The "java" command works, but "javac" doesn't.

Microsoft SQL Server\110\Tools\Binn\ I assume it should only have one n there.
The rest looks Ok but I can't believe how many (especially Windows programs) still need the old path command. It shows we haven't come that far from the days of DOS.
Does the path command cope with the spaces within the directory names? I thought they would need quotes around them or is that from the path command itself.
mikebartnz (21)
1306836 2012-10-15 06:35:00 The semicolons are enough to separate paths ;)

EDIT: That Binn folder is correct.
pcuser42 (130)
1306837 2012-10-15 07:12:00 Open a command prompt window and type "echo %PATH%" and post the contents here. somebody (208)
1306838 2012-10-15 08:09:00 The semicolons are enough to separate paths ;)
I know that but DOS doesn't like spaces in file names and I would treat the path in the DOS fashion and put quotes around the paths with spaces.
mikebartnz (21)
1306839 2012-10-15 20:31:00 Open a command prompt window and type "echo %PATH%" and post the contents here.


C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32 \Wbem;C:\Program Files\Java\jre7\bin

Which lines up perfectly with what is in the Path variables box in system properties.
wratterus (105)
1 2