[kepler-dev] Problem building in Eclipse

ben leinfelder leinfelder at nceas.ucsb.edu
Mon Sep 8 14:10:17 PDT 2008


If you are dead-set on using java 1.6, you can also try this workaround:

kepler/src/org/ecoinformatics/util/DBConnection-JDK1.6-Java
is a version of
kepler/src/org/ecoinformatics/util/DBConnection.java
that works with Java1.6. (Full disclosure: I haven't actually tried it  
myself)

You can copy the 1.6 source into the existing DBConnection
(cp org/ecoinformatics/util/DBConnection-JDK1.6-Java org/ 
ecoinformatics/util/DBConnection.java)

-ben

On Sep 8, 2008, at 1:58 PM, Faraaz Sareshwala wrote:

> I had the same problem when I first started using Eclipse with  
> Kepler. I tried a series of things to resolve the issue but I  
> believe making sure that Eclipse is using JRE 1.5 will fix this one.  
> To do that, simply set it so in the Eclipse preferences.
>
> On Mon, Sep 8, 2008 at 1:49 PM, <jroang at ucalgary.ca> wrote:
> Hello
>
> I followed the instructions for building Kepler under Eclipse but  
> ran into
> two compile errors. Here's a copy of the errors.
>
> The type DBConnection must implement the inherited abstract method
> Connection.createNClob() Connection.createSQLXML()
>
> The error was found at DBConnection.java line 61. (DBConnection in
> kepler/src/org/ecoinformatics/util).
>
> I was building revision 7871.
>
> I'm thinking that the quick and dirty way to get around this problem  
> is to
> add the implemented methods but leave them empty. Would this be a good
> idea?
>
> Thanks
> John
>
> _______________________________________________
> Kepler-dev mailing list
> Kepler-dev at ecoinformatics.org
> http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev
>
> _______________________________________________
> Kepler-dev mailing list
> Kepler-dev at ecoinformatics.org
> http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev



More information about the Kepler-dev mailing list