You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Rick Kellogg (JIRA)" <ji...@apache.org> on 2015/09/29 04:43:04 UTC
[jira] [Updated] (STORM-769) Storm can not identify JAVA_HOME if
the of java home contains a space
[ https://issues.apache.org/jira/browse/STORM-769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rick Kellogg updated STORM-769:
-------------------------------
Component/s: (was: external)
storm-core
> Storm can not identify JAVA_HOME if the of java home contains a space
> ---------------------------------------------------------------------
>
> Key: STORM-769
> URL: https://issues.apache.org/jira/browse/STORM-769
> Project: Apache Storm
> Issue Type: Bug
> Components: storm-core
> Affects Versions: 0.9.4
> Environment: java env:
> java version "1.7.0_75"
> Java(TM) SE Runtime Environment (build 1.7.0_75-b13)
> Java HotSpot(TM) Client VM (build 24.75-b04, mixed mode, sharing)
> windows:
> win7 X86 32bit
> Storm version:
> apache-storm-0.9.4
> Reporter: Dony.Xu
>
> I installed java 1.7.0_75 in windows 7 through .exe file and setted the JAVA_HOME path which is "D:\Program Files\Java\jdk1.7.0_75".
> Run the "java -version" command to make sure the jdk is ok.
> After I setted up all environment variable about storm, I run the command "storm version"
> the terminate shows "Error: JAVA_HOME is incorrectly set."
> So I delete following code in storm.cmd file
> "
> if not defined JAVA_HOME (
> set JAVA_HOME=c:\apps\java\openjdk7
> )
> if not exist %JAVA_HOME%\bin\java.exe (
> echo Error: JAVA_HOME is incorrectly set.
> goto :eof
> )
> "
> and run "storm version" command again,
> it shows that 'D:\Program' is not recognized as an internal or external command,operable program or batch file.
> The storm.cmd script can not deal with a JAVA_HOME path which contains a space like "D:\Program Files\Java\jdk1.7.0_75".
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)