"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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.