Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: gio on May 31, 2011, 05:57:08 AM

Title: Add java starting script or application at startup
Post by: gio 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
Title: Re: Add java starting script or application at startup
Post by: curaga 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
Title: Re: Add java starting script or application at startup
Post by: gio 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,