Forum Discussion

Florin_Neamtu's avatar
Florin_Neamtu
Occasional Contributor
17 years ago

[RESOLVED] Can't start the 3.0.1 release on a Vista machine due to a Java error

Hi,

I had already a previous version of SoapUI (2.5.1) installed on a Vista machine - which btw worked just fine. I have uninstalled it and I installed the SoapUI 3.0.1 - but when I'm trying to run it I get a message box saying this: "The JVM could not be started. The main method may have thrown an exception." I'm not a Java guy, it might be something wrong with my JVM, but I just installed the latest JRE and I get the same error. Any ideas how I can get  SoapUI 3.0.1 running on a Vista machine?

Regards,
Florin

13 Replies

  • Hello there

    I had the same problem today: The JVM could not be started. The main method may have thrown an exception.

    I installed it using the binary install on Windows Vista and even if I changed the -XMx1200m parameter it was still failing. I changed even to -Xmx128m!! The installer was failing as well, I had to do it in the command line passing the argument -c

    I finally solved it opening the Appearance Settings, Effects and changing the Clear Type setting to Standard. I discover this because I run the .bat file and I read something about that on the DOS window

    I hope it helps somebody
  • ceaserme's avatar
    ceaserme
    New Contributor
    Hi Guys,

    I am using soapui 3.6.1 (non pro) and was getting a similar error.

    Reduced the xmx heap to 768m (from default of 1200m) but still the same error.

    Further reduced this same heap to 486m (random number from the top of my head) and it worked. So ideal is somewhere between 486m and 768m but as long as it works - good.

    Hope this also helps someone.

    cheers
  • elwoos's avatar
    elwoos
    New Contributor
    Sadoc wrote:
    Hello there

    I had the same problem today: The JVM could not be started. The main method may have thrown an exception.

    I installed it using the binary install on Windows Vista and even if I changed the -XMx1200m parameter it was still failing. I changed even to -Xmx128m!! The installer was failing as well, I had to do it in the command line passing the argument -c

    I finally solved it opening the Appearance Settings, Effects and changing the Clear Type setting to Standard. I discover this because I run the .bat file and I read something about that on the DOS window

    I hope it helps somebody


    I had the same problem today and it was Sadoc's suggestion that worked for me. I am using Win XP sp3 and just ran the Clear Type wizard