DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2006
    Posts
    1

    How to call Java program main method from shell script

    I have small java program.i want call this program from shell script.so how to create a shell script which can call the java program.and how to specify the path of java programme in the shell script.

    thanks in advance

    --Regdars
    Rama

  2. #2
    Join Date
    Jan 2011
    Posts
    1

    Calling java from shell script

    hi rama,

    u can just u the command "java filename" for calling the java file

Similar Threads

  1. java program need help!
    By knindza in forum Java
    Replies: 6
    Last Post: 03-23-2006, 04:13 AM
  2. Help! Simple Java Program.
    By SlickWilly440 in forum Java
    Replies: 2
    Last Post: 01-28-2006, 09:17 PM
  3. Replies: 1
    Last Post: 05-20-2003, 03:44 AM
  4. .NET vs. Enterprise Java: Who's Got Better Security?
    By Glen Kunene in forum Talk to the Editors
    Replies: 17
    Last Post: 03-23-2002, 12:43 AM
  5. Replies: 0
    Last Post: 11-19-2001, 12:11 AM

Bookmarks

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
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links