What Java version do you have installed? (java -version)

Best
Erick

On Thu, Mar 17, 2011 at 6:30 AM, royr <r...@blixem.nl> wrote:
> Hello,
>
> The apache wiki gives me this information:
>
> Skip this section if you have a binary distribution of Solr. These
> instructions will building Solr from source, if you have a nightly tarball
> or have checked out the trunk from subversion at
> http://svn.apache.org/repos/asf/lucene/dev/trunk. Assumes that you have JDK
> 1.6 already installed.
>
> In the source directory, run ant dist to build the .war file under dist.
> Build the example for the Solr tutorial by running ant example. Change to
> the 'example' directory, run java -jar start.jar and visit
> localhost:8983/solr/admin to test that the example works with the Jetty
> container.
>
> I have run this code: svn checkout
> http://svn.apache.org/repos/asf/lucene/dev/trunk
> After that i try the ant example commando. This doesn't work, i got the
> following error message:
>
> common.compile-core:
>    [javac] Compiling 508 source files to
> somedir/trunk/lucene/build/classes/java
>    [javac] ----------
>    [javac] 1. ERROR in
> dir/trunk/lucene/src/java/org/apache/lucene/document/DateTools.java (at line
> 1)
>    [javac]     package org.apache.lucene.document;
>    [javac]     ^^
>    [javac] The type Enum is not generic; it cannot be parameterized with
> arguments
>    [javac] ----------
>    [javac] 1 problem (1 error)
>
> BUILD FAILED
> somedir/trunk/solr/common-build.xml:249: The following error occurred while
> executing this line:
> somedir/trunk/lucene/contrib/contrib-build.xml:58: The following error
> occurred while executing this line:
> somedir/trunk/lucene/common-build.xml:296: The following error occurred
> while executing this line:
> somedir/trunk/lucene/common-build.xml:717: Compile failed; see the compiler
> error output for details.
>
> Ant is installed correctly i think:
> ant -version = Apache Ant(TM) version 1.8.2 compiled on December 20 2010
>
> What goes wrong?
>
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/SOLR-building-problems-tp2692916p2692916.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to