Hi guys,
I was wondering whether it’s possible to run librairies that rely on Java to work? (e.g. PySpark)
Thanks,
Charly
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 (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
Thanks! And fantastic tutorial! Do you actually ever sleep Fanilo!?
Would it deploy well on Streamlit Sharing?
I’ll try now! Au diable Patrick Sebastien et son plus grand cabaret du monde!
Charly
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
Hello @amey-st do you maybe have a workaround for this? Thanks in advance!
Fanilo
Hi @Charly_Wargnier -
The fix for being able to add java to the Sharing image just went out a few minutes ago. Please see the following example for how to set it up, which will hopefully allow you to use Java to your heart’s content
Best,
Randy
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.