Skip to content

Commit 86e13e3

Browse files
committed
Remove setting java home
1 parent 13647bc commit 86e13e3

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

examples/graph-analytics-serverless-spark.ipynb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"\n",
4343
"This notebook requires having an AuraDB instance available and have the Aura Graph Analytics [feature](https://neo4j.com/docs/aura/graph-analytics/#aura-gds-serverless) enabled for your project.\n",
4444
"\n",
45-
"You also need to have the `graphdatascience` Python library installed, version `1.15` or later."
45+
"We also need to have the `graphdatascience` Python library installed, version `1.18` or later, as well as `pyspark`. For more information about setting up pyspark visit https://spark.apache.org/docs/latest/api/python/getting_started/"
4646
]
4747
},
4848
{
@@ -84,12 +84,8 @@
8484
"metadata": {},
8585
"outputs": [],
8686
"source": [
87-
"import os\n",
88-
"\n",
8987
"from pyspark.sql import SparkSession\n",
9088
"\n",
91-
"os.environ[\"JAVA_HOME\"] = \"/home/max/.sdkman/candidates/java/current\"\n",
92-
"\n",
9389
"spark = SparkSession.builder.master(\"local[4]\").appName(\"GraphAnalytics\").getOrCreate()\n",
9490
"\n",
9591
"# Enable Arrow-based columnar data transfers\n",

0 commit comments

Comments
 (0)