carp-te / carp-documentation

Other
1 stars 1 forks source link

java version? #26

Closed rotifergirl closed 5 years ago

rotifergirl commented 5 years ago

Hi,

I'm trying to run the ClassifyConsensusSequences.java section, and when I tried to run javac ClassifyConsensusSequences.java

I got

Note: ClassifyConsensusSequences.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.

So I ran that and got

ClassifyConsensusSequences.java:79: warning: [deprecation] Integer(int) in Integer has been deprecated lengths.put(id, new Integer(count)); ^ ClassifyConsensusSequences.java:86: warning: [deprecation] Integer(int) in Integer has been deprecated lengths.put(id, new Integer(count)); ^ 2 warnings

After this I cannot run java ClassifyConsensusSequences

I suspect this has something to do with the java version, but I can't find an old version of java to fix this. Do you have any suggestions to be able to run this command?

rotifergirl commented 5 years ago

I found the issue here, ClassifyConsensusSequences didn't make me a folder called results_classify so it couldn't out put any data there