无法将“导出"识别为内部或外部命令 [英] 'export' is not recognized as an internal or external command

查看:83
本文介绍了无法将“导出"识别为内部或外部命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在机器上设置Maven选项.我执行以下命令,得到了'export' is not recognized as an internal or external command

I need to set Maven options in machine. I ran following command and I got 'export' is not recognized as an internal or external command

export MAVEN_OPTS=-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n

推荐答案

'export'命令仅对UNIX shell有效. 在Windows中-使用"设置 "代替导出"

'export' command is valid only for unix shells. In Windows - use 'set' instead of 'export'

这篇关于无法将“导出"识别为内部或外部命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆