Skip to content

Commit

Permalink
java utf-8
Browse files Browse the repository at this point in the history
  • Loading branch information
zhblue committed Aug 12, 2021
1 parent 416f01d commit b23e7b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trunk/core/judge_client/judge_client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2400,9 +2400,9 @@ void run_solution(int &lang, char *work_dir, double &time_lmt, int &usedtime,
sprintf(java_xmx, "-Xmx%dM", mem_lmt);
//sprintf(java_xmx, "-XX:MaxPermSize=%dM", mem_lmt);

execl("/usr/bin/java", "/usr/bin/java",java_xmx ,
execle("/usr/bin/java", "/usr/bin/java",java_xmx ,
"-Djava.security.manager",
"-Djava.security.policy=./java.policy", "Main", (char *) NULL);
"-Djava.security.policy=./java.policy", "Main", (char *) NULL,envp);
break;
case 4:
//system("/ruby Main.rb<data.in");
Expand Down

0 comments on commit b23e7b6

Please sign in to comment.