我尝试通过IDEA在WSL2.0上运行测试,但是我得到了下一个错误
/usr/lib/jvm/java-8-openjdk-amd64//bin/java -ea -Didea.test.cyclic.buffer.size=1048576 -Dfile.encoding=UTF-8 -classpath /mnt/c/Program Files/JetBrains/IntelliJ IDEA 2021.1.3/lib/idea_rt.jar com.intellij.rt.execution.CommandLineWrapper /mnt/c/Users/gagar/AppData/Local/Temp/idea_classpath60908778 com.intellij.rt.junit.JUnitStarter -ideVersion5 -junit4 com.tests.rest.agent.Agent
/bin/sh: 1: export: ProgramFiles(x86): bad variable name
Process finished with exit code 2 发布于 2021-07-15 04:27:22
通过工具箱安装IDEA。现在一切都很顺利。不同之处在于通向IDEA的路径。
https://stackoverflow.com/questions/68377009
复制相似问题