Source: jcc
Version: 2.22
Severity: normal
User: [email protected]
Usertags: default-java9

This package fails to build with default-jdk pointing to openjdk-9-jdk.
Please fix it, so that we can start the transition to Java 9.
The wiki has some common problems and their solutions:
https://wiki.debian.org/Java/Java9Pitfalls

The guess of the path of the libraries is wrong:
https://sources.debian.net/src/jcc/2.22-1/debian/rules/#L24

See the wiki about "/jre".

Build log:

x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -W[...] 
-L/usr/lib/jvm/default-java/jre/lib/amd64 -ljava 
-L/usr/lib/jvm/default-java/jre/lib/amd64/server -ljvm [...]
/usr/bin/ld: cannot find -ljava
/usr/bin/ld: cannot find -ljvm
collect2: error: ld returned 1 exit status


Cheers,
Chris.

Reply via email to