Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A13 => Topic started by: vaishali on May 13, 2013, 05:23:09 PM

Title: java application stops working after some time
Post by: vaishali on May 13, 2013, 05:23:09 PM
hi there,

i have debian wheezy installed in my a13 wifi's sd card.
i am trying to make java application start automatically after power on.
so i have installed oenjdk 7 to run my jar application.
I have created a .xinitrc file in my root to start my application automatically.
I am using official debian image with gui in my sd card.
But i am facing a problem with this.
My application stops working after some time.
i have written following thing in my .xinitrc file.

java -jar "/root/Desktop/GMDLaserApp.jar"
exec xfwm4

so my application starts automatically after power on but stops working after some time.

Actually i have made application with touch screen.
after some time my buttons on my screen does not respond to my touch.

and i am getting some error like could not connect to session manager, session environment variables are not defined and also there is some problem in java called locking file or something.
Please help me with this. 
Title: Re: java application stops working after some time
Post by: BJFreeman on May 13, 2013, 08:09:34 PM
hi there:
this does not sound like an a13 problem, unless you have run  this on a PC and it works.
I would suggest using the logging class to give some indication of what operation may be causing this.
there is a ##java@irc.freenode.net where you concerns can be voiced.
Title: Re: java application stops working after some time
Post by: vaishali on May 14, 2013, 08:25:58 AM
hi BJFreeman ,


my application is running on my computer's ubuntu os.and thanks for your advice.