DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2005
    Posts
    1

    Exclamation Connect to Unix and run commands via a Java program

    I have desktop computer and unix server where Tomcar server is running on my local network. I want to create a java program which connects to Unix (if Telnet works, otherwise SSH, I would prefer easy one), run commands to bounce the tomcat server. In other words, I don't want to use Putty and write commands every time I need to bounce the server.

    I know how to run command(./startup.sh, etc.) with a java program. My problem is I don't know how to connect to Unix server with a java program.

    Any ideas?
    Thanks...

  2. #2
    Join Date
    Feb 2006
    Location
    Cologne - Germany
    Posts
    271

Similar Threads

  1. How to run UNIX shell script in JAVA?
    By mcaashish in forum Java
    Replies: 13
    Last Post: 08-27-2012, 12:22 PM
  2. Connect to UNIX
    By VAX in forum Java
    Replies: 5
    Last Post: 10-11-2006, 05:21 AM
  3. CONFUSED!!!
    By patch in forum Careers
    Replies: 10
    Last Post: 06-14-2002, 06:30 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. JAVADOTNET !!!
    By Dharmesh in forum .NET
    Replies: 4
    Last Post: 10-01-2001, 03:47 PM

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