Unable to correct NMONVisualizer java error. Can someone help to decode this java error?

Hello AIX and Java gurus,

I have a java error that I have no clue how to resolve. I am trying to run the popular NMONVisualizer utility against a NMON dataset and getting the error as shown below:

/db2storage/NMON >java -jar NMONVisualizer_2015-02-02.jar com.ibm.nmon.ReportGenerator rasmq02hdqra_150404_1027.nmon

Exception in thread "main" java.lang.NoSuchMethodError: java.net.URLDecoder: method decode(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; not found
        at org.eclipse.jdt.internal.jarinjarloader.RsrcURLConnection.getInputStream(RsrcURLConnection.java:42)
        at java.net.URL.openStream(URL.java:827)
        at sun.misc.URLClassPath$Loader.getResource(URLClassPath.java:449)
        at sun.misc.URLClassPath.getResource(URLClassPath.java:166)
        at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:676)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:239)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:516)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:448)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:220)
        at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:54)

How ca I resolve this error? Immediate help needed.


Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Try updating your JRE. You need jre >= 1.4 to invoke that method of URLDecoder

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
EnyimbaAuthor Commented:

Thank you for you response...much appreciated. I have a few followup questions: (1) Can the java nmon analyser be run in windows with nmon data as input?
(2) How can I update jre >=1.4 in AIX server?
(3) In what installation path should this update be updated to?
Can't help there really though i'd guess the answer to 1) is yes
EnyimbaAuthor Commented:
Thanks CEHJ
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.