SikuliX 2.0.5 on Ubuntu 22.04 OS. Please Guide me with the steps.

Asked by manohar

I want to install SikuliX 2.0.5 on Ubuntu 22.04 OS. Please Guide me with the proper steps.

I tried same way how i installed in Ubuntu 20.04 OS. But i am not able to use.

I used Java 19 and Sikulix 2.0.5. When i try to launch IDE is not launching.

Please guide me with proper steps like which java version & which sikulix version will work in Ubuntu 22.04 OS.

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

start from a terminal:

java -jar <path-to>/sikulixide....jar -v

You should see startup log and possible problems

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

no feedback

Revision history for this message
manohar (manohardama) said :
#3

Dear Raiman,

Sorry for the late reply. I was not well. so i could not reply.

please find the below log file. i could not understand the problem.

Log file from terminal:
-----------------------------------------------------------------------------------------------------------------------
user@Manoharubuntu22:~/SikuliX$ java -jar ./sikulixide-2.0.5.jar -v
[DEBUG]startUp: IDE: Running: /home/user/SikuliX/sikulixide-2.0.5.jar
[DEBUG]startUp: IDE: AppData: /home/user/.Sikulix
[DEBUG]startUp: IDE: starting with classpath: ./sikulixide-2.0.5.jar ...
[DEBUG]startUp: IDE: no extensions.txt nor valid content
[1284 debug] RunTime:temp folder ok: /tmp/Sikulix_234620508
Options: *** options dump
Options: testing =
Options: OptionsFile = /home/user/.Sikulix/SikulixStore/SikulixOptions.txt
Options: *** options dump end
***** show environment for 2.0.5 API
user.home: /home/user
work dir: /home/user/SikuliX
running on Linux 5.19.0-40-generic from a jar
running Java Private Build 19.0.2+7-Ubuntu-0ubuntu322.04
java.io.tmpdir: /tmp
app data folder: /home/user/.Sikulix
executing jar: /home/user/SikuliX/sikulixide-2.0.5.jar
*** classpath dump sikulix
  0: ./sikulixide-2.0.5.jar
*** classpath dump end
***** show environment end
[DEBUG]startUp: IDE: *********************** leaving start
[86 debug] Sikulix: starting IDE
[186 debug] RunTime:temp folder ok: /tmp/Sikulix_798481791
Options: *** options dump
Options: testing =
Options: OptionsFile = /home/user/.Sikulix/SikulixStore/SikulixOptions.txt
Options: *** options dump end
***** show environment for 2.0.5 IDE
user.home: /home/user
work dir: /home/user/SikuliX
running on Linux 5.19.0-40-generic from a jar
running Java Private Build 19.0.2+7-Ubuntu-0ubuntu322.04
java.io.tmpdir: /tmp
app data folder: /home/user/.Sikulix
executing jar: /home/user/SikuliX/sikulixide-2.0.5.jar
*** classpath dump sikulix
  0: /home/user/SikuliX/sikulixide-2.0.5.jar
  1: ./sikulixide-2.0.5.jar
*** classpath dump end
***** show environment end
[377 debug] RunTime:***** final cleanup at System.exit() *****
[391 debug] FileManager: deleteFileOrFolder:
/tmp/Sikulix_798481791
[2051 debug] RunTime:***** final cleanup at System.exit() *****
[2066 debug] FileManager: deleteFileOrFolder:
/tmp/Sikulix_234620508
------------------------------------------------------------------------------------------------------------------------

Please help me to resolve the issue.

Revision history for this message
manohar (manohardama) said :
#4

Dear @RaiMan,

Please provide your valuable feedback. I am waiting for your response .

Revision history for this message
Launchpad Janitor (janitor) said :
#5

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
manohar (manohardama) said :
#6

Please check my comment #3. Still I am waiting for the response.

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

Sorry, but I had other priorities.

I checked on Ubuntu 22.04 with Java 20 (openjdk install with snap).
Any other Java 8+ works (recommended 11 or 17).

with sikulixide.jar downloaded
from: https://raiman.github.io/SikuliX1/downloads.html
link: https://launchpad.net/sikuli/sikulix/2.0.5/+download/sikulixide-2.0.5-lux.jar

In Terminal using
java -jar sikulixide.jar -v -c
runs without any problems

- command java
depends on your installed/used java version (might not be on path)

- sikulixide.jar
store the download wherever you want and name it as you like (something.jar)
in the java command use the absolute path to the jar

-v -c
full log to the Terminal window

- before first use:
delete the folder .Sikulix in your home folder

Revision history for this message
manohar (manohardama) said :
#8

Thanks RaiMan, that solved my question.