Admin commands stopped working

Heya everyone,

Up until recently I was able to use the neo4j-admin commands in PowerShell to, for example dump a database. When I try now though I get the error: "Invoke-Neo4jAdmin : Unable to determine the path to java.exe".

Not sure what I did to break it, but any pointers on what might be going on would be much appreciated!

Thanks in advance,

Axel

Edit:

All the Java-files are still in the Neo4J directory, and the desktop-version works without problems.