[
https://issues.jboss.org/browse/WFLY-221?page=com.atlassian.jira.plugin.s...
]
Rostislav Svoboda resolved WFLY-221.
------------------------------------
Fix Version/s: 8.0.0.Alpha3
(was: 8.0.0.CR1)
Resolution: Done
Batch scripts should show some error message when we set JAVA_HOME to
nonexisting folder
----------------------------------------------------------------------------------------
Key: WFLY-221
URL:
https://issues.jboss.org/browse/WFLY-221
Project: WildFly
Issue Type: Enhancement
Components: Scripts
Reporter: Brian Stansberry
Assignee: Rostislav Svoboda
Fix For: 8.0.0.Alpha3
steps to reproduce:
...
{code}jboss-eap-6.0\bin>set JAVA_HOME=c:\dummy
jboss-eap-6.0\bin>standalone.bat
Calling "W:\tmp\pk\jboss-eap-6.0\bin\standalone.conf.bat"
>{code}
...
batch script will end on this line (standalone.bat)
l:73 "%JAVA%" -client -version 2>&1 | findstr /I /C:"Client
VM" > nul
On linux we get at least error message:
./standalone.sh: line 178: /home/dummy/bin/java: No such file or directory
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira