hello,
could you say which java (JDK) and Python is installed inside a KSE (7.0.4)
or is it using what computer (Win 10, JDK 14 & python 3.7.4, which are in path) have installed?
hello,
could you say which java (JDK) and Python is installed inside a KSE (7.0.4)
or is it using what computer (Win 10, JDK 14 & python 3.7.4, which are in path) have installed?
JDK is Java 8.
As far as Python, I’m not sure if it even comes pre-installed with KSE.
In either case, your system path is not considered at all by KSE.
The following post tells that you need to install Python into your PC for yourself.
Obviously Python is not pre-installed with KSE. But, @Timo_Kuisma1, you should be well aware of it (How to use Python in Katalon Studio - #12 by Timo_Kuisma1), aren’t you? Why do you ask “which Python is in KSE” to others?
On my Mac osx Catalina, I can check the version of JDK as folllows:
$ pwd
/Applications/Katalon Studio.app/Contents/Eclipse/jre/Contents/Home/jre/bin
:/Applications/Katalon Studio.app/Contents/Eclipse/jre/Contents/Home/jre/bin
$ ls
java orbd rmid tnameserv
jjs pack200 rmiregistry unpack200
keytool policytool servertool
:/Applications/Katalon Studio.app/Contents/Eclipse/jre/Contents/Home/jre/bin
$ ./java -version
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
Python 3.7.4
yes, I know that Python is not in KSE, but again I am wonder why getting different result
when python used in KSE. Python with IntelliJ will get in readimage result more text from the image
and same python methods used in both tools
e.g screenshot from page
https://katalon-demo-cura.herokuapp.com/
in KSE imageread result is only text CURA Healthcare Service
and in IntelliJ result is
CURA Healthcare Service
Make Appoinment
Atlanta 550 Pharr Road NE Suite 525
Atlanta, GA 30305
jep.bat works, here is the output:
(base) C:\WINDOWS\system32>c:\users…\anaconda3\scripts\jep.bat
(base) C:\WINDOWS\system32>SETLOCAL
(base) C:\WINDOWS\system32>SET VIRTUAL_ENV=
(base) C:\WINDOWS\system32>IF NOT “” == “” (
SET PATH="\bin";“C:\Progra~1\Java\jdk1.8.0_171\bin”;“C:\Users…\Anaconda3;C:\Users…\Anaconda3\Library\mingw-w64\bin;C:\Users…\Anaconda3\Library\usr\bin;C:\Users…\Anaconda3\Library\bin;C:\Users…\Anaconda3\Scripts;C:\Users…\Anaconda3\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;
…etc… etc… etc…”
SET PYTHONHOME=
)
(base) C:\WINDOWS\system32>SET cp=“c:\users…\anaconda3\Lib\site-packages\jep\jep-3.7.1.jar”
(base) C:\WINDOWS\system32>IF DEFINED CLASSPATH (SET cp=“c:\users…\anaconda3\Lib\site-packages\jep\jep-3.7.1.jar”; )
(base) C:\WINDOWS\system32>SET jni_path=“c:\users…\anaconda3\Lib\site-packages\jep”
(base) C:\WINDOWS\system32>SET args=
(base) C:\WINDOWS\system32>IF “” == “” (SET args=“c:\users…\anaconda3\Lib\site-packages\jep\console.py” )
(base) C:\WINDOWS\system32>java -classpath “c:\users…\anaconda3\Lib\site-packages\jep\jep-3.7.1.jar” -Djava.library.path=“c:\users…\anaconda3\Lib\site-packages\jep” jep.Run “c:\users…\anaconda3\Lib\site-packages\jep\console.py”
No readline available. History will not be available.
For Windows use pyreadline and get it from the official git
repo on github:
https://github.com/pyreadline/pyreadline
Do NOT use the version on pypi.python.org, and therefore
Do NOT use the version installed by pip. It is out of date
and doesn't work with Jep!
I am setting Djava.library.path through the build.sbt file not Run Configurations -> Arguments tab -> VM arguments, cf. build.sbt config in my first comment
Yes I have tried to set all the variation for the path to no avail, cf the PATH environment variable config