← Back to team overview

dhis2-devs team mailing list archive

Re: DHIS-lite and check for Java

 

Yes, Vuze and netbeans are examples and not dependencies...really small
files They can be automatically created to wrap the jar and these projects
can do it using a build tool like ant/ivy/maven

---
Regards,
Saptarshi PURKAYASTHA
Director R & D, HISP India
Health Information Systems Programme

My Tech Blog:  http://sunnytalkstech.blogspot.com
You Live by CHOICE, Not by CHANCE


2009/8/18 Bob Jolliffe <bobjolliffe@xxxxxxxxx>

> OK cool.  I figured this problem must be well solved by now.  Wrapping in a
> native executable sounds like a smart way to go (much like tcl distribution
> with starkits and tclkits).
>
> Saptarshi do you know is there a simple way to do this, preferably using
> maven, which doesn't necessarily involve another massive dependency (like
> netbeans in this case)?  Maybe vuze is smaller - I haven't looked yet.
>
> Regards
> Bob
>
> 2009/8/18 Saptarshi Purkayastha <sunbiz@xxxxxxxxx>
>
>  Hi,
>>
>> This issue has been solved by a number of Java projects and we have seen
>> the pitfalls of using jar files for distribution in all these projects.
>> Native executables are easiest and best way to solve this problem. The logic
>> to identify java, version, location, operating system should be done in
>> these native launchers or initialization class whichever is practically
>> doable.
>>
>> For examples, I would suggest looking at Netbeans or Vuze.
>>
>> ---
>> Regards,
>> Saptarshi PURKAYASTHA
>> Director R & D, HISP India
>> Health Information Systems Programme
>>
>> My Tech Blog:  http://sunnytalkstech.blogspot.com
>> You Live by CHOICE, Not by CHANCE
>>
>>
>> 2009/8/18 Lars Helge Øverland <larshelge@xxxxxxxxx>
>>
>>> 2009/8/18 Bob Jolliffe <bobjolliffe@xxxxxxxxx>:
>>> > Mind you ... though we don't need JAVA_HOME there might be a case for
>>> > setting JAVA_OPTS.  Maybe we just need an explanatory note on the
>>> website
>>> > about production-vs-demo and tuning.
>>> >
>>>
>>> Sure.
>>>
>>> I have tested things on Windows 7 today. Running dhis2 lite +
>>> building/testing the source code work just fine.
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>

References