File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Loading application" Watch "Loading application" New topic

Loading application

Chiranjeevi Kanthraj
Ranch Hand

Joined: Feb 18, 2008
Posts: 290

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

Peter Johnson

Joined: May 14, 2008
Posts: 5852

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
I agree. Here's the link:
subject: Loading application
It's not a secret anymore!