Peter - Thank you for the quick reply.

My "/usr/bin/java -version" gives 1.4.2.
I downloaded and installed jre 1.6.0_25 in /usr/java
-- Wonder how can I make the new location as the default and remove the old one from the system? (all online instructions for removing old version is to remove /usr/java or uninstall from original rpm but mine is installed with the OS).

Thanks,
Zhiliang


On Fri, 3 Jun 2011, Peter Ansell wrote:

Date: Fri, 3 Jun 2011 08:13:19 +1000
From: Peter Ansell <[email protected]>
To: Zhiliang <[email protected]>
Cc: BioMart Users <[email protected]>
Subject: Re: [BioMart Users] quick install errors

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-candida
te_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