[maemo-developers] How to autostart a graphical Java Swing application?
From: Martin Wegner martinator.de at arcor.deDate: Thu Jun 18 22:54:37 EEST 2009
- Previous message: Unique serial number accessible programmatically on device?
- Next message: How to autostart a graphical Java Swing application?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello, I want to autostart a graphical Java Swing application but I don't know how :( I tried this: /etc/init.d/run.sh with this contents: #!/bin/sh sleep 20 /home/user/ejre1.6.0_10/bin/java -classpath /home/user/bin Test When I run this script manually the Java Swing application starts with no problems. So I called: update-rc.d run.sh defaults 99 01 When I boot the Nokia then I can go to the X terminal and wait 15-20 seconds. With a little bit of luck I can see the Java application when I call ps -ef but when I call ps -ef a second time the Java application is not any longer shown in the ps list :( Please help me... Thank you so much! Greetings, Martin
- Previous message: Unique serial number accessible programmatically on device?
- Next message: How to autostart a graphical Java Swing application?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]