jexp / neo4j-shell-tools

A bunch of import/export tools for the neo4j-shell
289 stars 55 forks source link

install for windows #63

Open timocontecht opened 9 years ago

timocontecht commented 9 years ago

I am having trouble installing the shell tools on Windows

I am using

neo4j 2.2.2 shell-tools 2.2

If I drop the files in my Windows install directory in the

jvm/lib bin

folders, without any avail. Any suggestions?

Thanks, Timo

jexp commented 9 years ago

Can you check where the Neo4jShell.bat file takes its libraries (jar files) from and if they are enumerated or just taken from a directory?

Do you have the binary installer? And do you start the shell from the options pane?

Am 06.06.2015 um 17:35 schrieb timoutwente notifications@github.com:

I am having trouble installing the shell tools on Windows

I am using

neo4j 2.2.2 shell-tools 2.2

If I drop the files in my Windows install directory in the

jvm/lib bin

folders, without any avail. Any suggestions?

Thanks, Timo

— Reply to this email directly or view it on GitHub https://github.com/jexp/neo4j-shell-tools/issues/63.

timocontecht commented 9 years ago

Hi Michael-

thanks for your quick reaction. If I understand the neo4jshell.bat correct the libraries are pulled from the %REPO% folder, which is, after starting the command shell from the neo4j options panel

REPO=C:\Program Files (x86)\Neo4j Community\bin

However, if I drop the shell tool libs there I am still getting

neo4j-sh (?)$ import-cypher Unknown command 'import-cypher'

from the neo4j shell.

I am using the

neo4j-community_windows_2_2_2.exe

installer.

Timo

On Sat, Jun 6, 2015 at 10:55 PM, Michael Hunger notifications@github.com wrote:

Can you check where the Neo4jShell.bat file takes its libraries (jar files) from and if they are enumerated or just taken from a directory?

Do you have the binary installer? And do you start the shell from the options pane?

Am 06.06.2015 um 17:35 schrieb timoutwente notifications@github.com:

I am having trouble installing the shell tools on Windows

I am using

neo4j 2.2.2 shell-tools 2.2

If I drop the files in my Windows install directory in the

jvm/lib bin

folders, without any avail. Any suggestions?

Thanks, Timo

— Reply to this email directly or view it on GitHub < https://github.com/jexp/neo4j-shell-tools/issues/63>.

— Reply to this email directly or view it on GitHub https://github.com/jexp/neo4j-shell-tools/issues/63#issuecomment-109647843 .

jexp commented 9 years ago

Hi Timo, can you have the bat-file output the jar-file class-path it uses?

Perhaps there are some quotes missing or so?

Am 07.06.2015 um 01:00 schrieb timoutwente notifications@github.com:

Hi Michael-

thanks for your quick reaction. If I understand the neo4jshell.bat correct the libraries are pulled from the %REPO% folder, which is, after starting the command shell from the neo4j options panel

REPO=C:\Program Files (x86)\Neo4j Community\bin

However, if I drop the shell tool libs there I am still getting

neo4j-sh (?)$ import-cypher Unknown command 'import-cypher'

from the neo4j shell.

I am using the

neo4j-community_windows_2_2_2.exe

installer.

Timo

On Sat, Jun 6, 2015 at 10:55 PM, Michael Hunger notifications@github.com wrote:

Can you check where the Neo4jShell.bat file takes its libraries (jar files) from and if they are enumerated or just taken from a directory?

Do you have the binary installer? And do you start the shell from the options pane?

Am 06.06.2015 um 17:35 schrieb timoutwente notifications@github.com:

I am having trouble installing the shell tools on Windows

I am using

neo4j 2.2.2 shell-tools 2.2

If I drop the files in my Windows install directory in the

jvm/lib bin

folders, without any avail. Any suggestions?

Thanks, Timo

— Reply to this email directly or view it on GitHub < https://github.com/jexp/neo4j-shell-tools/issues/63>.

— Reply to this email directly or view it on GitHub https://github.com/jexp/neo4j-shell-tools/issues/63#issuecomment-109647843 .

— Reply to this email directly or view it on GitHub https://github.com/jexp/neo4j-shell-tools/issues/63#issuecomment-109656587.

timocontecht commented 9 years ago

here you go:

C:\Program Files (x86)\Neo4j Community\bin>java -classpath ;"";"C:\Program Fil es (x86)\Neo4j Community\bin \geoff-0.5.0.jar";"C:\Program Files (x86)\Neo4j Com munity\bin \import-tools-2.2.jar";"C:\Program Files (x86)\Neo4j Community\bin \m apdb-0.9.3.jar";"C:\Program Files (x86)\Neo4j Community\bin \neo4j-desktop-2.2.2 .jar";"C:\Program Files (x86)\Neo4j Community\bin \opencsv-2.3.jar" -Dapp.name=" neo4j-shell" -Dapp.repo="C:\Program Files (x86)\Neo4j Community\bin " -Dbasedir= "C:\PROGRA~2\NEO4JC~1\bin.." org.neo4j.shell.StartClient Welcome to the Neo4j Shell! Enter 'help' for a list of commands NOTE: Remote Neo4j graph database service 'shell' at port 1337

On Sun, Jun 7, 2015 at 1:26 AM, Michael Hunger notifications@github.com wrote:

Hi Timo, can you have the bat-file output the jar-file class-path it uses?

Perhaps there are some quotes missing or so?

Am 07.06.2015 um 01:00 schrieb timoutwente notifications@github.com:

Hi Michael-

thanks for your quick reaction. If I understand the neo4jshell.bat correct the libraries are pulled from the %REPO% folder, which is, after starting the command shell from the neo4j options panel

REPO=C:\Program Files (x86)\Neo4j Community\bin

However, if I drop the shell tool libs there I am still getting

neo4j-sh (?)$ import-cypher Unknown command 'import-cypher'

from the neo4j shell.

I am using the

neo4j-community_windows_2_2_2.exe

installer.

Timo

On Sat, Jun 6, 2015 at 10:55 PM, Michael Hunger < notifications@github.com> wrote:

Can you check where the Neo4jShell.bat file takes its libraries (jar files) from and if they are enumerated or just taken from a directory?

Do you have the binary installer? And do you start the shell from the options pane?

Am 06.06.2015 um 17:35 schrieb timoutwente <notifications@github.com :

I am having trouble installing the shell tools on Windows

I am using

neo4j 2.2.2 shell-tools 2.2

If I drop the files in my Windows install directory in the

jvm/lib bin

folders, without any avail. Any suggestions?

Thanks, Timo

— Reply to this email directly or view it on GitHub < https://github.com/jexp/neo4j-shell-tools/issues/63>.

— Reply to this email directly or view it on GitHub < https://github.com/jexp/neo4j-shell-tools/issues/63#issuecomment-109647843

.

— Reply to this email directly or view it on GitHub < https://github.com/jexp/neo4j-shell-tools/issues/63#issuecomment-109656587 .

— Reply to this email directly or view it on GitHub https://github.com/jexp/neo4j-shell-tools/issues/63#issuecomment-109657721 .

timocontecht commented 9 years ago

sorry for the flood of posts, but I just tried something else. If I use the binary version (not the installer) and drop the files there in the lib folder everything works fine! So it must have something to do how the installer sets the classpath.

this is also for

neo4j-community-2.2.2 neo4j-tools 2.2.0

Timo

On Sun, Jun 7, 2015 at 1:26 AM, Michael Hunger notifications@github.com wrote:

Hi Timo, can you have the bat-file output the jar-file class-path it uses?

Perhaps there are some quotes missing or so?

Am 07.06.2015 um 01:00 schrieb timoutwente notifications@github.com:

Hi Michael-

thanks for your quick reaction. If I understand the neo4jshell.bat correct the libraries are pulled from the %REPO% folder, which is, after starting the command shell from the neo4j options panel

REPO=C:\Program Files (x86)\Neo4j Community\bin

However, if I drop the shell tool libs there I am still getting

neo4j-sh (?)$ import-cypher Unknown command 'import-cypher'

from the neo4j shell.

I am using the

neo4j-community_windows_2_2_2.exe

installer.

Timo

On Sat, Jun 6, 2015 at 10:55 PM, Michael Hunger < notifications@github.com> wrote:

Can you check where the Neo4jShell.bat file takes its libraries (jar files) from and if they are enumerated or just taken from a directory?

Do you have the binary installer? And do you start the shell from the options pane?

Am 06.06.2015 um 17:35 schrieb timoutwente <notifications@github.com :

I am having trouble installing the shell tools on Windows

I am using

neo4j 2.2.2 shell-tools 2.2

If I drop the files in my Windows install directory in the

jvm/lib bin

folders, without any avail. Any suggestions?

Thanks, Timo

— Reply to this email directly or view it on GitHub < https://github.com/jexp/neo4j-shell-tools/issues/63>.

— Reply to this email directly or view it on GitHub < https://github.com/jexp/neo4j-shell-tools/issues/63#issuecomment-109647843

.

— Reply to this email directly or view it on GitHub < https://github.com/jexp/neo4j-shell-tools/issues/63#issuecomment-109656587 .

— Reply to this email directly or view it on GitHub https://github.com/jexp/neo4j-shell-tools/issues/63#issuecomment-109657721 .