Solution 1 :
JAVA_HOME
should be C:Program FilesJavajdk1.8.0_131
, without the bin
part. Note that your program is trying to run C:Program FilesJavajdk1.8.0_131binbinjava.exe
– the binbin
is wrong.
Problem :
I have Given Correct JAVA_Home path: C:Program FilesJavajdk1.8.0_131bin
Able to run the Normal JAVA program. But getting an issue while executing Mobile Test script using Appium.
Console:
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command.
Original error: Could not sign with default certificate.
Original error Command 'C:Program FilesJavajdk1.8.0_131binbinjava.exe' not found. Is it installed?
at getResponseForW3CError (C:UsersvenkyAppDataLocalProgramsAppiumresourcesappnode_modulesappiumnode_modulesappium-base-driverlibprotocolerrors.js:804:9)
at asyncHandler (C:UsersvenkyAppDataLocalProgramsAppiumresourcesappnode_modulesappiumnode_modulesappium-base-driverlibprotocolprotocol.js:392:37)
Comments
Comment posted by Arvind Kumar Avinash
The correct path for