简体   繁体   English

Java:MAC OSX终端中的版本验证错误

[英]Java : version verification error in MAC OSX terminal

i'm new to mac. 我是Mac新手。 and i installed the netbeans IDE . 并且我安装了netbeans IDE。 so i just went to verify it in the terminal. 所以我只是去终端验证一下。 then i'm getting an error while finding out the version ? 那我在找到版本时遇到了错误? this is the screenshot of the terminal. 这是终端的屏幕截图。

你应该这样写到终端

java -version 

From the NetBeans IDE, you can select the 'Tools' menu drop-down at the top of the screen. 在NetBeans IDE中,您可以在屏幕顶部选择“工具”菜单下拉菜单。 This has an option, 'Java Platforms'. 这有一个选项“ Java平台”。 Clicking on this will bring up a window that shows details of the Java platforms you have configured. 单击此按钮将打开一个窗口,该窗口显示您已配置的Java平台的详细信息。 For each platform the Platform Folder is displayed, which will include the version information in the directory name. 对于每个平台,将显示“平台文件夹”,该文件夹将在目录名称中包含版本信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM