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
    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, 01:22 PM
  2. Connect to UNIX
    By VAX in forum Java
    Replies: 5
    Last Post: 10-11-2006, 06:21 AM
  3. CONFUSED!!!
    By patch in forum Careers
    Replies: 10
    Last Post: 06-14-2002, 07: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, 01:43 AM
  5. JAVADOTNET !!!
    By Dharmesh in forum .NET
    Replies: 4
    Last Post: 10-01-2001, 04: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
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

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