Unable to run Sikuli with JRE7 installed

Asked by Annie

i have JRE7 installed. when attempting to run Sikuli for the first time, it complains that it cannot find c:\program files (x86)\java\jre6....

What can i do to get it running with jre7?

Question information

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

Java 7 not supported.

In any case on Windows it must be a 32Bit JRE.

look faq 1958

Revision history for this message
LW (suckerfred1) said :
#2

I have it running on jre7. just had to go into Java folder and rename folder "jre7" to "jre6" and it should find the javaw file its searching for.

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

Sikuli does not work with Java 7 (screen capture problem) no matter how the folders are named !!!

Revision history for this message
Annie (aner) said :
#4

I followed these steps: https://bugs.launchpad.net/sikuli/+bug/869842
and am now able to start up Sikuli X.

Haven't started working with it yet, so i cant say whether or not it will be able to do screen captures...
Stay tuned.

Revision history for this message
Annie (aner) said :
#5

OK, Confirmed.

Sikuli X will not run with jre7. As soon as I attempt to take a screen shot, the app closes down. No error messages and nothing in the eventlog. :(

So, what am i to do now as i cannot find jre6 download anywhere and would i have to uninstall jre7 first? what about everything else that is running on jre7? im starting to doubt whether this is really the app for me.

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

--- So, what am i to do now as i cannot find jre6 download anywhere
It is still officially available here:
http://www.java.com/de/download/manual_v6.jsp

--- what about everything else that is running on jre7?
Everything should run with JRE 6 as well.
If there is any app, that depends on Java 7, it will tell you (but I doubt that you shave any)

If you want to stick with Java 7:
look faq 1958

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

Sorry for the typo:

If there is any app, that depends on Java 7, it will tell you (but I doubt that you have any)

Revision history for this message
Annie (aner) said :
#8

Thanks.

Installing jre6 sorted the issue. Because it is an earlier version, I am able to run jre6 and 7 simultaniously.
(I just hope this doesnt cause issues later on).

Sikuli is now working :)

Revision history for this message
Annie (aner) said :
#9

Thanks RaiMan, that solved my question.