Forum Discussion

osheaf01's avatar
osheaf01
New Contributor
14 years ago

SOAPUI keeps failing while pointing to corrupt Java

Hi,

I had a problem with my Java installation; I kept getting Error: could not open `...Java\jre6_34\lib\amd64\jvm.cfg' when I tried to use Java. This error occurred when I entered java -version at any DOS prompt.
I uninstalled Java completely using Revo uninstall; successfully installed a clean new Java; updated JAVA_HOME, JRE_HOME, EXE4J_HOME to point to the new Java; updated path to point to the new Java.

However, SOAPUI throws an error, could not open `...Java\jre6_34\lib\amd64\jvm.cfg', when I try to run an Axis 1.1 WSDL code generate. It does this even after I have completely uninstalled SOAPUI, again using Revo uninstall, and reinstalled it from scratch.

Where does SOAPUI store this configuration pointing at a dead Java? How can I get it to point to the correct Java, or stop it trying to look up a dead, removed Java folder?

I'm running 64 bit Windows 7...

FOS

1 Reply

  • osheaf01's avatar
    osheaf01
    New Contributor
    OK, managed to fix this; there are 2 folders in C:\Windows, System32 and SysWOW64.
    Both had versions of java.exe in them, but only the latter was correct.
    The System32 one was still pointing to the corrupted, uninstalled Java version.
    I renamed it to something else (java.exe.back), and SOAPUI stopped picking it up, and picked up the correct version instead.

    Hope this helps someone.