Open TamaraKnezevic opened 10 years ago
I experiment the almost the same situation : I have Neoclipse on a W7-64 platform and on a Mac OSX-64 platform. I created the db locally on W7, then zipped the folder and unzipped it on my Mac (note that from one PC to another, this works). On the MAC I declare the local db at the right folder ... When I try to open it it loops forever doing nothing !! I tried an other action : I created the db locally rather than copying it (I use Talend for loading) and I succeeded. Neoclipse loops the same way when I try to open the db
I managed to load db. At some point I realised that my Macbook had java 1.6 installed, so I installed java 1.7. And now db opens without any problems. I still didn't post an answer here because I'm still non sure if that was the solution (because I was trying more than one solution, all at the same time) and if it was, why? If I remember well, the Neoclipse documentation says that 1.6 is enough.
I'm having the same issue on osx where the neoclipse.app isn't using the correct jdk version, even though I have 1.7 installed and all of the relevant system settings are pointing to it. (in fact, i symlinked the 1.6 java directory version to 1.7 and still neoclipse is using 1.6)
!SESSION 2014-10-14 14:35:30.899 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_65
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
I resorted to using the following script to launch. side perk is that the fonts are now retina resolution
#!/bin/sh
export JAVA_HOME=$(/usr/libexec/java_home -v 1.7)
LAUNCHER_JAR=./plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
java \
-showversion \
-XX:MaxPermSize=256m \
-Xms1024m \
-Xmx1024m \
-Xdock:icon=./neoclipse.app/Contents/Resources/neo.icns \
-XstartOnFirstThread \
-Dorg.eclipse.swt.internal.carbon.smallFonts \
-Dosgi.requiredJavaVersion=1.7 \
-jar $LAUNCHER_JAR
tags neoclipse hang db open lock db open osx
Neoclipse still depends on Eclipse Indigo which is "hardwired" to Java 1.6, hence it will not recognize your JAVA_HOME, PATH ect. because up to and including Java 1.6 the Mac OS uses your System JavaVM. The only way to use Java 1.7 (which is required for Neo4j 2.x) is to tweak a shell script as shown above.
Hello Neoclipse team, I am trying to use Neoclipse on my Macbook Air (osx 10.8.4) and I can't open db. Db was created with neo4j batch-importer. I choose the db from file system and click the connect button - app stops responding and the db is never opened. I have no problem opening the same db on Windows or Linux versions of Neoclipse. I also managed to open it with IMac (osx 10.6.8).
I downloaded the source code and launched neoclipse from eclipse. The same think happened. The code is blocked in creating embedded db:
graphDb = new EmbeddedGraphDatabase( currentAlias.getUri(), currentAlias.getConfigurationMap() );
The constructor doesn't return. No exceptions were logged on console.
Can you help me? Thank you Tamara