- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2025 06:25 AM
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2025 08:21 AM
any update on this? Currently running into the issue of java_home not being set for pyspark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2025 04:56 AM
We solved this by not using pyspark and spark.sql(query) and instead using the databricks package
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2025 06:49 AM
Databricks Apps (which use a lightweight, container-based runtime) do not automatically include JVM, best is to use the databricks package to not have dependency issues.