版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/ethan__xu/article/details/82114461
提示Could not find the main class: org.eclipse.ant.internal.launching.remote.InternalAntRunner. Program或提示JRE version less than 1.7 is not supported.
解决方式:
Run As->External Tools Configurations...,
将jre设置成与workspace一样或设置Execution environment为1.7及以上,重新生成jar包即可。