简体   繁体   中英

Java Path not found (Batch)

I would like to compile an apk file using a batch. But if I try to sign it, it says:

Java HotSpot(TM) Client VM (build 25.77-b03, mixed mode, sharing)
Usage: signapk [-w] publickey.x509 [.pem] privatekey.pk8 input.jar output.jar

The System can't find the given path.

I thought about finding an input and output file in Java and put it in at the settings, but i can't find it. I tried to put in the java path too like given on the Internet, but that did not work.

I think signapk is complaining that it cannot find its input and output file. Try fully qualifying the path to them.

Yeah, it would be good to see the code, bit i can imagine that you tried to write the path without using a variable. Try this: set path=#yourpath# (without the #) You can use the variable with %path%

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM