← Back to team overview

sikuli-driver team mailing list archive

[Bug 893909] Re: [error] Can't create OS Util: org.sikuli.script.Win32Util- exception is thrown whil eusing Sikuli through java

 

@chikori
When asking questions in bugs or questions, that are not yours, you should subscribe to this post (did it for you this time) or post your own question. 

Do you really have a separate JRE 6 installed in C:\Program Files
(x86)\Java\jre6 ?

JAVA_HOME currently does not help with Sikuli.

So Sikuli needs the path to jre6/bin to be in the system path.

In your case this might be
C:\Program Files (x86)\Java\jdk1.6.0_39\jre\bin

When I am right: change system path accordingly.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/893909

Title:
  [error] Can't create OS Util: org.sikuli.script.Win32Util- exception
  is thrown whil eusing Sikuli through java

Status in Sikuli:
  Fix Committed

Bug description:
  I am running Sikuli through java, by using Sikuli-script.jar, while running the script i get the below exception 
  "[error] Can't create OS Util: org.sikuli.script.Win32Util"
  Environment: Windowd 7 (32 bit)
  Installed JDK 1.6.0.29,jre6
  JDK path, JRE path and Sikuli path are given in the system path variable.

  Issue is observed on Windows7 only and its consistent

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/893909/+subscriptions


References