[Sikuli-driver] [Question #261633]: Unable to Start Sikuli IDE Win7 64bit with Java 32/64bit

2015-02-03 Thread Yik Ran
New question #261633 on Sikuli:
https://answers.launchpad.net/sikuli/+question/261633

Hello,

I have SikuliX 1.1.0. I have been using it for the past month and when I tried 
to install it on another machine, I am getting an issue where I am not able to 
bring up the IDE. 

I installed Sikulix successfully, without any failure. When I do a 
runsikulix.cmd on my command line, it would just show the following lines and 
then not open the IDE:

C:\Users\demo\Documents\SikuliXrunsikulix.cmd
+++ running this Java
java version 1.8.0_31
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) Client VM (build 25.31-b07, mixed mode, sharing)
+++ trying to run SikuliX
+++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar
C:\Users\demo\Documents\SikuliX\sikulix.jar



After that, I did a runsikulix.jar -f test.txt to output any errors into the 
test.txt file and the output file has the following information:
[info] HotkeyManager: add Capture Hotkey: CTRL+SHIFT 2 (50, 3)
[error] WindowsHotkeyManager: JIntellitype problem: Could not load 
JIntellitype.dll from local file system or from inside JAR

I have read a lot of online forums, mainly in this site, and tried multiple 
things like deleting the registry entry (as pointed out by RaiMan in another 
thread) but the issue simply refuses to go away. Please help.


My environment:
Windows 7 Home Premium 64-bit
Java JRE 1.8.0_31 32-bit
(I had both 32 and 64 bit Java JRE on this machine before, but I uninstalled 
both and reinstalled only the 32-bit version as I was thinking that the 64-bit 
Java was the issue)

My sikuli installation worked on two other machines, one a Windows 7 
Professional 64bit and the other is a Windows 7 Home Premium 64 bit. Both of 
those machines have a 32 and 64 bit Java.


My current environment variables:
JAVA_HOME = C:\Program Files\Java\jre1.8.0_31

path = C:\ProgramData\Oracle\Java\javapath;C:\Program 
Files\zSpace\Tracking\4.0.1.75-svn-35737;C:\Program Files 
(x86)\zSpace\Tracking\4.0.1.75-svn-35737;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
 Files (x86)\ATI 
Technologies\ATI.ACE\Core-Static;C:\Users\demo\Documents\SikuliX;C:\Program 
Files\Java\jre1.8.0_31\bin

I have also used the above env variables with Program Files (x86) for the Java 
variables, and they do not work either.

Please help.



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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #261633]: Unable to Start Sikuli IDE Win7 64bit with Java 32/64bit

2015-02-03 Thread Yik Ran
Question #261633 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/261633

Status: Open = Solved

Yik Ran confirmed that the question is solved:
well Raiman I don't know what to say. I tried different things and
finally I got it to work.

I went to the website that has the original Jintellitype.dll and downloaded it:
https://code.google.com/p/jintellitype/downloads/detail?name=jintellitype-1.3.9-dist.zipcan=2q=

and then I unzipped it.
From the unzipped folder, I took the 64bit (Jintellitype64.dll) and stuck it 
in both my sikulix home\lib and Windows\System32 directory, renamed it to 
Jintellitype.dll (backed up the original ones of course). Then I restarted 
sikulix and VOILA it started working again. After that, I removed the 
Jintellitype.dll from Windows\System32 and replaced the one in sikuli 
home\lib with the one that came with the Sikuli installation. And it is still 
working

I still do not know what really happened but hopefully somebody will
find this information helpful.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #261633]: Unable to Start Sikuli IDE Win7 64bit with Java 32/64bit

2015-02-03 Thread Yik Ran
Question #261633 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/261633

Status: Answered = Open

Yik Ran is still having a problem:
Hi RaiMan

 Thanks for your fast reply. I have made the changes to my path as recommended 
so that there are no more references to Java\bin and Sikuli folder:
C:\ProgramData\Oracle\Java\javapath;C:\Program 
Files\zSpace\Tracking\4.0.1.75-svn-35737;C:\Program Files 
(x86)\zSpace\Tracking\4.0.1.75-svn-35737;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
 Files (x86)\ATI Technologies\ATI.ACE\Core-Static

Then I did a java -version and the output is:
C:\Users\demo\Documents\SikuliXjava -version
java version 1.8.0_31
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)

and I ran the sikuli script:
C:\Users\demo\Documents\SikuliXrunsikulix.cmd -d 3 -c
+++ running this Java
java version 1.8.0_31
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
+++ trying to run SikuliX
+++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar
C:\Users\demo\Documents\SikuliX\sikulix.jar -d 3 -c
[debug] Running on Java 8 (1.8.0_31-b13)
[debug] --- Sikuli parameters ---
[debug] 1: -d
[debug] 2: 3
[debug] 3: -c
[debug] ScriptRunner: initScriptingSupport: enter
[debug] JythonScriptRunner: init: setting java environment python.path:
C:\Users\demo\Documents\SikuliX\sikulix.jar\Lib
[debug] ScriptRunner: initScriptingSupport: added: jython
[debug] ScriptRunner: initScriptingSupport: warning: org.sikuli.scriptrunner.ISc
riptRunner: Provider org.sikuli.scriptrunner.JRubyScriptRunner could not be inst
antiated
[debug] ScriptRunner: initScriptingSupport: exit with defaultrunner: jython (py)

[debug] ResourceLoader: SikuliX Package Build: 1.1.0 2015-01-16_01:00nightly
[debug] ResourceLoader: check: we are running on arch: amd64
[debug] ResourceLoader: check: using Java at: C:/Program Files/Java/jre1.8.0_31/

[debug] ResourceLoader: check: Exists Environment.SIKULIX_HOME? YES: C:/Users/de
mo/Documents/SikuliX/libs
[debug] ResourceLoader: checkLibsDir: trying: C:/Users/demo/Documents/SikuliX/li
bs
[debug] ResourceLoader: checkLibsDir: Running on Windows - checking system path!

[debug] ResourceLoader: checkLibsDir: checking ClassLoader.usrPaths having: C:/U
sers/demo/Documents/SikuliX/libs
[debug] ResourceLoader: loadLib: Now loaded: VisionProxy from:
C:\Users\demo\Documents\SikuliX\libs\VisionProxy.dll
[debug] ResourceLoader: checkLibsDir: Using libs at: C:\Users\demo\Documents\Sik
uliX\libs
[debug] Screen: initScreens: ScreenDevice 0 contains (0,0) --- will be used as p
rimary
[debug] Screen: initScreens: basic initialization (1 Screen(s) found)
[debug] Screen: *** monitor configuration (primary: 0) ***
[debug] Screen: 0: S(0)[0,0 1920x1080]
[debug] Screen: *** end monitor configuration ***
[debug] Mouse: init
[debug] KeyBoard: init
[debug] IDE: Adding components to window
[debug] [I18N] menuRecent
[debug] IDE: creating tabbed editor
[debug] IDE: creating message area
[debug] IDE: creating combined work window
[debug] IDE: Putting all together
[info] HotkeyManager: add Capture Hotkey: CTRL+SHIFT 2 (50, 3)
[error] WindowsHotkeyManager: JIntellitype problem: Could not load JIntellitype.
dll from local file system or from inside JAR
[debug] IDE: final cleanup
[debug] FileManager: deleteFileOrFolder: C:\Users\demo\AppData\Local\Temp\BridJE
xtractedLibraries7393197524683127935
[debug] FileManager: deleteFileOrFolder: C:\Users\demo\AppData\Local\Temp\Sikuli
x

It seems like the error where JIntellitype.dll could not be loaded is still 
there but there is a warning where the jruby could not be instantiated?:
[debug] ScriptRunner: initScriptingSupport: added: jython
[debug] ScriptRunner: initScriptingSupport: warning: org.sikuli.scriptrunner.ISc
riptRunner: Provider org.sikuli.scriptrunner.JRubyScriptRunner could not be inst
antiated

Any idea what could be causing this?

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #261633]: Unable to Start Sikuli IDE Win7 64bit with Java 32/64bit

2015-02-03 Thread Yik Ran
Question #261633 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/261633

Yik Ran gave more information on the question:
More info:

I noticed that the build I'm using is:
SikuliX Package Build: 1.1.0 2015-01-16_01:00nightly

And my normally working build is:
SikuliX Package Build: 1.1.0 2015-01-14_01:00nightly

So, I tried replacing the sikulix.jar from the working build into the
machine that is having problems and reran the script. The end result is
still the same, where the IDE would not start with the same
JIntellitype.dll error, but the jruby warning is gone ([debug]
ScriptRunner: initScriptingSupport: added: jruby).

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #261633]: Unable to Start Sikuli IDE Win7 64bit with Java 32/64bit

2015-02-03 Thread Yik Ran
Question #261633 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/261633

Yik Ran gave more information on the question:
I completely reinstalled Sikuli with the 01-14 nightly build (this is
working on other machines), removed the script folder from registry, and
it still would not start! Same error.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp