<div dir="ltr">Hi Terry,<div><br></div><div>The <span style="font-size:12.727272033691406px;font-family:arial,sans-serif">NoClassDefFoundError sounds a bit more like a configuration error, than a BioJava specific issue. </span>Are you using the latest version of the source from github? One of our students here submitted a few patches recently that make the current trunk code work on Java 1.8 without problems (as well as on windows). Might be easiest to get a checkout from there. </div>
<div><br></div><div><a href="https://github.com/biojava/biojava">https://github.com/biojava/biojava</a><br></div><div><br></div><div>Having said that, there was a lot of change in the code since the last release and we should probably think about preparing another release soon.</div>
<div><br></div><div>Andreas</div><div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 29, 2014 at 11:01 AM, Terry Casstevens <span dir="ltr"><<a href="mailto:tmc46@cornell.edu" target="_blank">tmc46@cornell.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Dear Spencer,<br>
<br>
I would very much appreciate your help with this. I think it will<br>
effect your other users also.<br>
<br>
I am the software lead of the Buckler Lab at Cornell University, and<br>
we use the biojava library in our software.<br>
<br>
I'm hoping to move to your latest released jars, but I don't think<br>
this is specific to that version.<br>
biojava3-alignment-3.0.8.jar<br>
biojava3-phylo-3.0.8.jar<br>
biojava3-core-3.0.8.jar<br>
<br>
We have everything working when compiling and running our code with Java 7.<br>
<br>
But when running with Java 8 (compiling with Java 7 or Java 8), we are<br>
getting NoClassDefFoundError.<br>
<br>
<br>
This will show you the problem. Compile this with Java 7, and run it<br>
under Java 7 and Java 8. You will see that it works in Java 7 and not<br>
in Java 8.<br>
<br>
public static void main(String[] args) {<br>
SimpleLocation location = new SimpleLocation(1, 7);<br>
}<br>
<br>
<br>
I believe your problem is in<br>
org.biojava3.core.sequence.location.template.Location. This line is<br>
causing the problem in Java 8.<br>
<br>
public static final Location EMPTY =<br>
new SimpleLocation(Integer.MIN_VALUE, Integer.MAX_VALUE,<br>
Strand.UNDEFINED);<br>
<br>
<br>
<br>
Best,<br>
<br>
Terry<br>
_______________________________________________<br>
biojava-dev mailing list<br>
<a href="mailto:biojava-dev@mailman.open-bio.org">biojava-dev@mailman.open-bio.org</a><br>
<a href="http://mailman.open-bio.org/mailman/listinfo/biojava-dev" target="_blank">http://mailman.open-bio.org/mailman/listinfo/biojava-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>
</div></div>