Connect to Unix and run commands via a Java program

DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Connect to Unix and run commands via a Java program

  1. #1
    Join Date
    Nov 2005

    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(./, etc.) with a java program. My problem is I don't know how to connect to Unix server with a java program.

    Any ideas?

  2. #2
    Join Date
    Feb 2006
    Cologne - Germany

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
    By Dharmesh in forum .NET
    Replies: 4
    Last Post: 10-01-2001, 03:47 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