stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sajith Kariyawasam <saj...@wso2.com>
Subject Re: Can not find the bin/stratos.in in the folder "stratos"
Date Mon, 23 Nov 2015 12:09:27 GMT
Could you try   "source ~/.profile"  instead of ". ~/.profile" ? (without
"")

On Mon, Nov 23, 2015 at 5:16 PM, 周华康 <459673409@qq.com> wrote:

> Hi,
>     Thanks for all of your helps.I have download the binary distribution.
>     But after I run the command
>     *$ sh bin/stratos.sh *
>     There is something wrong as below[1],
>      *Error: JAVA_HOME is not defined correctly.*
> *      CARBON cannot execute
> /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/bin/java*
>       And I have search the google,and find something[2],But i just know
> to run the first line command,and do not understand the second line “.
> ~/.profile”
>
>
>
>
>
> [1]The problems
>
> [2]
> http://stackoverflow.com/questions/11372166/making-sure-java-home-is-correctly-set
>
> 在 2015年11月23日,下午4:52,Gayan Gunarathne <gayang@wso2.com> 写道:
>
> Hi,
>
> On Mon, Nov 23, 2015 at 2:05 PM, 459673409 <459673409@qq.com> wrote:
>
>> Hi,Haththotuwa:
>>     I have watched the video[1] you recommed last email,and thanks for
>> your kindness.But I have encounter some problems.
>> *   Problem 1:*
>>         It seems the the there is no package in the URL[2],with which
>> someone would download the “stratos” as shows in the video[1]
>>         But finally I download it through the Github[3].
>>
>
> You need to use the download location as Sajith provided[1].The GITHUB you
> have used will be provide the source distribution.
>
>
>>     *Problem 2:*
>>     But when i try to follow the steps to run the command just like the
>> video[1] shows:
>>
>>    *$: sh bin/stratos.sh *
>>     It fails:
>>     After I unzip the startos package and try to list all the files in
>> the folder starts,I can not find the *bin/stratos.sh* as the video shows:
>>
>
>  I think you are try with source distribution. You can download the latest
> Stratos binary distribution(apache-stratos-4.1.4.zip) from location[2].
>
> [1]http://www.apache.org/dyn/closer.cgi/stratos
> [2]http://www.eu.apache.org/dist/stratos/4.1.4/
>
>>
>>
>>
>>
>>
>> [1]. https://www.youtube.com/watch?v=QZNdMHGOOBA
>> [2].There is no package in this URL to let someone download the “stratos”
>>     https://dist.apache.org/repos/dist/dev/stratos/
>> <ac05462e-13a3-4076-8721-5c7084479013-image.png>
>> [3]https://github.com/apache/stratos/releases
>> [4].The video shows there exists *bin/stratos.sh*
>> <cc2c85b4-fd28-420c-9c9c-78da81e5bc1c-image.png>
>> [5]But there is no *bin/stratos.sh* in my machine
>> <c1e8a137-a7c1-4df4-bb6c-7b019975ccc7-image.png>
>>
>>
>
>
> --
>
> Gayan Gunarathne
> Technical Lead, WSO2 Inc. (http://wso2.com)
> Committer & PMC Member, Apache Stratos
> email : gayang@wso2.com  | mobile : +94 775030545 <%2B94%20766819985>
>
>
>


-- 
Sajith Kariyawasam
*Committer and PMC member, Apache Stratos, *
*WSO2 Inc.; http://wso2.com <http://wso2.com>*
*Mobile: 0772269575*

Mime
View raw message