java application stops working after some time

Started by vaishali, May 13, 2013, 05:23:09 PM

Previous topic - Next topic

vaishali

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. 
dinks

BJFreeman

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.
Fulltimer since 89

vaishali

hi BJFreeman ,


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