Forum Discussion

ntamu's avatar
ntamu
New Contributor
12 years ago

soapui 4.6 dont use the last java version

Hello,

I am using the soapui 4.6 on MAC OS X 10.8.5, I have java version (jdk) "1.7.0_40" installed, but when I execute soapui I get this message in the soapui log:
Fri Sep 20 13:51:17 CEST 2013:INFO:Used java version: 1.7.0_15

How can I setup the soapui to use the last java version installed (1.7.0_40 in this case)?

thanks in advance for your help.

this is my first post

4 Replies

  • nmrao's avatar
    nmrao
    Icon for Champion Level 1 rankChampion Level 1
    Welcome to soapui world!!
    Have you happened to see the java path when soapui using certain version in soapui.log file?

    If you would like to use a different version, have a backup of soapui.sh then look the the references where it is setting JAVA_HOME and update to use which you wanted.
  • redfish4ktc2's avatar
    redfish4ktc2
    Super Contributor
    Also check if you not install soapui with a bundle jre.
    It is in SOAPUI_ROOT/jre.

    If so, remove the folder or modify the sh file to not use it
  • ntamu's avatar
    ntamu
    New Contributor
    Thanks for your help, I could resolve the issue, I will explain how I did it:

    I had the SOAPUI 4.6 installed ( I used the Mac Installer), so I open the package of the SoapUI .app file( the shortcut on Applications), inside there is a "Plugins" folder with the file "jre.bundle", just delete that file, and after that when I start the application it used my java version: 1.7.0_40, I checked on the log file:
    Mon Sep 23 10:09:52 CEST 2013:INFO:Used java version: 1.7.0_40

    thanks again for your help, I hope this could be useful to the community.

    Note: I could be handy an option on SoapUi's preferences to set the JVM to use.

    have a nice day everybody.