[jboss-jira] [JBoss JIRA] (AS7-6662) Batch scripts should show some error message when we set JAVA_HOME to nonexisting folder.

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Fri Mar 1 20:44:57 EST 2013


    [ https://issues.jboss.org/browse/AS7-6662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12757967#comment-12757967 ] 

RH Bugzilla Integration commented on AS7-6662:
----------------------------------------------

Brian Stansberry <brian.stansberry at redhat.com> made a comment on [bug 901242|https://bugzilla.redhat.com/show_bug.cgi?id=901242]

Dev can devote some time to fixing this in 6.1 if it's important to PM.
                
> Batch scripts should show some error message when we set JAVA_HOME to nonexisting folder.
> -----------------------------------------------------------------------------------------
>
>                 Key: AS7-6662
>                 URL: https://issues.jboss.org/browse/AS7-6662
>             Project: Application Server 7
>          Issue Type: Enhancement
>          Components: Scripts
>    Affects Versions: 7.1.2.Final (EAP), 7.1.3.Final (EAP), 7.2.0.Alpha1
>            Reporter: Brian Stansberry
>            Assignee: Brian Stansberry
>            Priority: Minor
>             Fix For: 8.0.0.Alpha1
>
>
> 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"
> jboss-eap-6.0\bin>{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


More information about the jboss-jira mailing list