Skip to content

Commit

Permalink
update java.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Sep 16, 2021
1 parent 71a1d54 commit 85c8995
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions module/ngx_http_hi_module/lib/java.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ namespace hi
#endif
break;
}
JNI_GetDefaultJavaVMInitArgs(&this->args);
this->args.nOptions = 2;
char *env_clspath = std::getenv("CLASSPATH");
std::string pre("-Djava.class.path=");
Expand Down

0 comments on commit 85c8995

Please sign in to comment.