Forum Discussion
RMS
16 years agoOccasional Contributor
Hi,
Below is the exact error message I am receiving
JAVA_HOME is not set, unexpected results may occur.
Set JAVA_HOME to the directory of your local JDK to avoid this message.
"java" is not recognized as an internal or external command,
operable program or batch file.
Here is the bat file,
@echo off
set SOAPUI_HOME=%~dp0
set JAVA=%JAVA_HOME%\bin\java
if not "%JAVA_HOME%" == "" goto SET_CLASSPATH
set JAVA=java
echo JAVA_HOME is not set, unexpected results may occur.
echo Set JAVA_HOME to the directory of your local JDK to avoid this message.
:SET_CLASSPATH
rem init classpath
set CLASSPATH=%SOAPUI_HOME%soapui-pro-3.0.1.jar;%SOAPUI_HOME%..\lib\*;
rem JVM parameters, modify as appropriate
set JAVA_OPTS=-Xms1024m -Xmx1024m -Dsoapui.properties=soapui.properties -Dgroovy.source.encoding=iso-8859-1 "-Dsoapui.home=%SOAPUI_HOME%\"
if "%SOAPUI_HOME%\" == "" goto START
set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.ext.libraries="%SOAPUI_HOME%ext"
set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.ext.listeners="%SOAPUI_HOME%listeners"
set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.ext.actions="%SOAPUI_HOME%actions"
:START
rem ********* run soapui loadtest runner ***********
"%JAVA%" %JAVA_OPTS% com.eviware.soapui.SoapUIProLoadTestRunner %*
As I said earlier I was able to run the command line loadtestrunner without any issue in 2.5.1 but when I installed the newer 3.0.1 version I started receiving this error. I am not good with Java so not sure how to fix this.
Thanks for your help,
--ag
Below is the exact error message I am receiving
JAVA_HOME is not set, unexpected results may occur.
Set JAVA_HOME to the directory of your local JDK to avoid this message.
"java" is not recognized as an internal or external command,
operable program or batch file.
Here is the bat file,
@echo off
set SOAPUI_HOME=%~dp0
set JAVA=%JAVA_HOME%\bin\java
if not "%JAVA_HOME%" == "" goto SET_CLASSPATH
set JAVA=java
echo JAVA_HOME is not set, unexpected results may occur.
echo Set JAVA_HOME to the directory of your local JDK to avoid this message.
:SET_CLASSPATH
rem init classpath
set CLASSPATH=%SOAPUI_HOME%soapui-pro-3.0.1.jar;%SOAPUI_HOME%..\lib\*;
rem JVM parameters, modify as appropriate
set JAVA_OPTS=-Xms1024m -Xmx1024m -Dsoapui.properties=soapui.properties -Dgroovy.source.encoding=iso-8859-1 "-Dsoapui.home=%SOAPUI_HOME%\"
if "%SOAPUI_HOME%\" == "" goto START
set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.ext.libraries="%SOAPUI_HOME%ext"
set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.ext.listeners="%SOAPUI_HOME%listeners"
set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.ext.actions="%SOAPUI_HOME%actions"
:START
rem ********* run soapui loadtest runner ***********
"%JAVA%" %JAVA_OPTS% com.eviware.soapui.SoapUIProLoadTestRunner %*
As I said earlier I was able to run the command line loadtestrunner without any issue in 2.5.1 but when I installed the newer 3.0.1 version I started receiving this error. I am not good with Java so not sure how to fix this.
Thanks for your help,
--ag
Related Content
- 6 years ago
- 2 years ago
Recent Discussions
- 2 days ago