# Katalon Java PATH

**URL:** <https://forum.katalon.com/t/katalon-java-path/47846>\
**Category:** Mobile Testing\
**Tags:** mobile-testing, katalon-studio\
**Created:** [September 29, 2020, 9:22am UTC](https://forum.katalon.com/t/katalon-java-path/47846 "2020-09-29T09:22:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajesh.sawant](https://avatars.discourse-cdn.com/v4/letter/r/f475e1/32.png) [@rajesh.sawant](https://forum.katalon.com/u/rajesh.sawant)\
**Post date:** [September 29, 2020, 9:22am UTC](https://forum.katalon.com/t/katalon-java-path/47846/1 "2020-09-29T09:22:40Z")

</div>

I have Ubuntu as Os

## Below appium-doctor logs -

## info AppiumDoctor ✔ ANDROID\_HOME is set to: /home/raj/Android/Sdk info AppiumDoctor ✔ JAVA\_HOME is set to: /usr/bin/java info AppiumDoctor Checking adb, android, emulator info AppiumDoctor ‘adb’ is in /home/raj/Android/Sdk/platform-tools/adb info AppiumDoctor ‘android’ is in /home/raj/Android/Sdk/tools/android info AppiumDoctor ‘emulator’ is in /home/raj/Android/Sdk/emulator/emulator info AppiumDoctor ✔ adb, android, emulator exist: /home/raj/Android/Sdk info AppiumDoctor ✔ Bin directory of $JAVA\_HOME is set info AppiumDoctor ### Diagnostic for necessary dependencies completed, no fix needed. ### info AppiumDoctor info AppiumDoctor ### Diagnostic for optional dependencies starting ### WARN AppiumDoctor ✖ opencv4nodejs cannot be found. info AppiumDoctor ✔ ffmpeg is installed at: /usr/bin/ffmpeg. ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers WARN AppiumDoctor ✖ mjpeg-consumer cannot be found. WARN AppiumDoctor ✖ bundletool.jar cannot be found info AppiumDoctor ✔ gst-launch-1.0 and gst-inspect-1.0 are installed at: /usr/bin/gst-launch-1.0 and /usr/bin/gst-inspect-1.0 info AppiumDoctor ### Diagnostic for optional dependencies completed, 3 fixes possible. ### info AppiumDoctor info AppiumDoctor ### Optional Manual Fixes ### info AppiumDoctor The configuration can install optionally. Please do the following manually: WARN AppiumDoctor ➜ Why opencv4nodejs is needed and how to install it: [https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/image-comparison.md](https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/image-comparison.md) WARN AppiumDoctor ➜ mjpeg-consumer module is required to use MJPEG-over-HTTP features. Please install it with ‘npm i -g mjpeg-consumer’. WARN AppiumDoctor ➜ bundletool.jar is used to handle Android App Bundle. Please read [http://appium.io/docs/en/writing-running-appium/android/android-appbundle/](http://appium.io/docs/en/writing-running-appium/android/android-appbundle/) to install it info AppiumDoctor info AppiumDoctor ### info AppiumDoctor info AppiumDoctor Bye! Run appium-doctor again when all manual fixes have been applied!

## Error occurred on Katalon -

java.util.concurrent.ExecutionException: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: The JAVA\_HOME location ‘/home/raj/Downloads/Katalon\_Studio\_Linux\_64-7.7.1/jre’ must exist  
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’  
System info: host: ‘raj’, ip: ‘127.0.1.1’, os.name: ‘Linux’, os.arch: ‘amd64’, os.version: ‘5.4.0-48-generic’, java.version: ‘1.8.0\_265’  
Driver info: driver.version: SwipeableAndroidDriver  
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: The JAVA\_HOME location ‘/home/raj/Downloads/Katalon\_Studio\_Linux\_64-7.7.1/jre’ must exist  
at getResponseForW3CError (/usr/local/lib/node\_modules/appium/node\_modules/appium-base-driver/lib/protocol/errors.js:804:9)  
at asyncHandler (/usr/local/lib/node\_modules/appium/node\_modules/appium-base-driver/lib/protocol/protocol.js:381:37)  
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’  
System info: host: ‘raj’, ip: ‘127.0.1.1’, os.name: ‘Linux’, os.arch: ‘amd64’, os.version: ‘5.4.0-48-generic’, java.version: ‘1.8.0\_265’  
Driver info: driver.version: SwipeableAndroidDriver  
at com.kms.katalon.composer.components.impl.dialogs.ProgressMonitorDialogWithThread.runAndWait(ProgressMonitorDialogWithThread.java:49)  
at com.kms.katalon.composer.mobile.objectspy.components.MobileLocalAppComposite$12.run(MobileLocalAppComposite.java:474)  
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)  
Caused by: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: The JAVA\_HOME location ‘/home/raj/Downloads/Katalon\_Studio\_Linux\_64-7.7.1/jre’ must exist  
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’  
System info: host: ‘raj’, ip: ‘127.0.1.1’, os.name: ‘Linux’, os.arch: ‘amd64’, os.version: ‘5.4.0-48-generic’, java.version: ‘1.8.0\_265’  
Driver info: driver.version: SwipeableAndroidDriver  
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: The JAVA\_HOME location ‘/home/raj/Downloads/Katalon\_Studio\_Linux\_64-7.7.1/jre’ must exist  
at getResponseForW3CError (/usr/local/lib/node\_modules/appium/node\_modules/appium-base-driver/lib/protocol/errors.js:804:9)  
at asyncHandler (/usr/local/lib/node\_modules/appium/node\_modules/appium-base-driver/lib/protocol/protocol.js:381:37)  
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’  
System info: host: ‘raj’, ip: ‘127.0.1.1’, os.name: ‘Linux’, os.arch: ‘amd64’, os.version: ‘5.4.0-48-generic’, java.version: ‘1.8.0\_265’  
Driver info: driver.version: SwipeableAndroidDriver  
at io.appium.java\_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:208)  
at io.appium.java\_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:217)  
at io.appium.java\_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239)  
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)  
at io.appium.java\_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)  
at io.appium.java\_client.AppiumDriver.execute(AppiumDriver.java:1)  
at io.appium.java\_client.android.AndroidDriver.execute(AndroidDriver.java:1)  
at com.kms.katalon.core.appium.driver.SwipeableAndroidDriver.execute(SwipeableAndroidDriver.java:1)  
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213)  
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)  
at io.appium.java\_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:38)  
at io.appium.java\_client.AppiumDriver.(AppiumDriver.java:84)  
at io.appium.java\_client.android.AndroidDriver.(AndroidDriver.java:85)  
at com.kms.katalon.core.appium.driver.SwipeableAndroidDriver.(SwipeableAndroidDriver.java:24)  
at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:498)  
at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:480)  
at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory.startLocalMobileDriver(MobileDriverFactory.java:527)  
at com.kms.katalon.composer.mobile.objectspy.dialog.MobileInspectorController.startMobileApp(MobileInspectorController.java:195)  
at com.kms.katalon.composer.mobile.objectspy.components.MobileLocalAppComposite$12$1.call(MobileLocalAppComposite.java:479)  
at com.kms.katalon.composer.components.impl.dialogs.ProgressMonitorDialogWithThread.startThreadAndWait(ProgressMonitorDialogWithThread.java:36)  
at com.kms.katalon.composer.components.impl.dialogs.ProgressMonitorDialogWithThread.runAndWait(ProgressMonitorDialogWithThread.java:48)  
… 2 more  
Caused by: java.lang.reflect.InvocationTargetException  
at io.appium.java\_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:186)  
… 22 more  
Caused by: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: The JAVA\_HOME location ‘/home/raj/Downloads/Katalon\_Studio\_Linux\_64-7.7.1/jre’ must exist  
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’  
System info: host: ‘raj’, ip: ‘127.0.1.1’, os.name: ‘Linux’, os.arch: ‘amd64’, os.version: ‘5.4.0-48-generic’, java.version: ‘1.8.0\_265’  
Driver info: driver.version: SwipeableAndroidDriver  
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: The JAVA\_HOME location ‘/home/raj/Downloads/Katalon\_Studio\_Linux\_64-7.7.1/jre’ must exist  
at getResponseForW3CError (/usr/local/lib/node\_modules/appium/node\_modules/appium-base-driver/lib/protocol/errors.js:804:9)  
at asyncHandler (/usr/local/lib/node\_modules/appium/node\_modules/appium-base-driver/lib/protocol/protocol.js:381:37)  
at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$errorHandler$0(W3CHandshakeResponse.java:62)  
at org.openqa.selenium.remote.HandshakeResponse.lambda$getResponseFunction$0(HandshakeResponse.java:30)  
at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:126)  
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:128)  
… 23 more

---

<div class="post-metadata">

**Author:** ![nathaniel.s.thompson](https://avatars.discourse-cdn.com/v4/letter/n/d26b3c/32.png) [@nathaniel.s.thompson](https://forum.katalon.com/u/nathaniel.s.thompson)\
**Post date:** [December 2, 2020, 8:05pm UTC](https://forum.katalon.com/t/katalon-java-path/47846/2 "2020-12-02T20:05:59Z")

</div>

I see the same issue as well!
