http://jira.hyperic.com/browse/HHQ-4023
Java 1.5 is required, otherwise a NoSuchMethodError is thrown:
I am trying to run the hqapi.sh but i get the following error:
{wvalenci}235: ./bin/hqapi.sh user list
Exception in thread "main" java.lang.NoSuchMethodError: method java.util.Collections.emptyList with signature ()Ljava.util.List; was not found.
at joptsimple.OptionSet.valuesOf(OptionSet.java:180)
at joptsimple.OptionSet.valuesOf(OptionSet.java:158)
at joptsimple.OptionSet.hasArgument(OptionSet.java:87)
at org.hyperic.hq.hqapi1.tools.Command.getApi(Command.java:155)
at org.hyperic.hq.hqapi1.tools.UserCommand.list(UserCommand.java:86)
at org.hyperic.hq.hqapi1.tools.UserCommand.handleCommand(UserCommand.java:66)
at org.hyperic.hq.hqapi1.tools.Shell.main(Shell.java:76)
Anonymous