Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not compile (javac problem ubuntu) #18

Closed
nibortolum opened this issue Jun 7, 2017 · 5 comments
Closed

Does not compile (javac problem ubuntu) #18

nibortolum opened this issue Jun 7, 2017 · 5 comments

Comments

@nibortolum
Copy link

Hello,

i run on ubuntu 16.04 LTS and openjdk 9-internal.

RDPtool compilation fails with this error:

-do-compile:
[javac] Compiling 73 source files to /home/mulot/repo/RDPTools/ReadSeq/build/classes
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
[javac] error: Source option 1.5 is no longer supported. Use 1.6 or later.
[javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.

BUILD FAILED
/home/mulot/repo/RDPTools/Clustering/nbproject/build-impl.xml:896: The following error occurred while executing this line:
/home/mulot/repo/RDPTools/Clustering/nbproject/build-impl.xml:1470: The following error occurred while executing this line:
/home/mulot/repo/RDPTools/AlignmentTools/nbproject/build-impl.xml:896: The following error occurred while executing this line:
/home/mulot/repo/RDPTools/AlignmentTools/nbproject/build-impl.xml:1414: The following error occurred while executing this line:
/home/mulot/repo/RDPTools/ReadSeq/nbproject/build-impl.xml:920: The following error occurred while executing this line:
/home/mulot/repo/RDPTools/ReadSeq/nbproject/build-impl.xml:300: Compile failed; see the compiler error output for details.

I got stuck on this for hal a day and couldn't find any workaround. Maybe you have an idea ?

Cheers,

Matthieu

@rdpstaffmsu
Copy link

rdpstaffmsu commented Jun 7, 2017 via email

@nibortolum
Copy link
Author

So, I striclty followed the README :
git clone https://github.com/rdpstaff/RDPTools.git
git submodule init
git submodule update

and then make.

Thank you,

Matthieu

@gunturus
Copy link
Member

gunturus commented Jun 7, 2017

can you try using jdk8
Also what version of ant do you have

@nibortolum
Copy link
Author

nibortolum commented Jun 7, 2017 via email

@gunturus gunturus closed this as completed Jun 7, 2017
@Toliman06
Copy link

Toliman06 commented Jan 7, 2019

I have the same problem when I try to make:

-do-compile:
    [javac] Compiling 73 source files to /home/dunoyerd/bin/RDPTools/ReadSeq/build/classes
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 5
    [javac] error: Source option 5 is no longer supported. Use 6 or later.
    [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.

BUILD FAILED
/home/dunoyerd/bin/RDPTools/Clustering/nbproject/build-impl.xml:896: The following error occurred while executing this line:
/home/dunoyerd/bin/RDPTools/Clustering/nbproject/build-impl.xml:1470: The following error occurred while executing this line:
/home/dunoyerd/bin/RDPTools/AlignmentTools/nbproject/build-impl.xml:896: The following error occurred while executing this line:
/home/dunoyerd/bin/RDPTools/AlignmentTools/nbproject/build-impl.xml:1414: The following error occurred while executing this line:
/home/dunoyerd/bin/RDPTools/ReadSeq/nbproject/build-impl.xml:920: The following error occurred while executing this line:
/home/dunoyerd/bin/RDPTools/ReadSeq/nbproject/build-impl.xml:300: Compile failed; see the compiler error output for details.

Here are my java and javac:

~/bin/RDPTools$ update-alternatives --config java
Il existe 3 choix pour l'alternative java (qui fournit /usr/bin/java).

  Sélection   Chemin                                          Priorité  État
------------------------------------------------------------
  0            /usr/lib/jvm/java-10-oracle/bin/java             1091      mode automatique
  1            /usr/lib/jvm/java-10-oracle/bin/java             1091      mode manuel
  2            /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java   1081      mode manuel
* 3            /usr/lib/jvm/java-8-oracle/jre/bin/java          1081      mode manuel

~/bin/RDPTools$ update-alternatives --config javac
Il existe 2 choix pour l'alternative javac (qui fournit /usr/bin/javac).

  Sélection   Chemin                                 Priorité  État
------------------------------------------------------------
  0            /usr/lib/jvm/java-10-oracle/bin/javac   1091      mode automatique
  1            /usr/lib/jvm/java-10-oracle/bin/javac   1091      mode manuel
* 2            /usr/lib/jvm/java-8-oracle/bin/javac    1081      mode manuel

Anf here the command lines before the make:

git clone https://github.com/rdpstaff/RDPTools.git
cd RDPTools
git checkout 2.0.2
git submodule init
git submodule update
make

I am following the FROGS install commands... (https://github.com/geraldinepascal/FROGS/blob/master/INSTALL_from_source.md)

Can anybody help me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants