问题
I checked the GitHub project for Gephi's Neo4j plugins. They supposedly upgraded support for Neo4j 2.0.1 in the trunk. I attempted to build the plugins from source with these steps. I could not successfully import a 2.0.1 Neo4j DB, so I'm unsure if I missed something. Any thoughts on whether the plug-in source is the problem or if my steps are incorrect?
- Install JDK 7 (if you have not already).
- Ensure that JAVA_HOME environment variable points to the top-level JDK location on your machine.
- Install Apache Ant.
- Ensure that these 2 path variables for Ant have been set. a. Add the ANT_HOME environment variable set to C:\ant. b. Add the ANT_OPTS environment variable set to -Xmx256M.
- Download the Neo4j Gephi plug-in source code from GitHub
Cd to your source directory with the Neo4j plug-in code for Gephi. Run this command:
ant clean nbms
- The build should be successful. Check the [your Gephi plug-in top-level]\build\updates for the constructed .nbm files.
- Follow the manual instructions to install these plugins.
- Open Gephi and go to File > Neo4j > Full import. You should be able to view a Neo4j graph database of version 2.0.1.
来源:https://stackoverflow.com/questions/22117695/0-8-2-gephi-fails-to-import-neo4j-2-0-1-database-with-trunk-built-neo4j-plugin