Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 05-13-2008, 10:00 AM   #1
Registered: Oct 2006
Location: Slovak Republic
Distribution: Slackware 14.0, 14.1, current
Posts: 418

Rep: Reputation: 52
java aplication autostartup


I need to autostart one java aplication when xwindow (KDE) is started.
The aplication starts with no problem when runing from the shell with command "java -classpath start.jar".
I need the KDE to load it automatically when started.

I get a script how to do that but it doesn't work. I should add to Xclients this.

if [ -e $APP_HOME/start.jar ] ; then
java -classpath start.jar

Should this script work??

My OS is: CentOS5

Last edited by hua; 05-13-2008 at 10:07 AM.
Old 05-13-2008, 10:37 AM   #2
Senior Member
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
If you want any program to load automatically when KDE starts, create a script to run the program in ~/.kde/Autostart.

That script should work, just make sure you "chmod +x" the script after you put it in the directory.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
fbdesk for fluxbox autostartup eastsuse Linux - Newbie 6 04-30-2005 01:11 AM
what aplication should i use citizen_x Linux - Software 1 04-05-2004 09:45 AM
Help with X aplication.... hulf_slo Linux - Software 1 07-19-2003 01:22 PM
X autostartup in RH8 darchon Linux - General 12 03-25-2003 08:47 PM
autostartup problems mark_888 Linux - General 1 03-10-2001 11:03 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:16 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration