← Back to team overview

sikuli-driver team mailing list archive

[Question #258555]: [error] ResourceLoaderBasic: checkLibsDir: libs dir is not on system path: C:\KarthikFolder\SikuliForLuna\libs

 

New question #258555 on Sikuli:
https://answers.launchpad.net/sikuli/+question/258555

Hi Team,

I am just trying to run a sample java program to check if sikuli is set up fine, but i get the below error

Program - 

import org.sikuli.script.FindFailed;
import org.sikuli.script.Key;
import org.sikuli.script.Pattern;
import org.sikuli.script.Screen;

public class SikuliFirstProg {

	public static void main(String[] args) {

		Screen s = new Screen();
		try {
			s.click(new Pattern("images/startIcon.PNG"));
			s.type(new Pattern("images/search.PNG"), "mstsc");
			s.type(Key.ENTER);
		
		} catch (FindFailed e) {
			e.printStackTrace();
		}
		
	}

}


-------------------------------------------------------------------------------------------------------------------------------------------
[error] ResourceLoaderBasic: checkLibsDir: libs dir is not on system path: C:\KarthikFolder\SikuliForLuna\libs
[action] ResourceLoaderBasic: checkLibsDir: Please wait! Trying to add it to user's path
[info] runcmd: reg QUERY HKCU 
[info] runcmd: reg QUERY HKEY_CURRENT_USER\Environment /v PATH 
[error] ResourceLoaderBasic: checkLibsDir: Logout and Login again! (Since libs folder is in user's path, but not activated)
[error] Terminating SikuliX after a fatal error! Sorry, but it makes no sense to continue!
If you do not have any idea about the error cause or solution, run again
with a Debug level of 3. You might paste the output to the Q&A board.
-------------------------------------------------------------------------------------------------------------------------------------------

Eclipse Version = Luna 4.4.0
Java Version = 1.7.0_67
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)


Please help 

Regds
Karthik


-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.