cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

A dumb general question - why databricks no support java REPL?

tonykun
New Contributor

I'm a new student to programming world, have strong interest in data engineering and databricks technology. I've tried this product, the UI, notebook, dbfs are very user-friendly and powerful.

Recently, a doubt came to my mind why databricks doesn't support java since spark engine supports API in java, scala, python, R. Why java is the only language left out or there is any way to run java code on databricks cluster?

Sorry for asking a such question. Thank you.

1 REPLY 1

Kaniz
Community Manager
Community Manager

Hi @tony gao​,

Databricks doesn’t support the Java notebook execution directly. You can only run the notebook in R, Python, and Scala. However, there are two ways in which you can run the java code on the Azure Databricks cluster.

1. Create a jar of java code and import the jar into the Databircks cluster.

2. Use Databricks connect to integrate your eclipse with the Databricks cluster.

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.