This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to compile Java files in bash?

Hi everyone,

Am very brand new dealing with java and biojava. Am working on a project to calculate codon adaptation index CAI using java and biojava following this tutorial "https://www.ihes.fr/~carbone/materials/description.html" but errors are arising while trying to compile the two java files:

the errors for "CAIJava.java" are: C

AIJava.java:21: error: '.' expected
import Utils;
            ^
CAIJava.java:21: error: ';' expected
import Utils;

example of the errors for "Utils.java" is:

Utils.java:15: error: cannot find symbol
    public static int[] calcTripletFreq(SymbolList seq, int st, int en) throws Exception
                                        ^
  symbol:   class SymbolList
  location: class Utils
"Same error is repeated but at different lines and for different functions"

Any help please?

bash java

0 answers

No answers yet.

Log in to answer this question.