Java Application output and working directory on 2008.8?

vale vales at gmx.de
Wed Sep 24 10:40:56 CEST 2008


put in your starterscript:

cd /path/to/your/workingdir before you call the applet ...
and also export DISPLAY=:0

has your applet graphical output? because you say output to console ... ?





Peter Neubauer wrote:
> 
> Hi there,
> 
> On Wed, Sep 24, 2008 at 10:09 AM, vale <vales at gmx.de> wrote:
>>
>> you have to look into the corresponding .desktop file in
>> /usr/share/applications i think .. there is a line exec= which contains
>> the
>> command used to start the application. it should look like the command
>> you
>> use from the terminal
> Yes, I have a starter script in /usr/bin/ and are calling that with
> exec=myApp from the .desktop file, but still the question is where
> standard output is directed to and what the working dir is if I do not
> have a shell and start the program via click on the desktop item?
> 
> starting the app with
> export DISPLAY=:0.0
> testApp
> 
> works fine with working dir=. and the output to the console ...
> 
> /peter
> 
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
> 
> 

-- 
View this message in context: http://n2.nabble.com/Java-Application-output-and-working-directory-on-2008.8--tp1114743p1114808.html
Sent from the Openmoko Community mailing list archive at Nabble.com.





More information about the community mailing list