What version of java are you using? This code may not be compatible
with old versions.

You can check by running "java -version"

For example, on my Mac OSX machine, it returns

$ java -version
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07-334-10M3326)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02-334, mixed mode)

Cheers,

Peter

On 3 June 2011 08:00, Zhiliang <[email protected]> wrote:
>
> I try to install Biomart on a new RHEL5 server and got follow problems:
>
> I followed Quick Start steps in the BioMart 0.8 User Manual:
>>
>> svn checkout
>> https://code.oicr.on.ca/svn/biomart/biomart-java/branches/release-0_8-candidate_6/
>
> Upon this step:
>>
>> ant
>
> I got following errors:
>
> compile.main:
>    [javac] /usr/local/biomart/build.xml:33: warning: 'includeantruntime' was
> not set, defaulting to build.sysclasspath=last; set to false for repeatable
> builds
>    [javac] Compiling 527 source files to
> /usr/local/biomart/build/classes/main
>    [javac] ----------
>    [javac] 1. ERROR in
> /usr/local/biomart/src/org/biomart/api/enums/Operation.java (at line 1)
>    [javac]     package org.biomart.api.enums;
>    [javac]     ^^
>    [javac] The type Enum is not generic; it cannot be parameterized with
> arguments <Operation>
>    [javac] ----------
>    [javac] 1 problem (1 error)
>
> BUILD FAILED
>
> I am not a java person - wonder what was wrong and what should I do?
>
> Thank you,
> Zhiliang
> _______________________________________________
> Users mailing list
> [email protected]
> https://lists.biomart.org/mailman/listinfo/users
>
_______________________________________________
Users mailing list
[email protected]
https://lists.biomart.org/mailman/listinfo/users

Reply via email to