在Linux机器上安装Neo4j时出错

在Linux机器上安装Neo4j时出错

本文介绍了收到"neo4j:找不到命令"在Linux机器上安装Neo4j时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在Ubuntu计算机上安装Neo4j1.9.2.我从Neo4j.org下载neo4j-community-1.9.2-unix.tar.gz并将其解压缩. neo4j文件位于bin目录中.

I tried to install Neo4j1.9.2 on an Ubuntu machine. I downloaded neo4j-community-1.9.2-unix.tar.gz from Neo4j.org and unzipped it. The neo4j file is in the bin directory.

在bin目录中,我键入命令"neo4j start",出现错误"neo4j:找不到命令".我还尝试了命令"sudo neo4j install",在提供密码后,出现了同样的错误"neo4j:找不到命令".

In bin directory, I typed command "neo4j start", got error "neo4j: command not found". I also tried command "sudo neo4j install", after I provided the password, I got same error "neo4j: command not found".

Java已安装在此计算机上:Java版本"1.6.0_27"OpenJDK运行时环境(IcedTea6 1.12.5)(6b27-1.12.5-0ubuntu0.12.04.1)OpenJDK 64位服务器VM(内部版本20.0-b12,混合模式)

Java has been installed on this machine:java version "1.6.0_27"OpenJDK Runtime Environment (IcedTea6 1.12.5) (6b27-1.12.5-0ubuntu0.12.04.1)OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

推荐答案

您的PATH中可能没有.,因此您需要执行./neo4j start.

You probably don't have . in your PATH, so you need to do ./neo4j start.

这篇关于收到"neo4j:找不到命令"在Linux机器上安装Neo4j时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-30 00:26