GraalVm安装native-image模块时报错
>gu install native-image
Error: Insufficient privileges for administration of the GraalVM installation. You need to become "BUILTIN\Administrators" user in order to perform administrative tasks on GraalVM.
NOTE: depending on your operating system, you may need to use OS tools to install or uninstall GraalVM components.大意是 gu install 需要用管理员权限运行cmd
Win10有些版本 徽标键盘直接右键没有cmd,而且PowerShell运行Gu命令报错,目前还不清楚原因
直接win键打开开始菜单栏输入cmd,再右键点击管理员权限运行即可以管理员权限打开cmd
再gu install native-image
>gu install native-image
Downloading: Component catalog from www.graalvm.org
Processing Component: Native Image
Downloading: Component native-image: Native Image from github.com
Installing new component: Native Image (org.graalvm.native-image, version 20.3.0)