Forum Discussion

James1's avatar
James1
New Contributor
9 years ago

How to change the used java version of SoapUI ?

 

We are running SoapUI 4.6.4 in the machine where jdk1.8.0_77 is installed .

And JAVA_HOME is set to C:\Program Files\Java\jdk1.8.0_77.

 

But while starting the SoapUI ,it always uses the version 1.7.0_40 

Wed Apr 20 20:12:10 GMT 2016:INFO:Used java version: 1.7.0_40

Could you let us know how to ensure that SoapUI uses the jdk1.8.0_77 ?

  • nmrao's avatar
    nmrao
    Champion Level 3
    SoapUI ships jre along with its installer and SOAPUI_HOME/bin/soapui.bat has the reference for the same.

    If you want to use external jdk other than default, then have backup of soapui.bat and edit the file to set your java home.
  • warpjogi's avatar
    warpjogi
    Occasional Contributor

    Hi,

     

    I am also using Java 8 and have removed, after installation Ready!API 1.7.0, the

    .../jre

    directory and replaced it with the one from the JDK - works fine.

     

    Jogi

    • nttung's avatar
      nttung
      New Contributor

      Hi,

      I edited the java setting field in the soapui.bat file to use my java (java 21), but in System Properties it still shows the default java (java 16) even though I restarted the SoapUI tool after I edited the .bat file. 

      The .bat file after I edited it

      System Properties:

      What step did I do wrong?