I have got a new HP laptop and it has come with windows 10 home. After downloading the Java JDK file I double click on it and the pop up box says do you want to make the change to your system and I click yes but after that just nothing happens. I have never used windows 10 before leave alone the home version. Can someone help me out please.
Active11 months ago
the problem is that I upgraded to Windows 10 and now I'm installing my tools to programming and now that I installed the JDK 7 of Java, when I try to use in the cmd the command: - 'javac'
The result of this is: 'javac' is not recognized as an internal or external command..
But I was edited the PATH with the correct link of jdk, because when I use 'java', it is ok.
Now, I tryed in the console with this command:
PATH=%PATH%;'C:Program FilesJavajdk1.7.0_79bin'
And when I ejecute this command, when I use 'javac' it works, but now, when I open other console, it doesn´t work, or when I restart the console, this command is not recognized.
What could be the problem?
Karthikeyan Vaithilingam
5,12677 gold badges3333 silver badges5555 bronze badges
SadôkSadôk
20 Answersjava is part of the JRE, not the JDK.
You need to add the JDK bin to the system PATH, in
'Control Panel' | System | Advanced | 'Environment Variables'
xenteros
11.8k1111 gold badges3838 silver badges7171 bronze badges
SLaksSLaks
720k147147 gold badges16961696 silver badges18161816 bronze badges
Her's how I configure System variable on Windows 10 :
David Arenburg
80.8k1313 gold badges104104 silver badges168168 bronze badges
Mahesh SonavaneMahesh Sonavane
Javac Is Not Recognized Windows 10 Cmd
I am totally new to java and spent hours trying to get the problems with PATH and CLASSPATH worked out. There was one person who said to restart the command prompt after you modify the environment variables; that was it for me. While you are testing different configurations, make sure to relaunch the command prompt before testing. It seems like there are at least 2 different ways of setting this up. I went with the following:
1) In System Variables, add
JAVA_HOME = c:program files (x86)javajdk1.8.0_121
2) In System Variables, add the following to existing Path..
%JAVA_HOME%bin
That's it. No need for quotes around anything. No double forward slashes or anything else. I think it would also work if I removed the java_home variable and just listed the explicit path to bin in the PATH variable, but I'm not touching it again now that it finally works.
Amit Phaltankar
2,16322 gold badges1313 silver badges2727 bronze badges
justaguyjustaguy
After adding C:Program FilesJavajdk1.8.0_73bin to the system variables I turned off my command prompt and opened another one. Then it worked.
Jan 19, 2016 First Look – Krank Formula 6.5 Driver. Last week the USGA approved the Formula 6.5, Krank Golf’s first fully adjustable driver. Like all Krank drivers the 6.5 features forged cup face technology. In fact, according to Krank, the 6.5 is the only 100% handmade, forged adjustable driver with Cup Face technology. Unlike previous Krank drivers. Krank Formula 6 Tested Against Some of Our Top Drivers. The shaft used was an ACCRA Dymatch MT 60 M4 at 45 inches. The ball used was a TaylorMade Tour Preferred X. The heads tested were all 10.5 degree heads with settings, if available, in neutral and standard loft. The drivers we tested were the Callaway XR, TaylorMade Aeroburner, Krank 6. The Sunday Driver: Krank Formula 6.5 An adjustable long drive boom stick Words: Daniel Owen So it’s the Sunday Driver, where we go out and find an awesome driver you probably haven’t heard of before. We have featured Krank before, but now they have a new adjustable model. Krank golf 6.5 driver reviews.
V.P.V.P.
Maybe a bit late, but i had same problem.
Click on 'Move up' button for Java path and move it at top.
It fixed problem for me
CrispyCrispy
just add C:Program FilesJavajdk1.7.0_80bin as the path in environmental variables. no need to add java.exe and javac.exe to that path. IT WORKS
Sreenivas GundlapalliSreenivas Gundlapalli
I added below Path in environment variable
;%JAVA_HOME%/bin instead of %JAVA_HOME%bin
in my case , it fix the problem
trohtroh
I had the same issue on Windows 10 - the
java -version command was working but javac -version was not. There are three things I did:
(1) I downloaded the latest
jdk (not the jre) and installed it. Then, I added the jdk/bin path tan o environment variable. In my case, it was C:Program FilesJavajdk-10bin . I did not need to add the ; for Windows 10.
![]()
(2) Move this path to the top of all the other paths.
(3) Delete any other Java paths that might exist.
Test the
java -version and javac -version commands again. Voila!
Sep 27, 2017 Kanto Karaoke Player for Mac is the best Karaoke solution for Mac users. It allows you to play all karaoke files (mp3, cdg, kfn, mid, kar, video karaoke) on your. Boilsoft Audio Recorder for Mac. As a professional audio recording and editing software for Mac OS, Boilsoft Audio Recorder for Mac can record sound from Mic, CD player, line-in devices and other applications (like Skype, QuickTime Player, RealPlayer, iTunes, VLC, or DVD Player) into any popular audio format including MP3, WAV, AIF. Best karaoke player for mac.
Manan GuptaManan Gupta
For some reason it worked for me to add quotation marks to the path folder on windows 10. not C:Program FilesJavajdk 1.8.0_111bin, but 'C:Program FilesJavajdk 1.8.0_111bin'.
Javac Command Not Found Windows 10
Mściwój OgórkowskiMściwój Ogórkowski
now i got it finally! make sure that there are no spaces before and after the path and put the semi-colon on both sides without spaces
Yazan Al-HinnawiYazan Al-Hinnawi
The PATH is for current user, instead you can add a CLASSPATH and below link would help you more PATH and CLASSPATH
ihappykihappyk
32411 gold badge44 silver badges1313 bronze badges
I added below Path in environment variable
C:Program FilesJavajdk1.8.0_91bin
and then compiled the program but got the error then I restarted the system and again compiled the program
This time it worked :)
Ram kaatiyaRam kaatiya
Add java path to environment variables and move it to the top of all the paths available there. It worked for me.
yoshithayoshitha
To be sure about your path, you can use double quotes ' to locate the path or if you are in Windows, you can browse to path to select jediz
'C:Program FilesJavajdk1.8.0_121bin' folder.
Javac Command Not Found Windows
2,97533 gold badges2929 silver badges3636 bronze badges
Sanjoy PaulSanjoy Paul
Javac Not Recognized Windows 10
in the search window type 'environment variables' this should give you a link to editing the variables. On the variables editing page there is an upper section and a lower section in the lower section add NEW,type path C:Program FilesJavajdk-10bin this worked great for me and it finds the compiler all the time.
mcchudmcchud
Kind of beating a dead horse now but, I want to clarify one thing that may not be quite so obvious. Yes indeed you need to edit the PATH environment variable as already stated many times. The key for me was to edit the PATH under SYSTEM variables. I had inadvertently edited the PATH under USER variables. Why did this matter? On my machine I have to log in as an Administrator to edit environment variables. So editing the User variables was not helping because I run the command prompt under my login (non-admin) account. Grrr!
Also, I found that closing the command prompt window, and re-opening it after the PATH variable update was required. Changing the order of the values, adding semi-colons, etc. didn't make a difference for me.
Cheers
Daniel KnowltonDaniel Knowlton
what I did is-i typed ; accidentally in front in the path variable and then hit OK, after this if i again edit it was nowhere going to the same page as earlier, it opened a new page as defined for user variables and then i was able to remove double quotes in front of the PATH VARIABLE.then everything just works fine. :)
i did this just now
cheers
Javac Not Found Windows 10 After Wipes
ashwani yadavashwani yadav
Add
in A Kamill Sokol
dvanced system setting . Then Choose Environment Variable.
6,03833 gold badges3030 silver badges4949 bronze badges
Javac Not Recognized Command Prompt Windows 10
A_AnonymousA_Anonymous
for windows 10 Users Use Java path( JDK Bin location) AS 'C:Program FilesJavajdk-9.0.1bin' it will work.
Ramachandrudu RRamachandrudu R
Points to remember, do as the image shows. Move the highlighted bar up using move up button, this will help.
FrankerZ
Set Javac Path Windows 10
18.8k77 gold badges3434 silver badges7070 bronze badges
Aditya RanaAditya Rana
Not the answer you're looking for? Browse other questions tagged javawindowsjava-7javacwindows-10 or ask your own question.Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |