Bug 901242 (JBPAPP6-1692)
| Summary: | Batch scripts should show some error message when we set JAVA_HOME to nonexisting folder. | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Petr Kremensky <pkremens> |
| Component: | Scripts and Commands | Assignee: | Brian Stansberry <brian.stansberry> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.0.1 | CC: | pkremens |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://jira.jboss.org/jira/browse/JBPAPP6-1692 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: |
Windows
|
|
| Last Closed: | 2013-07-05 13:20:20 UTC | Type: | Feature Request |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Brian, can you please look into this? Thanks! Dev can devote some time to fixing this in 6.1 if it's important to PM. *** This bug has been marked as a duplicate of bug 978788 *** |
project_key: JBPAPP6 steps to reproduce: ... {noformat}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" jboss-eap-6.0\bin>{noformat} ... 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