WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Add java starting script or application at startup  (Read 1899 times)

Offline gio

  • Newbie
  • *
  • Posts: 10
Add java starting script or application at startup
« on: May 31, 2011, 05:57:08 AM »
Hi,
I am a newbie to TC, so it should be I missed where some useful news are.
I tried to read around the forum and the docs, but I was unable to find what I am looking for.
I need to start a java application and using my tc machine just like a ... machine (or kiosk if you prefer).
I have loaded all the needed extensions, so if I open a terminal and manually start my java application that needs graphics (say something like java -jar myapp.jar) it is all ok.
My goal is now to have my java app running at startup or, as an alternative, being able to start it up from the bar.
Is there a way to make it? I suppose yes, but really I was not able to do it.
Thank you all

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Add java starting script or application at startup
« Reply #1 on: May 31, 2011, 08:11:46 AM »
Put the start command to a file in .X.d, and it will load on startup. Alternatively if you want an icon, you could make an extension.

http://distro.ibiblio.org/tinycorelinux/faq.html#appstart
The only barriers that can stop you are the ones you create yourself.

Offline gio

  • Newbie
  • *
  • Posts: 10
Re: Add java starting script or application at startup
« Reply #2 on: May 31, 2011, 08:49:17 AM »
Thank you, it works. I did not understand how I missed the FAQ message you wrote in link.
Thank you again,