Package Details: neo4j-community 5.24.0-1

Git Clone URL: https://aur.archlinux.org/neo4j-community.git (read-only, click to copy)
Package Base: neo4j-community
Description: A fully transactional graph database implemented in Java
Upstream URL: https://github.com/neo4j/neo4j
Licenses: GPL-3.0-only
Conflicts: neo4j-enterprise
Submitter: tucho
Maintainer: carsme
Last Packager: carsme
Votes: 64
Popularity: 0.78
First Submitted: 2015-12-30 05:23 (UTC)
Last Updated: 2024-09-27 08:15 (UTC)

Dependencies (3)

Required by (1)

Sources (5)

Pinned Comments

hainkind commented on 2024-03-08 19:27 (UTC)

i don't know if this is obvious to everyone but i had to switch my system java default to openjdk 17 via 'sudo archlinux-java set java-17-openjdk'. compile failed with a default version of 21.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 11 Next › Last »

amael commented on 2021-10-30 23:20 (UTC) (edited on 2021-10-30 23:20 (UTC) by amael)

diff --git a/PKGBUILD b/PKGBUILD
index d272282..a2bd7b1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -55,7 +55,7 @@ package() {
   [[ $(ls -A logs/* 2>/dev/null) ]] && cp -r logs/* $pkgdir/$LOG_DIR

   # Copy JARs in lib and plugins
-  LIB_DIR=usr/share/java/neo4j/lib
+  LIB_DIR=usr/share/neo4j/lib
   install -dm755 $pkgdir/$LIB_DIR
   [[ $(ls -A lib/* 2>/dev/null) ]] && cp -r lib/* $pkgdir/$LIB_DIR

CravateRouge commented on 2021-08-23 13:50 (UTC)

@GI_Jack the neo4j JARS are installed in /usr/share/java/neo4j/lib but the bash script /bin/neo4j adds /usr/share/neo4j/lib/ instead. A quick hack is to add /usr/share/java/neo4j/lib/ in the classpath before the java call but in my opinion, the best would be to change the lib installation location.

GI_Jack commented on 2021-08-16 00:11 (UTC)

any ideas?

Error: Could not find or load main class org.neo4j.server.startup.Neo4jCommand
Caused by: java.lang.ClassNotFoundException: org.neo4j.server.startup.Neo4jCommand

hakami1024 commented on 2021-08-01 03:21 (UTC)

@cvelteren, should work with systemd: systemctl start neo4j

cvelteren commented on 2021-05-01 10:21 (UTC) (edited on 2021-05-01 10:21 (UTC) by cvelteren)

Is this package still maintained? It does not run out of the box.

Running sudo NEO4J_HOME=/usr/share/java/neo4j neo4j start requires making a log directory and then it complains about a missing conf file.

Powersource commented on 2020-09-05 21:01 (UTC)

Yeah I needed to follow this apparently https://wiki.archlinux.org/index.php/Java#Switching_between_JVM

ottoshmidt commented on 2020-09-03 14:21 (UTC)

@Powersource you apparently need Java 11 instead of 8.

Powersource commented on 2020-09-01 17:39 (UTC)

Getting this when running either neo4j start or neo4j-admin

ERROR! Neo4j cannot be started using java version 1.8.0_265. 
* Please use Oracle(R) Java(TM) 11, OpenJDK(TM) 11 to run Neo4j.
* Please see https://neo4j.com/docs/ for Neo4j installation instructions.

mnd999 commented on 2020-05-09 11:46 (UTC)

Have you thought about moving the jars to /usr/share/java/neo4j/lib?

I had more success getting neo4j-admin to work with the following patch:

diff --git a/PKGBUILD b/PKGBUILD
index b217852..54c40ab 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 # Contributor: Marcel Campello Ferreira <marcel.campello.ferreira@gmail.com>
 pkgname=neo4j-enterprise
 pkgver=4.0.4
-pkgrel=1
+pkgrel=2
 pkgdesc='A fully transactional graph database implemented in Java'
 arch=(any)
 url=http://neo4j.org/
@@ -19,7 +19,7 @@ source=(http://dist.neo4j.org/neo4j-enterprise-$pkgver-unix.tar.gz
         neo4j.service
         neo4j-tmpfile.conf)
 sha256sums=('c511128e00abc51feceaef2029c1a4d37af53b80d78621f98a788b56d9fc51ec'
-            '40ecfbdcb843577a0e9b677e9c0cc7ab4899962309d6148ce8fcd1da35560103'
+            'db152528593b4177e047ea642d0c8d53f777266a09c1803aa4f8363336f646b1'
             'f95936abc4a519b01d2cd987cd38a253003cf4cd39bfab29948708e82d98de66'
             '4e56e56e38cfe91755adf76642972bece509a9fd3f7d1851d65715fff762b9db'
             'e1311352e05b1e698599b91883141b938ceb418abd7e6bc11cc964854f0a21e1')
@@ -47,7 +47,7 @@ package() {
   [[ $(ls -A logs/* 2>/dev/null) ]] && cp -r logs/* $pkgdir/$LOG_DIR

   # Copy JARs in lib and plugins
-  LIB_DIR=usr/share/java/neo4j
+  LIB_DIR=usr/share/java/neo4j/lib
   install -dm755 $pkgdir/$LIB_DIR
   [[ $(ls -A lib/* 2>/dev/null) ]] && cp -r lib/* $pkgdir/$LIB_DIR

diff --git a/neo4j.conf b/neo4j.conf
index ec31d54..694e900 100644
--- a/neo4j.conf
+++ b/neo4j.conf
@@ -13,7 +13,7 @@ dbms.directories.data=/var/lib/neo4j/data
 dbms.directories.plugins=/usr/share/java/neo4j/plugins
 dbms.directories.certificates=/etc/neo4j/certificates
 dbms.directories.logs=/var/log/neo4j
-dbms.directories.lib=/usr/share/java/neo4j
+dbms.directories.lib=/usr/share/java/neo4j/lib
 dbms.directories.run=/run/neo4j
 dbms.directories.metrics=/var/lib/neo4j/data

hakami1024 commented on 2020-02-22 21:44 (UTC)

Updated