Use maven mvn test-compile
Probably your junit.jar is too old Sent from mobile device Am 10.02.2014 um 02:35 schrieb Stan Love <[email protected]>: > I tried the following methods: > > method 1: > > javac ./src/test/java/org/neo4j/batchimport/TestDataGenerator.java -d . > > Method 2: > > javac -classpath /usr/share/java/junit.jar > ./src/test/java/org/neo4j/batchimport/TestDataGenerator.java -d . > > > Error the same. > > My junit.jar can be found on /usr/share/java/junit.jar after installed > junit > > > Thanks > Pak > > On Sunday, February 9, 2014 1:19:47 PM UTC-5, Michael Hunger wrote: >> >> How did you compile it? >> >> Michael >> >> Am 09.02.2014 um 17:40 schrieb Stan Love <[email protected]>: >> >>> Tried to compile TestDataGenerator. Initially couldn’t find the file, then >>> found it in /src/test/java/org/neo4j/batchimport/TestDataGenerator.java. >>> But then got compile errors: >>> ./src/test/java/org/neo4j/batchimport/TestDataGenerator.java:3: package >>> org.junit does not exist >>> import org.junit.Ignore; >>> ^ >>> ./src/test/java/org/neo4j/batchimport/TestDataGenerator.java:14: cannot >>> find symbol >>> symbol: class Ignore >>> @Ignore >>> ^ >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Neo4j" group. >>> To unsubscribe from this group and stop receiving emails from it, send an >>> email to [email protected]. >>> For more options, visit https://groups.google.com/groups/opt_out. > > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
