GeeCON Prague 2014*
The moose likes Linux / UNIX and the fly likes Loading application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Loading application" Watch "Loading application" New topic
Author

Loading application

Chiranjeevi Kanthraj
Ranch Hand

Joined: Feb 18, 2008
Posts: 289

Hi all
I have a java application, i need to load that application with out going to linux desktop or linux login screen

if any one have idea please let me know

thanks in advance
regards
Chiru

-Chiru
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5836
    
    7

You need to write a shell script and add it to /etc/init.d, and you need to set run level (how you do that varies slightly between different Linux flavors - most of them provide GUI tools for doing this). JBoss AS comes with several such scripts, you could use one of those as a template.


JBoss In Action
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Loading application