You need to add the Neo4j jar-files to your classpath, both when compiling
and running your application:
compiling:
javac -classpath
/path/to/neo4j-apoc-1.0/lib/neo4j-kernel-1.0.jar:/path/to/neo4j-apoc-1.0/lib/geronimo-jta_1.1_spec-1.1.1
/path/that/contains/your/java/source
running:
java
Great Mayank,
glad to be able to help!
Cheers,
/peter neubauer
COO and Sales, Neo Technology
GTalk: neubauer.peter
Skype peter.neubauer
Phone +46 704 106975
LinkedIn http://www.linkedin.com/in/neubauer
Twitter http://twitter.com/peterneubauer
http://www.neo4j.org
Hi!
For information on how to manage the classpath in Eclipse:
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.jdt.doc.user/reference/ref-properties-build-path.htm
NetBeans:
http://java.sun.com/developer/onlineTraining/tools/netbeans_part1/#importing
NetBeans comes with built-in
Nobody has a solution for my problem?
Many thanks,
Bat
Le 08-juin-10 à 16:05, BatiG a écrit :
I've tried with :
- neo4j-kernel-1.0-rc.jar
- neo4j-kernel-1.0.jar
And I've the same error in the both cases.
--
View this message in context:
The 1.2 release is scheduled to be released in Q4 (most likely in
November). Regarding implementations running on large graphs using
Neo4j there have been several mentions of that on the list so you
could try search the user archives
(http://www.mail-archive.com/user@lists.neo4j.org/). For
For each bus stop node you could have a relationship to that route's
timetable, represented by a separate timetable node. So all nodes for
a route could just have a relationship to that route's timetable node
where the actual timetable is stored, minimizing redundant information
in your graph.
A
Very interesting. I'm a little curious about performance and
functionality of the compiled DLL.
Also, about lucene, Lucene has been ported to .NET so it should be
possible to make something of that as well.
2010/6/6 Taylor Cowan taylor_co...@yahoo.com:
For a while now I've been curious to find
Hi Bat,
I've tried this with the combination of
* neo4j-kernel-1.0.jar (from neo4j-apoc-1.0)
* neo4j-online-backup-0.5.jar
That works fine.
Are you sure that you don't have incompatible versions on the class path as
well?
Try printing the classpath from your application and verify that you
Thanks.
If I understand the tutorial of neo4j and your expaination, this part
of code is correct :
//create the original graph
neo = new EmbeddedGraphDatabase(CONSTANTS.GRAPH_PATH);
graph = ObjectGraphFactory.instance().get(neo);
for (String datasource : new
On Wed, Jun 9, 2010 at 1:37 PM, Batistuta Gabriel
batistutagabrielf...@gmail.com wrote:
Thanks.
If I understand the tutorial of neo4j and your expaination, this part
of code is correct :
//create the original graph
neo = new EmbeddedGraphDatabase(CONSTANTS.GRAPH_PATH);
graph =
However, I obtain this error :
java.lang.NoSuchMethodError:
org.neo4j.onlinebackup.AbstractResource.init(Lorg/neo4j/kernel/impl/
transaction/x
aframework/XaDataSource;)V
at
org
.neo4j
.onlinebackup
.EmbeddedGraphDatabaseResource
.init(EmbeddedGraphDatabaseResource.java:31)
What was the output of
System.out.println(System.getProperty(java.class.path)); as Tobias
asked you to do?
On Wed, Jun 9, 2010 at 1:56 PM, Batistuta Gabriel
batistutagabrielf...@gmail.com wrote:
However, I obtain this error :
java.lang.NoSuchMethodError:
You could also use this code to print the classpath:
//Get the System Classloader
ClassLoader sysClassLoader = ClassLoader.getSystemClassLoader();
//Get the URLs
URL[] urls = ((URLClassLoader)sysClassLoader).getURLs();
*for*(*int *i=0; i urls.length; i++)
Hi,
I am interested in providing network metrics such as centrality, eigenvector
centrality, degree, etc to graphs that I must assume will contain lots
(millions+) of nodes. I am interested in any suggestions regarding the best way
to approach this:
- Is it reasonable to add these
Hi,
- Is it reasonable to add these metrics as properties of the nodes?
Yes. However, depending on the algorithm, you will have to recompute
these values every time the graph changes.
- Can these metrics be maintained in the database over time, or
should they be
I fixed one problem. But I still have a problem.
My classes are starded from BlazeDS. It's a server-based Java remoting
installed on Glassfish. So, I can not see the packages of neo4j on the
classpath.
However, I use this packages :
lucene-core-2.9.1.jar
neo4j-remote-graphdb-0.5.jar
The exception really says it all. You are trying to backup to a target that
does not have the same origin as the source.
You need to create the target Neo4j store by either letting the
online-backup component create it, using the
Neo4jBackup(EmbeddedGraphDatabase, String, ...) constructors, or
17 matches
Mail list logo