Linux sh下指定JDK 运行 某个 main函数

版权声明:本文为博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/wang603603/article/details/78804973
export JAVA_HOME=/usr/local/software/jdk1.8.0_131
export EXE_JDK=${JAVA_HOME}/bin/java

nohup ${EXE_JDK} -server -Xmx1000m -XX:-OmitStackTraceInFastThrow -classpath .:lib/*:config:ytk-learn.jar:ytk-learn-lib.jar -Dlog4j.configuration=file:config/log4j.propertiescom.fenbi.ytklearn.predictor.Predicts  \

    "${config_path}" "${model_name}" "${file_dir}" "${transform}" "${transform_script_path}" "${resultSaveMode}" "${resultFileSuffix}" "${max_error_tol}" "${eval_metric}" "${predict_type}" >> log/info.log 2>&1 &




com.fenbi.ytklearn.predictor.Predicts 后面的为 main(String[] args)的参数  args

展开阅读全文

没有更多推荐了,返回首页