Skip to content. | Skip to navigation

Personal tools


You are here: Home / Members / jhb / Python and neo4j on the oculus quest

Python and neo4j on the oculus quest

by Jörg Baach last modified Jan 25, 2021 10:50 AM
Great, python and neo4j can run on the oculus quest.

A silly saturday morning project: can I run neo4j on the oculus quest itself?

The basic idea is to install termux on the quest, which gives you a linux env, which is capable of running python. The heavy lifting is described here:

Next step is to install java on termux:

After that comes neo4j. This can be uploaded and started, but calling ...:7474 will give an error message about the "Service is unavailable". Looking in the logs reveals that jetty crashes because "Parent for temp dir not configured correctly: writeable=false".

So one needs to set a custom tmp directory. I created one, and not knowing anything about java just set the required variable in the  bin/neo4j script:

$ diff neo4j.orig neo4j
<   retval=("${JAVA_CMD}" "-cp" "${CLASSPATH}" "${JAVA_OPTS[@]}" "-Dfile.encoding=UTF-8" "${MAIN_CLASS}" \
>   retval=("${JAVA_CMD}" "-cp" "${CLASSPATH}" "${JAVA_OPTS[@]}" "-Dfile.encoding=UTF-8" "" "${MAIN_CLASS}" \

Next step: create a VR graph editor :-)

Filed under: , ,
Ramin Assadollahi
Ramin Assadollahi says:
Dec 12, 2020 06:19 PM

and did you implement a graph editor (or visualiser as first step) on the quest? there is some interesting libraries for a-frame here:

Add comment

You can add a comment by filling out the form below. Plain text formatting.

Question: What is 42 minus 19?
Your answer: