Hello & Welcome to our community. Is this your first visit? Register

Results 1 to 1 of 1
  1. #1
    Infraction Banned rice's Avatar

    Rank
    Gamma
    Join Date
    Nov 2009
    Posts
    2,959

    Fix: Error occurred during initialization of VM—

    i went through hell trying to figure this one out ;|
    anyway, in case you ever get the error
    Code:
    Error occurred during initialization of VM
    java/lang/NoClassDefFoundError: java/lang/Object
    there's a simple solution to it. I have no idea how it happens, it just does, and it's a pain in the ass to fix.

    so, you type java in cmd, you get
    Code:
    Error occurred during initialization of VM
    java/lang/NoClassDefFoundError: java/lang/Object
    then, you navigate to your java directory, and you still get
    Code:
    Error occurred during initialization of VM
    java/lang/NoClassDefFoundError: java/lang/Object
    Although we may not know how it got there initially, the problem is that your path is targeting the wrong version of java.
    Go ahead and navigate to your %PROGRAMFILES%\Java

    Well well well, what do we have here? Two jdk folders?

    Go back to your cmd, and navigate to the higher one. in my case, it was C:\Program Files (x86)\Java\jdk1.6.0_23\bin\


    So now that we know that the path is wrong, all we have to do is type a huge command to navigate to the java directory!
    [Only registered and activated users can see links. ]

    Go to your environmental variables, and edit the PATH (CLASSPATH if necessary), changing ";C:\Program Files (x86)\Java\jdk1.6.0_20\bin\" to ";C:\Program Files (x86)\Java\jdk1.6.0_23\bin\"

    And thus, we have fixed this pain in the arse error!

  2. # ADS
    HyperFilter
    RaGEZONE Sponsor

    Rank
      Sponsor  
    Join Date
    Sep 2013
    Posts
    9000


     

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HyperFilter
Sponsored by HyperFilter , secured by Incapsula , powered by LiteSpeed.
Mods by DBTech. All times are GMT +1. The time now is 05:06 PM.
Powered by vBulletin® Copyright , Jelsoft Enterprises Ltd.