i following error when trying 'refresh cn1 libs' small library wrote (the library here):
cannot use cn1lib java version greater project java version
following long stack trace, , last line green, reading
build successful (total time: 0 seconds)
obviously, 1 of these lie. seems build not successful, since have no access native methods. recall once cn1 project's jdk set 5, since changed 8, , can't find anywhere in project settings it's still set 5. tried, sake of ruling out, setting cn1 library's jdk 5, error didn't go away.
what doing wrong?
edit
i found number of targets in build.xml file java version set 1.5. after changing of them 1.8, error persists.
if cn1lib written java 8 , created project targeting java 5 language level not compatible (the reverse should work through).
make sure created java 8 project, if existing project make sure follow instructions converting it including java.version=8
build hint.
Comments
Post a Comment