Bug Thinking

Menu
  • Home
  • Blogging
  • Health
  • Reviews
  • Technology
  • Tutorials
Home
How To
How To Configure JAVA Version In SoapUI

How To Configure JAVA Version In SoapUI

Arsie Organo Jr. April 20, 2017

Using the desired JAVA version in SoapUI was one of my first problem when I started using SoapUI. If you are an automation engineer, software tester, or just someone who wanted to use SoapUI for testing your application’s back-end web services then this article might help you. It is not actually hard to configure or point your desired JAVA version in SoapUI but if this something that you don’t actually need then you are just fine with the default configuration.

In most cases you do not need to configure JAVA version in SoapUI for as long as you have one JAVA version (and it is updated) installed in your machine and it is properly configured in your environment variables/setup. However, in case that you have not installed JAVA then SoapUI will use it’s own JAVA version which is included in the SoapUI installer package.

Anyways, there are projects that will specifically require you to use a certain JAVA version in testing. One example is for my case where I need to use specific JAVA version.

Configure Java version in SoapUI
Configure Java version in SoapUI

If you notice the image above, I am using Java version: 1.8.0_92 for my SoapUI. So how I did it? Here’s the quick steps on how to configure JAVA version in SoapUI:

1. Open your Windows Explorer and go to where you installed your SoapUI. For example:

C:\Program Files\SmartBear\SoapUI-5.3.0\bin

2. Look for the file “soapui.bat” and open it with your text editor. I am using Notepad++ (for Windows 8 and above, you may have to open this file as Administrator so that you can later save it). By default, you will see something like this:

:SET_BUNDLED_JAVA
set JAVA=%SOAPUI_HOME%..\jre\bin\java

3. Comment out the “set JAVA=%SOAPUI_HOME%..\jre\bin\java” by adding “rem” before “set” to look like this one below (you don’t have to do this but this can serve as a backup in case you want to revert):

rem set JAVA=%SOAPUI_HOME%..\jre\bin\java

4. Then you can now add or configure your JAVA version by pointing it to the directory or path of your desired JAVA version, like this:

set JAVA=C:\Program Files\Java\jdk1.8.0_92\jre\bin\java

5. That’s it, save it and then you can now try to open again your SoapUI application. I personally start my SoapUI app using this soapui.bat batch file so that I can have a console where I can see easily the errors and what are the packages being loaded – along with the JAVA version.

I hope this article helped you.

Share on Twitter Share on Facebook Share on Pinterest Share on LinkedIn
Prev Article
Next Article
Tags:HowTo SoapUI

Interesting Articles

  • How To Write A Resume That Will Describe Your Strong Personality
    How To Write A Resume That Will …
  • How To Use iCloud Automatic Backup To Protect Your Data
    How To Use iCloud Automatic Backup To …
  • How To Move IntelliJ Root Folder To Save More Disk Space In Windows 10
    How To Move IntelliJ Root Folder To …
  • Install Skype for Business on Windows With Office 365
    Install Skype for Business on Windows With …
  • Steps on How You Can Block and Unblock Mobile Numbers in iPhone
    Steps on How You Can Block and …

More From The Author

  • Great Top 7 “Not So New Smartphones” But Still Worth Buying Over Flagship Models
    Great Top 7 “Not So New Smartphones” …
  • How Technology Made An Impact To The Advancements of Kitchen Equipment
    How Technology Made An Impact To The …
  • What Will You Do To Get Back Up From A Negative Online Review On Your Business?
    What Will You Do To Get Back …
  • How To Find Large Files On PC And Save Disk Space In Windows 10
    How To Find Large Files On PC …
  • Photography: What You Should Consider When Buying A DSLR Camera?
    Photography: What You Should Consider When Buying …
  • How to Add and Remove Microsoft Windows 10 Login Accounts For Your Family Members Or Temporary Users
    How to Add and Remove Microsoft Windows …
  • How To Effortless Convert Bulk PNG Images To JPG
    How To Effortless Convert Bulk PNG Images …
  • 5 Creative Logo Design Tips for the Top Designers
    5 Creative Logo Design Tips for the …
  • When Should You Replace Your iPhone Battery And Why?
    When Should You Replace Your iPhone Battery …
  • Educational Nursery Rhymes YouTube Channels Are Certified Good For Our Babies
    Educational Nursery Rhymes YouTube Channels Are Certified …

Bug Thinking

Copyright © 2022 Bug Thinking
All Rights Reserved. Sitemap · RSS Feeds · About Us · Contact Us · Archives · Privacy Policy · Cookie Policy