简体   繁体   English

路径更改为jdk \\ bin的JAVAC错误

[英]JAVAC Error with Path Change to jdk\bin

Problem still exists with Path Change to jdk67/bin. 路径更改为jdk67 / bin仍然存在问题。

Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. Microsoft Windows [版本6.1.7601]版权所有(c)2009 Microsoft Corporation。 All rights reserved. 版权所有。

C:\\Users\\Dell>java -version java version "1.7.0_67" Java(TM) SE Runtime Environment (build 1.7.0_67-b01) Java HotSpot(TM) Client VM (build 24.65-b04, mixed mode, sharing) C:\\ Users \\ Dell> java -version Java版本“ 1.7.0_67” Java(TM)SE运行时环境(内部版本1.7.0_67-b01)Java HotSpot(TM)客户端VM(内部版本24.65-b04,混合模式,共享)

C:\\Users\\Dell>javac 'javac' is not recognized as an internal or external command, operable program or batch file. C:\\ Users \\ Dell> javac'javac'无法识别为内部或外部命令,可操作程序或批处理文件。

C:\\Users\\Dell>echo %path% C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\Wind owsPowerShell\\v1.0\\;C:\\ant194\\bin;C:\\maven323\\bin;C:\\Java\\jdk67\\bin;C:\\Ruby200\\b in C:\\ Users \\ Dell> echo%path%C:\\ Windows \\ system32; C:\\ Windows; C:\\ Windows \\ System32 \\ Wbem; C:\\ Windows \\ System32 \\ Wind owsPowerShell \\ v1.0 \\; C:\\ ant194 \\ bin; C:\\ maven323 \\ bin; C:\\ Java \\ jdk67 \\ bin; C:\\ Ruby200 \\ b

C:\\Users\\Dell>javac 'javac' is not recognized as an internal or external command, operable program or batch file. C:\\ Users \\ Dell> javac'javac'无法识别为内部或外部命令,可操作程序或批处理文件。

C:\\Users\\Dell> C:\\ Users \\ Dell>

Please let me know. 请告诉我。

This may help you, 这可能对您有帮助,

1.copy the path upto 'bin' (Eg:-C:\\Program Files\\Java\\jdk1.7.0_07\\bin) 1.将路径复制到'bin'(例如:-C:\\ Program Files \\ Java \\ jdk1.7.0_07 \\ bin)

2.Go to properties of 'MY COMPUTER' 2.转到“我的电脑”的属性

3.Select 'Advanced System Settings' 3.选择“高级系统设置”

  1. Select 'Environment Variables' 选择“环境变量”

5.Find 'Path' in 'System variables' 5.在“系统变量”中找到“路径”

6.Click 'Edit' 6.点击“编辑”

7.Paste your above path into 'Variable value' By putting a semi-column(;)at the end of current values(Do not clear the value that already set) 7,将以上路径粘贴到``变量值''中,在当前值的末尾添加一个半列(;)(不要清除已经设置的值)

8.click ok...ok 8.单击确定...确定

9.Go to Command Prompt and type 'javac' , if pathe setting is correct,it will show some information, if not correct it will show "javac' is not recognized as an internal or external command, operable program or batch file." 9.转到命令提示符,然后键入“ javac”,如果正确的路径设置将显示一些信息,如果不正确,它将显示“ javac”未被识别为内部或外部命令,可操作程序或批处理文件。

Probable JAVA Version 7 Update 67 Installation Problem - javac.exe not found 可能的JAVA版本7更新67安装问题-找不到javac.exe

I think that there is no problem in giving contact numbers and this is not a same query 我认为提供联系电话没有问题,这不是一个相同的查询

as it is on Windows 7. 与Windows 7一样。

After installing I tried to check javac.exe in this dir C:\\Java\\jdk67\\bin and it was not 安装后,我尝试在此目录C:\\ Java \\ jdk67 \\ bin中检查javac.exe,但不是

present there. 在那儿。 Then I searched C:\\ and culd not find there. 然后我搜索了C:\\,却找不到那里。

I installed JDK from the site: 我从站点安装了JDK:

https://java.com/en/download/index.jsp https://java.com/en/download/index.jsp

I think that the installer has some problem. 我认为安装程序存在一些问题。

Regards Rohan Sarker www.rohansarker.com +913324288069 / +917278539338 致敬Rohan Sarker www.rohansarker.com +913324288069 / +917278539338

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

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