← Back to team overview

dhis2-devs team mailing list archive

[Bug 368791] Re: dhis2-lite package does not pick up installation directory on ubuntu gnome

 

** Changed in: dhis2
   Importance: Undecided => Medium

** Changed in: dhis2
       Status: New => Confirmed

** Changed in: dhis2
     Assignee: (unassigned) => Bob Jolliffe (bobjolliffe)

** Changed in: dhis2
       Status: Confirmed => Fix Committed

-- 
dhis2-lite package does not pick up installation directory on ubuntu gnome
https://bugs.launchpad.net/bugs/368791
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.

Status in District Health Information Software 2: Fix Committed

Bug description:
dhis2-lite is designed to be deployed without any configuration.  Unpack and go ... It should be able to be launched by just double-clicking on the executable jar file.

To achieve this the application must be able to determine the directory its running out of (mostly in order to find its H2 database files).  the system property user.dir reports the current working directory on windows but the behaviour is different on ubuntu gome (and presumably other linux + window manager combinations).

Current workaround on ubuntu is to start manually from a console:
java -jar dhis2-lite.jar



References