-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRun.java
30 lines (26 loc) · 863 Bytes
/
Run.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package run;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
*
* @author 70136
*/
public class Run {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
try {
// TODO code application logic here
Runtime.getRuntime().exec("java -Xmx1024m -XX:+UseSerialGC -XX:MaxHeapFreeRatio=0 -XX:MinHeapFreeRatio=0 -Xms128m -XX:InitiatingHeapOccupancyPercent=5 -jar TestAudio.jar");
} catch (IOException ex) {
Logger.getLogger(Run.class.getName()).log(Level.SEVERE, null, ex);
}
}
}