Hello, sorry for spam. I solved the last error but i got new one. I can compile core package to version 1.5 jdk but when i try to compile phylo package i got error like that: [INFO] biojava ........................................... SUCCESS [0.748s] [INFO] biojava3-core ..................................... SUCCESS [7.076s] [INFO] biojava3-phylo .................................... FAILURE [0.321s]
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project biojava3-phylo: Compilation failure [ERROR] Failure executing javac, but could not parse the error: [ERROR] javac: invalid flag: -s [ERROR] Usage: javac <options> <source files> can anyone help me?? i don`t have idea what i`m making wrong. Radomir wrote: > > Hi, thanks for reply. I`m having more problems with "recompiling" from 1.6 > to 1.5. I have done everything like u told me. When i`m trying to clean > install with maven compiler i got error with version. Can somebody tell me > its possible to compile biojava 3 with 1.5 jdk? I don`t have idea how to > do that and its very important for me ( my final project on my studies ). > Here is a part of error from compiler: > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile > (default-compile) on project biojava3-structure: Compilation failure > [ERROR] > C:\Users\radamek\workspace\maven.1361187141685\biojava\biojava3-structure\src\main\java\org\biojava\bio\structure\Chain.java:[28,-1] > cannot access org.biojava3.core.sequence.template.Sequence > [ERROR] bad class file: > C:\Users\radamek\.m2\repository\org\biojava\biojava3-core\3.0.6-SNAPSHOT\biojava3-core-3.0.6-SNAPSHOT.jar(org/biojava3/core/sequence/template/Sequence.class) > [ERROR] class file has wrong version 50.0, should be 49.0 > > Radomir wrote: >> >> Hello, i`m trying to apply my project with oracle and biojava. I`m trying >> to make a database for pairwise alignment ( FATCAT or CE ). These >> algorithms are in biojava3+ packages. When i`m loading jar`s to mine >> database i got error ( oracle is running on 1.5 jdk and biojava 3 is >> compiled on 1.6, there are no chances to upgrade jdk on oracle ).. I find >> on biojava wiki that version 3.0 of biojava is running on 1.5+ but when i >> loaded these version to my database there was the same error. Here is my >> question - is there any chances to get biojava 3 compiled with jdk 1.5 ? >> ? Sorry for my english >> > > -- View this message in context: http://old.nabble.com/BioJava%2C-oracle-problem-with-jdk-tp34984653p35040215.html Sent from the BioJava mailing list archive at Nabble.com. _______________________________________________ Biojava-l mailing list - Biojava-l@lists.open-bio.org http://lists.open-bio.org/mailman/listinfo/biojava-l