ros2-java / ros2_java

Java and Android bindings for ROS2
Apache License 2.0
173 stars 93 forks source link

rcljava_common build error: source option 6 is no longer supported. Use 8 or later. #248

Open Hyrtsi opened 1 month ago

Hyrtsi commented 1 month ago

Building on desktop. Ubuntu 22.04, ROS2 Humble.

Starting >>> rcljava_common
Finished <<< ament_cmake_export_jni_libraries [0.27s]
--- stderr: rcljava_common                              
warning: [options] bootstrap class path not set in conjunction with -source 6
error: Source option 6 is no longer supported. Use 8 or later.
error: Target option 6 is no longer supported. Use 8 or later.
gmake[2]: *** [CMakeFiles/rcljava_common_jar.dir/build.make:92: CMakeFiles/rcljava_common_jar.dir/java_compiled_rcljava_common_jar] Error 2
gmake[1]: *** [CMakeFiles/Makefile2:154: CMakeFiles/rcljava_common_jar.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
gmake: *** [Makefile:146: all] Error 2
---
Failed   <<< rcljava_common [1.32s, exited with code 2]

Summary: 4 packages finished [2.50s]
  1 package failed: rcljava_common