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

Reply via email to