Hi,
I have handled the problem i mentioned before
Error: JAVA_HOME is not defined correctly.
> CARBON cannot execute
> /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/bin/java
Use this method:
export JAVA_HOME=`/usr/libexec/java_home`
from
http://lists.apple.com/archives/java-dev/2011/Jul/msg00172.html
<http://lists.apple.com/archives/java-dev/2011/Jul/msg00172.html>
> 在 2015年11月23日,下午7:46,周华康 <[email protected]> 写道:
>
> 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<250A71C6FC94B2544DF3B1683446DB73.png>
>
> [2]http://stackoverflow.com/questions/11372166/making-sure-java-home-is-correctly-set
>
> <http://stackoverflow.com/questions/11372166/making-sure-java-home-is-correctly-set>
> <CBD8F9AA19807486ED663D1E5C50164A.png>
>
>> 在 2015年11月23日,下午4:52,Gayan Gunarathne <[email protected]
>> <mailto:[email protected]>> 写道:
>>
>> Hi,
>>
>> On Mon, Nov 23, 2015 at 2:05 PM, 459673409 <[email protected]
>> <mailto:[email protected]>> 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
>> <http://www.apache.org/dyn/closer.cgi/stratos>
>> [2]http://www.eu.apache.org/dist/stratos/4.1.4/
>> <http://www.eu.apache.org/dist/stratos/4.1.4/>
>>
>>
>>
>>
>>
>> [1]. https://www.youtube.com/watch?v=QZNdMHGOOBA
>> <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/
>> <https://dist.apache.org/repos/dist/dev/stratos/>
>> <ac05462e-13a3-4076-8721-5c7084479013-image.png>
>> [3]https://github.com/apache/stratos/releases
>> <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 <http://wso2.com/>)
>> Committer & PMC Member, Apache Stratos
>> email : [email protected] <mailto:[email protected]> | mobile : +94 775030545
>> <tel:%2B94%20766819985>