/build/static/layout/Breadcrumb_cap_w.png

How to resolve Java error.

Hello guys.

I'm having problem on Java 6 update 41 after uninstall. Basically the machine have 2 lower java version.

Upon uninstall of Java 6 update 41, launch cmd and type java -version. 

Im getting this error.

Error occurred during initialization of VM

java.lang.NoSuchMethodError: java.lang.Class.getName()Ljava/lang/String;

 

supposedly the output of this line should be the latest java remained in the machine.


0 Comments   [ + ] Show comments

Answers (3)

Posted by: anonymous_9363 11 years ago
Red Belt
0

As ever, ProcMon will show you what file and/or registry access is taking place during the execution. You can then work backwards from there. However, an elementary perusal of the registry and file system should show you whether or not the uninstall was successful or not.


Comments:
  • The removal off application was successful. No access denied seen in ProcMon or no pointing problems to resolve the error. - ajcbasilio 11 years ago
Posted by: M P 11 years ago
Purple Belt
0

Was the computer restarted after the uninstall and before the command was run?  If not, there still could be some cleanup that has to be done from the uninstall that will revert the system to only see the previous versions and remove the pointers to the uninstalled version.


Comments:
  • Yes. the computer was restarted. Im wondering why if this command run in Admin account the lower version was detected but in standard account that error is showing. - ajcbasilio 11 years ago
    • Did the command work for the standard user prior to the uninstall? If you did not try, does a repair of the lower version by the administrative account make the command work for the standard user? - M P 11 years ago
  • Yes. It is working prior to uninstall. Now I'm checking the repair for the lower version. - ajcbasilio 11 years ago
Posted by: anonymous_9363 11 years ago
Red Belt
0

>The removal off application was successful
How can it have been? How else would the executable be detecting a lower version? Is it plucking version numbers out of the air?

Now that you have divulged further information - i.e. that an admin user and stabdard user get different results (we're good here, but not psychic!!) - a comparison of the execution whilst running ProcMon will show you EXACTLY what the difference is.

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ