You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2025/03/28 14:57:00 UTC

[jira] [Created] (HDDS-12724) hdds-rocks-native build fails if JAVA_HOME not set

Attila Doroszlai created HDDS-12724:
---------------------------------------

             Summary: hdds-rocks-native build fails if JAVA_HOME not set
                 Key: HDDS-12724
                 URL: https://issues.apache.org/jira/browse/HDDS-12724
             Project: Apache Ozone
          Issue Type: Bug
          Components: build
            Reporter: Attila Doroszlai
            Assignee: Attila Doroszlai


{code}
$ echo $JAVA_HOME

$ mvn -am -pl :hdds-rocks-native -Drocks_tools_native -Dtest='TestManagedRawSSTFileIterator,TestNativeLibraryLoader' clean verify
...
Failed to execute goal org.codehaus.mojo:native-maven-plugin:1.0-M1:javah (default) on project hdds-rocks-native: Error running javah command
...
Caused by: IOException: Cannot run program "/var/maven/app/hadoop-hdds/rocks-native/${env.JAVA_HOME}/bin/javah" (in directory "/var/maven/app/hadoop-hdds/rocks-native"): error=2, No such file or directory
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org