lindenb / jvarkit

Java utilities for Bioinformatics
https://jvarkit.readthedocs.io/
Other
482 stars 133 forks source link

sam2tsv bug error #61

Closed WinterLi1993 closed 8 years ago

WinterLi1993 commented 8 years ago

HI, when I installed sam2tsv , reported the following error :
jvarkit/src/main/java/com/github/lindenb/jvarkit/util/command/Command.java:566: error: cannot find symbol if(args!=null) dumpF.println(String.join(" ", args));

what happened ?

lindenb commented 8 years ago

what's your version of javac ?

javac -version

java 1.8 (aka 8) is required.

lindenb commented 8 years ago

what's the complete output of make sam2tsv please.

lindenb commented 8 years ago

As you can see, you have a $PATH problem as the lines

(...)
echo '### Printing javac version : it should be 1.8. if Not, check your ${PATH}.'
Printing javac version : it should be 1.8. if Not, check your ${PATH}.
javac -version
javac 1.7.0_101
#compile
(...)

clearly show that your default compiler is javac 1.7 and not 1.8

I'm closing this now.

WinterLi1993 commented 8 years ago

yep , I just changed java version, do not change javac version, thank you ! !!