diff --git a/bindings/java/hyperic_jni/jni-build.xml b/bindings/java/hyperic_jni/jni-build.xml index 38abedd99..7fd6a95f5 100644 --- a/bindings/java/hyperic_jni/jni-build.xml +++ b/bindings/java/hyperic_jni/jni-build.xml @@ -270,8 +270,9 @@ relentless="false"> - + + @@ -281,7 +282,8 @@ - + + @@ -437,7 +439,7 @@ - + @@ -447,7 +449,7 @@ - + - diff --git a/bindings/java/hyperic_jni/src/org/hyperic/jni/ArchName.java b/bindings/java/hyperic_jni/src/org/hyperic/jni/ArchName.java index 6cc57add5..fa87f5428 100644 --- a/bindings/java/hyperic_jni/src/org/hyperic/jni/ArchName.java +++ b/bindings/java/hyperic_jni/src/org/hyperic/jni/ArchName.java @@ -62,7 +62,10 @@ else if (name.equals("SunOS")) { } else if (name.equals("HP-UX")) { if (arch.startsWith("IA64")) { - arch = "ia64"; + arch = "ia"; + if (is64()) { + arch += "64"; + } } else { arch = "pa";