问题描述
ide:想法 jdk:1.8 gradle:6.6.1
如果我没有设置'-ea',它会运行良好,但是当我设置-t on时,会出现错误:
Could not create the Java Virtual Machine.
A fatal exception has occurred. Program will exit.
Execution Failed for task ':Test.main()'.
> Process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/bin/java'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
如何修复〜
我尝试了Java Project和Maven Project,它们都运行良好,因此gradle一定有问题。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)