windows电脑系统下的idea编辑器切换为Linux环境运行

编辑路径为:Edit Configurations --> Configuration --> VM options --> 添加 -Dos.name=linux(这是固定写法) ;

看不懂的可以看下图所示:

windows电脑系统下的idea编辑器切换为Linux环境运行

VM options

添加

-Dos.name=linux

windows电脑系统下的idea编辑器切换为Linux环境运行