Spigot batch file error

Discussion in 'Spigot Help' started by DarkRageLT, Apr 14, 2017.

  1. Hey guys! Can anyone tell me what is wrong with my batch file? Whenever I run it it says

    Code (Text):
    C:\Users\Admin\Desktop\Server>java -Xmx1G -jar spigot.jar
    'java' is not recognized as an internal or external command,
    operable program or batch file.
    My start batch file:

    Code (Text):
    java -Xmx1G -jar spigot.jar
    PAUSE
    Anyone help? Please?

    Oh and yes, if anyone needs this, I have Java 7
     
  2. Remove all java versions from your PC and download a new version at https://java.com/
     
  3. do this test: Open the the comand prompt with administrator permissions and write "java" and tell me what you said
     
  4. Ain't gonna work, Windows doesn't recognise it