Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 25 of 33

Thread: install network program

Threaded View

  1. #1
    Junior Member
    Join Date
    May 2012
    Posts
    18
    My Mood
    Aggressive
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Exclamation install network program

    Install JAVA networking program?
    JAVA
    well, I thank everyone who help me

    I am beginner in java, I do not know the message "Hello World"
    but I really need the following :::

    open a program on another computer on the network and show the progam open on my computer
    like my computer is 10.0.0.1, I need to open a program on your computer 10.0.0.2 and 10.0.0.1 in this program manuzear
    / / / / /

    let me explain, I want to install software on a networked computer, for example I'm in PC01 and wanna install software directly from the PC02 PC01
    I will be eternally grateful to everyone!!!
    any tip or tutorial source code ready for beginner is welcome!!
    thanks again.
    -----------------------------------------------------------------------------------------------
    -------------------------------------------------------------------------

    can someone please help me make my program to work swimmingly
    ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼
    import java.io.InputStream;
    import java.util.Scanner;
    import jcifs.smb.SmbFile;

    public class Compartilhamento {

    public static void main(String[] args) throws Exception {
    SmbFile file = new SmbFile("smb://10.0.0.2/public/program.exe");
    if (file.exists()) {
    InputStream stream = file.getInputStream();
    Scanner sc = new Scanner(stream);
    while (sc.hasNextLine()) {
    System.out.println(sc.nextLine());
    }
    }
    }

    }



    how do I work
    Last edited by ferrarini; May 30th, 2012 at 05:12 AM.


Similar Threads

  1. how to install the JVM?
    By warnexus in forum Java IDEs
    Replies: 3
    Last Post: September 1st, 2011, 10:33 AM
  2. How to install the JDK on Ubuntu Linux
    By Brt93yoda in forum Java JDK & IDE Tutorials
    Replies: 2
    Last Post: July 9th, 2011, 07:18 AM
  3. How to install the JDK on Ubuntu Linux
    By Brt93yoda in forum Java Code Snippets and Tutorials
    Replies: 1
    Last Post: June 5th, 2011, 09:09 AM
  4. Java Network performance analyser program help
    By Tark221 in forum Java Theory & Questions
    Replies: 4
    Last Post: March 22nd, 2011, 01:02 PM
  5. Maven Issues - mvn install
    By Paolo Futre in forum Java Theory & Questions
    Replies: 5
    Last Post: August 26th, 2009, 05:07 AM

Tags for this Thread