DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2006

    how to initiate jar file using shell script in linux


    I am creating one java JAR file for my project work. It works well in windows by double clicking.
    But, for linux , i need to write one shell script and just clicking that script( like .bat file in windows), it will initiate the jar file.
    pls, give me example and how to write that shell script in linux.

    Also, i want to write that jar file in cd and make cd as auto mount using shell script. if any one have idea , share with me.

    thank you.

  2. #2
    Join Date
    Sep 2006
    Quote Originally Posted by kalamram
    give me example and how to write that shell script in linux.
    Use: java -jar your.jar

Similar Threads

  1. Replies: 10
    Last Post: 10-07-2006, 11:10 AM
  2. updating jar file
    By DEVILSAN in forum Java
    Replies: 7
    Last Post: 06-24-2006, 07:42 AM
  3. Replies: 1
    Last Post: 07-19-2005, 01:03 AM
  4. wav file fade in out help
    By jase_dukerider in forum C++
    Replies: 2
    Last Post: 04-14-2005, 07:48 PM
  5. open text file using shell
    By Hian Chew in forum VB Classic
    Replies: 0
    Last Post: 03-06-2001, 12:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.