java - Distributing apps via eclips -


can launch executable double click in eclipse after exporting ?

import java.util.scanner;  public class s {     public static void main(string[] args) {         scanner scan = new scanner(system.in);         system.out.println("enter a: ");         int = scan.nextint();         system.out.println("enter b: ");         int b = scan.nextint();         int result = (a + b) / 2;         system.out.println("(a+b)/2 is: " + result);         } } 

the answer can access command line or create batch file starts jar file.


Comments

Popular posts from this blog

command line - Use qwinsta in PowerShell ISE -

java - Incorrect order of records in M-M relationship in hibernate -

Python website log in: BIG-IP can not find session information in the request -