Make jvmpkg error

Hello!

I’m trying to install tvm runtime in android. I installed libtvm_runtime.so and I did make jvmpkg. But I’m getting errors

(cd /home/aishwarya/Downloads/tvm/jvm; \ mvn clean package -Plinux-x86_64 -Dcxx="g++" \ -Dcflags="-std=c++11 -Wall -O2 -Iinclude -I/home/aishwarya/Downloads/tvm/3rdparty/dlpack/include -I/home/aishwarya/Downloads/tvm/3rdparty/dmlc-core/include -fPIC" -Dldflags="" \ -Dcurrent_libdir="/home/aishwarya/Downloads/tvm/build" -DskipTests -Dcheckstyle.skip=true) WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] TVM4J Package - Parent [pom] [INFO] TVM4J Package - Core [jar] [INFO] TVM4J Package - Native Parent [pom] [INFO] TVM4J Package - Native Linux-x86_64 [so] [INFO] TVM4J Package - Full Parent [pom] [INFO] TVM4J Package - Full Linux-x86_64 [jar] [INFO] [INFO] --------------------< org.apache.tvm:tvm4j-parent >--------------------- [INFO] Building TVM4J Package - Parent 0.0.1-SNAPSHOT [1/6] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tvm4j-parent --- [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tvm4j-parent --- [INFO] [INFO] --- maven-jar-plugin:3.0.2:jar (empty-javadoc-jar) @ tvm4j-parent --- [WARNING] JAR will be empty - no content was marked for inclusion! [INFO] Building jar: /home/aishwarya/Downloads/tvm/jvm/target/tvm4j-parent-0.0.1-SNAPSHOT-javadoc.jar [INFO] [INFO] --- maven-javadoc-plugin:2.9.1:jar (attach-javadocs) @ tvm4j-parent --- [INFO] Not executing Javadoc as the project is not a Java classpath-capable package [INFO] [INFO] ---------------------< org.apache.tvm:tvm4j-core >---------------------- [INFO] Building TVM4J Package - Core 0.0.1-SNAPSHOT [2/6] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tvm4j-core --- [INFO] [INFO] --- maven-checkstyle-plugin:2.17:check (default) @ tvm4j-core --- [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ tvm4j-core --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/aishwarya/Downloads/tvm/jvm/core/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ tvm4j-core --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 34 source files to /home/aishwarya/Downloads/tvm/jvm/core/target/classes [INFO] /home/aishwarya/Downloads/tvm/jvm/core/src/main/java/org/apache/tvm/Module.java: Some input files use or override a deprecated API. [INFO] /home/aishwarya/Downloads/tvm/jvm/core/src/main/java/org/apache/tvm/Module.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ tvm4j-core --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/aishwarya/Downloads/tvm/jvm/core/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ tvm4j-core --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 6 source files to /home/aishwarya/Downloads/tvm/jvm/core/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.7:test (default-test) @ tvm4j-core --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ tvm4j-core --- [INFO] Building jar: /home/aishwarya/Downloads/tvm/jvm/core/target/tvm4j-core-0.0.1-SNAPSHOT.jar [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tvm4j-core --- [INFO] Building jar: /home/aishwarya/Downloads/tvm/jvm/core/target/tvm4j-core-0.0.1-SNAPSHOT-sources.jar [INFO] [INFO] --- maven-jar-plugin:3.0.2:jar (empty-javadoc-jar) @ tvm4j-core --- [WARNING] JAR will be empty - no content was marked for inclusion! [INFO] Building jar: /home/aishwarya/Downloads/tvm/jvm/core/target/tvm4j-core-0.0.1-SNAPSHOT-javadoc.jar [INFO] [INFO] --- maven-javadoc-plugin:2.9.1:jar (attach-javadocs) @ tvm4j-core --- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for TVM4J Package - Parent 0.0.1-SNAPSHOT: [INFO] [INFO] TVM4J Package - Parent ............................. SUCCESS [ 0.846 s] [INFO] TVM4J Package - Core ............................... FAILURE [ 1.814 s] [INFO] TVM4J Package - Native Parent ...................... SKIPPED [INFO] TVM4J Package - Native Linux-x86_64 ................ SKIPPED [INFO] TVM4J Package - Full Parent ........................ SKIPPED [INFO] TVM4J Package - Full Linux-x86_64 .................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.034 s [INFO] Finished at: 2022-04-26T17:55:14+02:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:jar (attach-javadocs) on project tvm4j-core: MavenReportException: Error while creating archive: Unable to find javadoc command: The javadoc executable '/usr/lib/jvm/default-java/bin/javadoc' doesn't exist or is not a file. Verify the JAVA_HOME environment variable. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :tvm4j-core make: *** [Makefile:123: jvmpkg] Error 1

I have maven version: Apache Maven 3.6.3 openjdk version: openjdk 11.0.15

Kindly can anyone please help asap