Ubuntu - Start session from Appium Desktop - Error Original error: Command 'java' not found. Is it installed?

Hi,

I need a help in Ubuntu,
When I Start Session from Appium Desktop following error displayed.

Error
An unknown server-side error occurred while processing the command. Original error: Command ‘java’ not found. Is it installed?

When I run appium-doctor all is well

Environment variable set properly

I’m using latest appium version 1.7.1
Can any one share me solution please

Hi, I too faced this error.
The solution that worked for me is. I installed node.js gui from their website and along with this I got npm installed.

Then, I installed appium 1.7 via command line.

this worked for me.