boot to java app
hi all,
my problem i made java app and I want run this app in the first boot and when it close computer shut down |
UP!!!!
|
We'll need to know what distro & version of Linux you have.
Also, how do you invoke the program.? Does it require access to a screen or GUI? |
thank u chrism01,
i have mint 11 , and I open it by type "java Game.class", and int build in JFrame (Canvas) so it need GUI thank u again |
up!!!!
|
Please don't bump threads by just posting "UP!!!", it's irritating and doesn't persuade people to answer your questions.
I think it would work if you put this into your ~/.xinitrc file: Code:
(java Game.class; sudo shutdown -h now) & Hope this helps, |
thanks for fast reply
|
All times are GMT -5. The time now is 11:09 PM. |