Run librairies relying on Java to work? (e.g. PySpark)

Hi guys,

I was wondering whether it’s possible to run librairies that rely on Java to work? (e.g. PySpark)

Thanks,
Charly

Hi Charly,

Sure as long they have a Python API and Java is correctly configured on your system :wink: (for a PySpark example check out one of my university tutorials I have to finish writing XD https://github.com/andfanilo/pyspark-streamlit-tutorial)

Cheers,
Fanilo

1 Like

Thanks! And fantastic tutorial! Do you actually ever sleep Fanilo!? :wink:

Would it deploy well on Streamlit Sharing?

I’ll try now! Au diable Patrick Sebastien et son plus grand cabaret du monde! :stuck_out_tongue:

Charly

1 Like

Hmmmm it seems installing Java 8 on Debiant Buster (slim) is not a simple apt-get install openjdk-8-jdk so you can’t simply put it inside packages.txt :confused:

Hello @amey-st do you maybe have a workaround for this? Thanks in advance!

Fanilo

1 Like