SmartBear / soapui

SoapUI is a free and open source cross-platform functional testing solution for APIs and web services.
http://www.soapui.org
Other
1.56k stars 607 forks source link

Unattended install on Linux fails when no java is installed #635

Closed felipecrs closed 2 years ago

felipecrs commented 2 years ago

It's simple to reproduce:

❯ docker run --rm buildpack-deps:focal-curl bash -xec \ 
  'wget https://s3.amazonaws.com/downloads.eviware/soapuios/5.6.0/SoapUI-x64-5.6.0.sh; chmod +x SoapUI-x64-5.6.0.sh; ./SoapUI-x64-5.6.0.sh -q'
+ chmod +x SoapUI-x64-5.6.0.sh
+ ./SoapUI-x64-5.6.0.sh -q
No suitable Java Virtual Machine could be found on your system.
The version of the JVM must be at least 1.8.
Please define INSTALL4J_JAVA_HOME to point to a suitable JVM.

The download page says that Java is included in the installer, so why does it matter?

image

Besides, even when java is installed, after installing, the installer is not installing its own JRE:

❯ ./SoapUI-x64-5.6.0.sh -q -dir /tmp/soapui
Starting Installer ...
The installation directory has been set to /tmp/soapui.
Extracting files ...
Finishing installation ...

❯ ls -ll /tmp/soapui/jre
ls: cannot access '/tmp/soapui/jre': No such file or directory
ReadyAPIAgent commented 2 years ago

Official docker image is coming next release. Please wait a bit and you will get an image which doesn't experience these issues ;)