[1.0.1] Download during setup does not work --- Getting sun.security.validator.ValidatorException

Asked by Joanne Chao

I am having problem completing my installation of 1.0.1. to use for my test automation using JAVA. Below is the steps I have taken:

. My laptop running 64-bit Windows 7
. Installed latest java 7 update 25 (required for the test frame upgrade that need to run in java 7)
. Downloaded sikuli-setup.jar in C:\Sikuli and the installation
    - double click sikuli-setup.jar
   - opened cmd and cd to C:\Sikuli
   - typed "runSteup.cmd" from the command line

- However, the installation was terminated abnormally. Here is the "SikuliX-1.0.1-SetupLog.txt"
******************************************
.... mor messages
[debug (8/19/13 12:53:11 PM)] RunSetup: RunningSystem: Windows 6.1
[debug (8/19/13 12:53:11 PM)] RunSetup: parent of jar/classes: C:/Sikuli/
[debug (8/19/13 12:53:11 PM)] RunSetup: RunningJava: Java 7 (amd64) 1.7.0_25-b17
[debug (8/19/13 12:53:11 PM)] RunSetup: ... could not detect whether Sikuli is used the first time on this system
[debug (8/19/13 12:53:18 PM)] FileManager: Downloading sikuli-ide-1.0.1.jar having -1 KB
[error (8/19/13 12:53:18 PM)] FileManager: problems while downloading
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[error (8/19/13 12:53:21 PM)] RunSetup: Fatal error 001: not able to download: sikuli-ide-1.0.1.jar
[debug (8/19/13 12:53:21 PM)] RunSetup: Download ended
[error (8/19/13 12:53:21 PM)] RunSetup: download not completed successfully
[error (8/19/13 12:53:21 PM)] RunSetup: ... terminated abnormally :-(

******************************************

Please advise. Thanks!

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
RaiMan Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

The problem might be, that I am internally using https://... links to my public Dropbox. This seems to make problems on some systems with higher security levels.

I checked, that simple http://... links seem to work too.

I made sikuli-setup.jarwith these simple links.

You could do me a favor and test, wether this setup works:
http://dl.dropboxusercontent.com/u/42895525/SikuliX-1.0.1/sikuli-setup.jar

Test it in a fresh folder. Thanks.

Revision history for this message
Joanne Chao (joanne-chao) said :
#2

Thanks, the updated sikuli-setup.jar seemed to bypass the security vaidation. I first deleted everything C:\Sikuli and repeatED the same steps using the udpated jar file. I believe the installation is successful as shown in SikuliX-1.0.1-SetupLog.txt

***************************************************
[debug (8/19/13 3:17:05 PM)] Sikuli-Script startup: 9079
[debug (8/19/13 3:17:14 PM)] RunSetup: ... SikuliX Setup seems to have ended successfully ;-)
****************************************************
I can see that runIDE.cmd also got created in the folder and was able to invoke it to bring up the IDE. Just to confirm -
1. I should not exepct anything to be installed under C:\Program Files (different than the previous version)
2. I have added C:\Sikuli\libs to my PATH enviornment
3. Anything else?

Thanks again!

Revision history for this message
Best RaiMan (raimund-hocke) said :
#3

1. correct: any other folder than one in ProgramFiles has to be used, since we need a user writable folder - so c:\Sikuli is ok

2. the mentioned path entry is not needed, as long as you use the command files in c:\Sikuli (the jars and the .cmd files always have to stay together in one folder). In cases where it is needed (e.g.Java programming in other IDEs), Sikuli would add the path entry for you.

3. simply no ;-)

Thanks for the valuable feedback.

I will later upload the modified sikuli-setup.jar.

If you get any problems, come back to this site, there might be fixes you can get by simply repeating setup.

Revision history for this message
Joanne Chao (joanne-chao) said :
#4

Thanks RaiMan, that solved my question.