cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Warehousing & Analytics
Engage in discussions on data warehousing, analytics, and BI solutions within the Databricks Community. Share insights, tips, and best practices for leveraging data for informed decision-making.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Databricks Apps based on Streamlit could not find a valid JAVA_HOME installation

Bakkie
New Contributor II

We are launching our first Databricks Apps based on Streamlit.

The App works when simply running the notebook in our workspace, but fails after deployment due to "could not find a valid JAVA_HOME installation" when running in the system environment.

We tried setting the below environment variables via the app.yaml file (as suggested by the Assistant):

env:
- name: "JNAME"
value: "zulu17-ca-amd64"
- name: "JAVA_HOME"
value: "/usr/lib/jvm/zulu-17-ca-amd64"

Any help is much appreciated!

0 REPLIES 0

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group