Eclipse runs Ant and reports a java exception has occurred

After using the latest version of eclipse, the workspace is still old. When running Ant, it keeps prompting Java virtual machine launcher, a java exception has occurred. In fact, this error is caused by inconsistent JDK versions. The ant home under the new eclipse points to the old eclipse. For the following ant home, the solution is to point the ant home to the ant home under the current eclipse.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327006033&siteId=291194637