← Back to team overview

dhis2-users team mailing list archive

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

 

You would need to type that exactly (or copy and paste from here):

java  -jar dhis2-live.jar

But best is just to use the original startup.sh as Knut sent you.  It will
work.  There is no need to edit.


On 24 May 2013 12:04, riddy ndoma <riddyndoma@xxxxxxxxx> wrote:

> Hello Knut
> I changed not changed. The problem is that my variable that points to
> dhis2-live that name the ...
> I tried it with java-jar $ DHIS2LIVE/dhis2-live.jar
> It still does not work
>
>
> 2013/5/24 riddy ndoma <riddyndoma@xxxxxxxxx>
>
>> 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)
>>
>
>
>
> --
> 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)
>

Follow ups

References