Windows 8 PATH issue

I removed Windows 8 calculator from the download as I am having PATH issues, can someone with Windows 8 download this small java file and let me know what the output is as I can’t figure out how java displays Windows 8 and also where the application data is located on Windows 8 and I don’t have Windows 8 to test it.

This was run on my Windows 7 virtual machine.

C:\Users\Ricardo\Desktop>”c:\Program Files\Java\jdk1.6.0_15\bin\java.exe” -jar checkOSName.jar

Operating System Name = windows 7
C:\Users\Ricardo\Application Data\ ==> TRUE
C:\Users\Ricardo\Local Settings\Application Data\ ==> TRUE

Download checkOSName 

If you could download it and send me the result would be greatly appreciated.

One comment:

  1. Finally managed to find out where to put the calculator config for Windows 8 & 8.1

    if (osName.equals("windows 8")) {
    workingDir = (homeDir + "\\AppData\\" + "Roaming\\" + configFile);
    } else(osName.equals("windows 8.1")) {
    workingDir = (homeDir + "\\AppD ata\\" + "Roaming\\" + configFile);

Leave a Reply