← Back to team overview

dhis2-users team mailing list archive

Re: [Error for to Run startup.sh file on Ubuntu 12.04]

 

Try with this one instead


On Fri, May 24, 2013 at 6:53 PM, Knut Staring <knutst@xxxxxxxxx> wrote:

> Hi Riddy,
>
> Why have you changed this file? That's what is causing you problems.
>
>
> On Fri, May 24, 2013 at 6:41 PM, riddy ndoma <riddyndoma@xxxxxxxxx> wrote:
>
>> Hi Bob,
>> this is the screenshort for startup.sh
>>
>>
>> 2013/5/24 Bob Jolliffe <bobjolliffe@xxxxxxxxx>
>>
>>> strange.  it looks like the path to jar file is not being computed
>>> correctly.  This shouldn't happen as the startup.sh does this
>>> automatically.  Maybe you have accidentally edited it.  can you attach a
>>> copy of your startup.sh
>>>
>>> Given you have java installed then you should be able to start it
>>> meanwhile by just typing:
>>>
>>> java  -jar dhis2-live.jar
>>>
>>> in the directory where the jar file is.
>>>
>>> Bob
>>>
>>>
>>>
>>> On 24 May 2013 10:36, riddy ndoma <riddyndoma@xxxxxxxxx> wrote:
>>>
>>>> Hi Lars,
>>>> Java is installed well,
>>>> the command java -version  worked well [scrshot]!
>>>>
>>>>
>>>>
>>>> 2013/5/24 Lars Helge Øverland <larshelge@xxxxxxxxx>
>>>>
>>>>> Hi Riddy, have you installed Java? Check with
>>>>>
>>>>> java -version
>>>>>
>>>>> Lars
>>>>>
>>>>>
>>>>> On Fri, May 24, 2013 at 5:10 PM, riddy ndoma <riddyndoma@xxxxxxxxx>wrote:
>>>>>
>>>>>> Hello everyone,
>>>>>> I'm Dhis user from DRC[Kinshasa]
>>>>>> I installed ubuntu 12.04 on dhis2 but when I run the startup.sh file.
>>>>>> I have a message that says "No access to the file. Jar"
>>>>>> Here at home, capturing the error message
>>>>>>
>>>>>> --
>>>>>> Riddy NDOMA
>>>>>> Software Developer
>>>>>> *Skype:* riddyndoma, *G+:* riddyndoma, *FB:* riddy ndoma
>>>>>> *Twitter:* riddyndoma, *LinkedIn:* riddy ndoma
>>>>>> *Blog:* http://riddyndoma.blogspot.com/
>>>>>>
>>>>>> Vous servir est mon désire (Serving you is my desire)
>>>>>>
>>>>>> _______________________________________________
>>>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Riddy NDOMA
>>>> Software Developer
>>>> *Skype:* riddyndoma, *G+:* riddyndoma, *FB:* riddy ndoma
>>>> *Twitter:* riddyndoma, *LinkedIn:* riddy ndoma
>>>> *Blog:* http://riddyndoma.blogspot.com/
>>>>
>>>> Vous servir est mon désire (Serving you is my desire)
>>>>
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>
>>
>> --
>> Riddy NDOMA
>> Software Developer
>> *Skype:* riddyndoma, *G+:* riddyndoma, *FB:* riddy ndoma
>> *Twitter:* riddyndoma, *LinkedIn:* riddy ndoma
>> *Blog:* http://riddyndoma.blogspot.com/
>>
>> Vous servir est mon désire (Serving you is my desire)
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Knut Staring
> Dept. of Informatics, University of Oslo
> +4791880522
> http://dhis2.org
>



-- 
Knut Staring
Dept. of Informatics, University of Oslo
+4791880522
http://dhis2.org

Attachment: startup.sh
Description: Bourne shell script


References