this should be answered in the Wiki here: https://docs.jboss.org/author/display/RHQ/Building+RHQ
If that does not work for you, please come up with specific questions / issues, so that we can better help and/or improve the wiki page.
Thank you heiko and RHQ Developers,
My aim is add new menu (like platforms in dashboard) so i make changes in the existing InventoryView.java . So i try to rebuild the file, It is right ????
I followed your guidelines... thank you.. if you have any other videos for rebuild the existing code please show me.
You should go to
and then run maven -Pdev install, which will install the assembled coregui.war file into the running development container. I think the above wiki page talks about that as well.
Is it required to upgrade JDK from 6 to 7 to build RHQ 4.6? I cannot build RHQ4.6 with JDK 6 now. I will install JDK 7 and try again.
Your confirmation is much appreciated.
Thanks and best regards.
yes, I think that is required now (given that 1.6 is EOL anyway). I think we still support a -target 1.6 meaning that the code should continue to run on Java6 VMs.
I don't recall the details though - Jay Shaughnessy may do.
1 of 1 people found this helpful
That's correct. We now require Java7 to build. This was done primarily because of a bug in Java6, and earlier, that complicated our build. The bug was resolved in java7. Since we do not yet use Java7 API's in the code, we still support running on a Java6 VM.
Thanks Jay and Heiko.
Your answer helps me a lot to understand the question.
FYI, I can build RHQ4.6 with JDK7 and run it on Java 6 successfully.