"Failed to load Main-Class manifest attribute" Error when installing JON agent

Solution Verified - Updated -

Issue

  • I got an error when trying to install the JON agent on a rhel5 machine. The command I ran was:
java -jar rhq-enterprise-agent-4.4.0.JON311GA.jar --install

and the error was:

Failed to load Main-Class manifest attribute from
rhq-enterprise-agent-4.4.0.JON311GA.jar

Environment

  • JBoss Operations Network (JON) 3.1.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content