IMO this it's no big deal to give control to the user to do this. We were
working with .Net devs a while back and they had no problem setting up
everything. They're knew Windows + .Net pretty well.

    -Chintana

On Wed, Mar 28, 2012 at 11:20 AM, Tharindu Mathew <[email protected]> wrote:

> I'm a .net guy who tries to start the wso2 server... and I'm told to set
> this JAVA_HOME... My first impression... this will not be as easy as the
> .net stuff I'm used to... Next, I'll go google this up and take about
> another half an hour to get this done.
>
> I'm working with a bunch of .net folks here and no one is complaining...
> but they are struggling to get the server to started...
>
> Something we need to fix? Maybe not, but it sure got me thinking...
>
>
> On Wed, Mar 28, 2012 at 10:55 AM, Thilina Buddhika <[email protected]>wrote:
>
>> Most of the tools/servers like Maven, Ant, Tomcat, Apache DS requires
>> users to set JAVA_HOME in advance which is kind of an standard approach.
>> This is the case for most of the other proprietary app servers, etc.
>>
>> Some other tools, ask users to point to the JRE installation directory
>> during their installation or it picks up the JRE installation and ask users
>> to verify it.
>>
>> [ There can be other tools who will detect Java installation by checking
>> the PATH variable or some other means. ]
>>
>> Because we do not provide any sophisticated UI based installer, our
>> current approach should be fine IMO, given that we have clearly documented
>> what needs to be done.
>>
>> Thanks,
>> Thilina
>>
>>
>> On Wed, Mar 28, 2012 at 10:41 AM, Vijitha Kumara <[email protected]>wrote:
>>
>>> > Usually in Windows when you install Java, the java binary becomes
>>> readily accessible from the command prompt.
>>>
>>> Installer adds an entry to ../bin to the PATH, AFAIR... But Tomcat etc..
>>> need JAVA_HOME to be available, not sure this has changed recently with the
>>> windows installers though.
>>>
>>> On Wed, Mar 28, 2012 at 10:18 AM, Hiranya Jayathilaka 
>>> <[email protected]>wrote:
>>>
>>>> We use JAVA_HOME to locate the java binary in a reliable manner
>>>> (JAVA_HOME/bin). I guess in Windows, there are other ways to locate it.
>>>> Usually in Windows when you install Java, the java binary becomes readily
>>>> accessible from the command prompt.
>>>>
>>>> Thanks,
>>>> Hiranya
>>>>
>>>>
>>>> On Wed, Mar 28, 2012 at 10:14 AM, Vijitha Kumara <[email protected]>wrote:
>>>>
>>>>> > Other programs seem to detect where it is...?
>>>>>
>>>>> Perhaps looking at a standard location "C:/Program Files/Java..." ?
>>>>> But cannot guarantee I guess.
>>>>>
>>>>> On Wed, Mar 28, 2012 at 10:11 AM, Thilina Buddhika 
>>>>> <[email protected]>wrote:
>>>>>
>>>>>> If the JAVA_HOME environment variable is set in Windows(similar to
>>>>>> Linux), then nothing additional is required to be done.
>>>>>>
>>>>>> It is pretty much similar to Linux.
>>>>>>
>>>>>> Thanks,
>>>>>> Thilina
>>>>>>
>>>>>>  On Wed, Mar 28, 2012 at 10:00 AM, Tharindu Mathew <[email protected]
>>>>>> > wrote:
>>>>>>
>>>>>>>  Other programs seem to detect where it is... can we do the same?
>>>>>>>
>>>>>>> It's seems unnatural for a windows user to do this....
>>>>>>>
>>>>>>> --
>>>>>>> Regards,
>>>>>>>
>>>>>>> Tharindu
>>>>>>>
>>>>>>> blog: http://mackiemathew.com/
>>>>>>> M: +94777759908
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Dev mailing list
>>>>>>> [email protected]
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Thilina Buddhika
>>>>>> Associate Technical Lead
>>>>>> WSO2 Inc. ; http://wso2.com
>>>>>> lean . enterprise . middleware
>>>>>>
>>>>>> phone : +94 77 44 88 727
>>>>>> blog : http://blog.thilinamb.com
>>>>>>
>>>>>> _______________________________________________
>>>>>> Dev mailing list
>>>>>> [email protected]
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Vijitha Kumara
>>>>> Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
>>>>> email: [email protected]
>>>>>
>>>>> Lean . Enterprise . Middleware
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> [email protected]
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Hiranya Jayathilaka
>>>> Associate Technical Lead;
>>>> WSO2 Inc.;  http://wso2.org
>>>> E-mail: [email protected];  Mobile: +94 77 633 3491
>>>> Blog: http://techfeast-hiranya.blogspot.com
>>>>
>>>
>>>
>>>
>>> --
>>> Vijitha Kumara
>>> Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
>>> email: [email protected]
>>>
>>> Lean . Enterprise . Middleware
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Thilina Buddhika
>> Associate Technical Lead
>> WSO2 Inc. ; http://wso2.com
>> lean . enterprise . middleware
>>
>> phone : +94 77 44 88 727
>> blog : http://blog.thilinamb.com
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Regards,
>
> Tharindu
>
> blog: http://mackiemathew.com/
> M: +94777759908
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chintana Wilamuna
Associate Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

phone: +94 75 211 1106
blog: http://engwar.com/
photos: http://flickr.com/photos/chintana
linkedin: http://www.linkedin.com/in/engwar
twitter: twitter.com/std_err
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to