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