How to Install Java on Windows 10/11 [ 2024 Update ] setup JAVA_HOME, JDK Installation
Вставка
- Опубліковано 2 жов 2024
- Hello Everyone! Today in this video I am going to step-by-step guide you on How to install Java JDK with JAVA HOME on Windows 10. Windows (64-bit)
► Follow me on Instagram: / geekyscript
► Subscribe to Geeky Script Vlog Channel: / @geekyscriptvlogs
► Subscribe to Geeky Syntax Channel: / @geekysyntax
You can also follow our article at -- geekyscript.co... for installing java.
Just remember JDK stands for Java SE Development Kit and JRE stands for Java Runtime Environment.
Geeky Script (
@GeekyScript) is Computer Science - Educational Videos Creator 🎉
You can support by buying a coffee ☕️ here -
www.buymeacoff...
✻ I really hope you find this video useful. ♥
✻ Please click on the CC button to read the subtitles of this video.
Now let's begin our Java 21 Installation.
Step 1. How to Download Java 21
www.oracle.com...
This page will lead to the JAVA JDK download page.
Find the installation file and then simply click on it for download. You need to click the Oracle License agreement. Download the JDK as shown in the video as per your operating system. Here is this video we showed how to download and install Java on Windows 10.
Now after downloading JDK 21 save the file to the disk and follow the next step for installation.
Step 2. Install Java 21
Double-click to run the JDK download file. Just follow the prompt as shown in the video and install JDK on your OS.
Step 3. Now it is Highly Recommended to also install IntelliJ IDEA IDE:
Link: • How to install Intelli...
A detailed Video on Compiling and Executing HelloWorld Java Program in Eclipse IDE is here: • How to install Eclipse...
And Lastly about NetBeans IDE: • How to install NetBean...
The instructions in this video tutorial can be applied to laptops, desktops, computers, and tablets that run the Windows 10 operating system like Windows 10 Home, Windows 10 Professional, Windows 10 Enterprise, and Windows 10 Education. This tutorial will work on all hardware manufacturers, like Dell, HP, Acer, Asus, Toshiba, Lenovo, and Samsung.
#Java21 #JDK21 #Javatutorialforbeginners #Javatutorial #Javaprogramming #Javaprogrammingtutorial #Javabasicsforbeginners #Windows10/11
Visit our Website at geekyscript.com/
Topics addressed in this tutorial:
How To Download And Install Java JDK On Windows 10/11 64 bit OS
Install JAVA JDK on Windows 10/11
How to Install Java JDK and Get Started
Set Java Environment Variable
---------------------------------------------------------------------------
► Laptop I use:
amzn.to/4937mKs
amzn.to/3HJGXp5
► Recommended Laptops (35k Range):
amzn.to/3OqfNqL
amzn.to/3OrvHRZ
amzn.to/3SLK6uX
► Laptops 50k Range:
amzn.to/3ujvWHW
amzn.to/3UrW6CL
amzn.to/3SKlJh7
► Rode Wireless Mike:
amzn.to/4899rTH
amzn.to/3wd7nwE
► Windows 11 Pro 64-Bit: amzn.to/49cEpvk
► Windows 10 Pro 64-Bit: amzn.to/3SIxOn0
► Quick Heal Antivirus: amzn.to/49gnsAJ
► McAfee Antivirus: amzn.to/48ZoHUp
---------------------------------------------------------------------------
MY RELATED VIDEOS:
✻ All about Android Studio: • How to install Android...
✻ All about PostgreSQL: • How to Install Postgre...
✻ All about MongoDB: • How to install MongoDB...
✻ All about MySQL: • How to Install MySQL o...
✻ All about WordPress: • How to Install WordPre...
✻ All about Java Spring: • Spring Framework | Spr...
✻ All about Maven: • Maven project in NetBe...
✻ All about eBook: • How to Create an Ebook...
✻ All about React: • How to Install React o...
✻ All about NextJS: • How to Install Next.js...
✻ All about Angular: • How to Install Angular...
✻ All about Microsoft SQL Server: • How to Install Microso...
✻ All about Wamp: • How to Install WAMP Se...
✻ All about Visual Studio: • How to Install Microso...
---------------------------------------------------------------------------
THANK YOU so much for watching!
Please make sure to LIKE and SHARE the video and SUBSCRIBE to the channel for more such videos :)
---------------------------------------------------------------------------
CONNECT WITH ME ON:
✻ Website: geekyscript.com/
✻ Instagram: / geekyscript
✻ LinkedIn: / geekyscript
✻ Twitter: / geekyscript
✻ Email: geekyscript@outlook.com
✻ UA-cam channel: / geekyscript
---------------------------------------------------------------------------
Affiliate Disclaimer: Some of the links above are affiliate (referral) links which means if you do click and purchase through them, then I may receive a commission. This helps support the free content on this channel.
Did this tutorial help you to install Java?
Comment Now!! And let me know your opinion...
And Please SUBSCRIBE for more! Also, you can Support my work through UA-cam Thanks!
when i go to cmd and write javac HelloWorld it saysthat it doesnt exist what do i do?
@@WitheredBonniekdksjsnsame
For some reason once I've typed the code in the note pad it won't load in cmd prompt like yours.
Couldn't ask for a better video then this thank you bro
Glad I could help! Also, watch Complete ECommerce tutorial ⏩ ua-cam.com/video/76E2QmjhRtQ/v-deo.html and WordPress Tutorial Playlist ⏩ ua-cam.com/video/qt2BQt7uPbs/v-deo.html
it is always showing error in cdm
Yes
I love straight-to-the-point videos so much! These carry me through my IT career. Thanks, @GeekyScript
Awesome!! ❤ Also, watch Complete ECommerce tutorial ⏩ ua-cam.com/video/76E2QmjhRtQ/v-deo.html and WordPress Tutorial Playlist ⏩ ua-cam.com/video/qt2BQt7uPbs/v-deo.html
Abhi call copied you but it didn't happen to me if you go to command promote and search java version it says there"could not find or load main class version etc,,,,,, please 🙏🙏 Please tell me the correct rules for setting up Java.❤❤❤
Oi im having a problem when i type javac HelloWorld.java it says the symbol system.out.PrintIn(String) cannot be found what do i do??
I'm also facing the same issue 😢
helped me after I spent a hour following other videos
Happy to hear that!! ❤❤
► Follow me on Instagram: instagram.com/geekyscript/
► Subscribe to Geeky Script Vlog Channel: www.youtube.com/@GeekyScriptVlogs/
► Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/
Why I can't run Java in vs code 😖😖😖😖😖😖😖😖
follow this video: ua-cam.com/video/8NMAM9_33AA/v-deo.html&lc=UgxqfoEU7npmhS2VcfF4AaABAg
Followed every detail but still did not work.Help
Why? what happened?
This helped so much thank you very much all others UA-camrs are off point and hard to follow along but you did it in the easiest and understanding way possible!
I got this kind of message
HelloWorld.java:3: error: cannot find symbol
public static void main(string args[])
^
symbol: class string
location: class HelloWorld
1 error
S needs to be capital in String
Very Well Explained Thank You So Much
You are most welcome! ❤ Also, watch Complete ECommerce tutorial ⏩ ua-cam.com/video/76E2QmjhRtQ/v-deo.html and WordPress Tutorial Playlist ⏩ ua-cam.com/video/qt2BQt7uPbs/v-deo.html
hey I got an error
HelloWorld.java:1: error: '{' expected
class Hello World {
^
1 error
do you know how to solve this?? i will paste my script below
class Hello World {
public static void main(String args[])
{
System.out.println("Hello World");
}
}
you have to write class HelloWorld without the space
This is the correct version:
class HelloWorld{
public static void main(String args[]){
System.out.println("Hello World");
}
}
Awesome! Thanks for your help!
when i select path in the enviroment variables tab, the button for edit is disabled???
Thank you so much bro I fix my problem ❤❤
Still java is not recognised as an internal.........😢
when i go to cmd and write javac HelloWorld it saysthat it doesnt exist what do i do?
Then you say " Who are you to say like that " 😂😂
I too got the same!! How to fix it?
@@sundariskitchen7683 did you guys changed properly the file extension as shown in the video??
@@GeekyScriptyeah I did it but is doesn’t work. I did everything but when I go to cmd it also says that it doesn’t exist?
@cips4you. Rewatch the video I had same problem it turned out I had stuff spelled incorrectly one of the problems was uppercase letters I didn't see and another problem was that I put printin and not println
Thank you so much. It helped a lot!!
Glad it helped! ❤ Also, watch Complete ECommerce tutorial ⏩ ua-cam.com/video/76E2QmjhRtQ/v-deo.html and WordPress Tutorial Playlist ⏩ ua-cam.com/video/qt2BQt7uPbs/v-deo.html
Super explanation ❤
Glad you liked it! ❤❤
► Follow me on Instagram: instagram.com/geekyscript/
► Subscribe to Geeky Script Vlog Channel: www.youtube.com/@GeekyScriptVlogs/
► Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/
Thank you so much! This was so helpful and straight to the point.
You're welcome!
Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
www.youtube.com/@GeekyScriptVlogs/
Not able to edit system variables (path)
Hlo thank you for the tutorial but i'm facing a prblm. when i'm doing in environmental variables edit option is not showing so plzz guide me .
Same problem
You help me a lot. for those whose cdm show error. I also get that error first but when i re-enter the pathway it worked.I don't know why but it worked
what the you mean by the pathway please
it literally worked for one person why the heck didn't i get it it just said some error code. I googled this error code and turns out it means that there are multiple installations at once causing it not to work. I then looked on every single youtube video, and then every single website, and none of them worked. Including this one.
yo, me 2, is it working now?
اذا كان هناك اصدار قديم ل jdk تم تنزيله من قبل علي الجهاز واريد تحميل اصدار جديد وتشغيله علما بان الاصدار القديم يعمل علي البرامج الحاليه علي الجهاز
Is it necessary to create the Hello World folder?
yes.. if you want to do programming in java
I really like your tutorial , bro. Thanks!
Great video, cheers from Brasil
You're welcome!! ❤ Also, watch Complete ECommerce tutorial ⏩ ua-cam.com/video/76E2QmjhRtQ/v-deo.html and WordPress Tutorial Playlist ⏩ ua-cam.com/video/qt2BQt7uPbs/v-deo.html
Unrecognized option: --version
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
i have some error problem👆
thank you its works!!
Don't normally comment but just felt like I had to because I had problems with files because I was trying to use a modded version of something and I had no idea what I was doing. Found out I needed java and thankfully stumbled upon your video as I didn't know how to properly install it. Thank you SO SO much! I've literally spent more than an hour trying to figure it all out and I finally have thanks to this video!
Glad I could help! 😊 ❤
Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
www.youtube.com/@GeekyScriptVlogs/
Wew❤
Anyway i hope this message help
❤Believe in the Lord Jesus and you will be saved, along with everyone in your household.'
Acts 16:31
Hi, i have a problem, idk why but i cant click the button "edit" for the path in the edit environment variables page
hello, I followed all the steps yet the Java folder doesn't show. could I request some help?
You are just awesome ...very understandable for beginners
hi eventhough i have followed each and every step while verifying in cmd the version in not showing ? what can be the reason
same issue bro
Was able to successfully install java thank you for the steps sir...🙂
You are most welcome! ❤ ❤
► Follow me on Instagram: instagram.com/geekyscript/
► Subscribe to Geeky Script Vlog Channel: www.youtube.com/@GeekyScriptVlogs/
► Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/
bro I followed all the steps correctly and when I search java ==version on cmd it says error
please tell it clear
Thank you, sir u explained it very well, and it was really helpful.
Welcome!! ❤ Also, watch Complete ECommerce tutorial ⏩ ua-cam.com/video/76E2QmjhRtQ/v-deo.html and WordPress Tutorial Playlist ⏩ ua-cam.com/video/qt2BQt7uPbs/v-deo.html
when i search this "environment" then it doesnt show up.
Very helpful video!!! I didn't know what to do and now I have written my first Java code 🙂
Awesome!! ❤ Also, watch Complete ECommerce tutorial ⏩ ua-cam.com/video/76E2QmjhRtQ/v-deo.html and WordPress Tutorial Playlist ⏩ ua-cam.com/video/qt2BQt7uPbs/v-deo.html
very detailed cause even the file extension he menstion, nice vid
Thank you friend! And most welcome!! 😊 ❤ Also, watch Complete ECommerce tutorial ⏩ ua-cam.com/video/76E2QmjhRtQ/v-deo.html and WordPress Tutorial Playlist ⏩ ua-cam.com/video/qt2BQt7uPbs/v-deo.html
When i enter cmd it say
HelloWorld.java:5 ereor: package system does not exist
System.out.println("HelloWorld");
Why??
Same bro
I have correctly given the file name and everything but file not found its coming sir
I am clicking on the inatallee but it's not opening...no installer page nothing. I dont have any other version in the system.Already checkednwith Java uninstall programme.
same
Good
Welcome!! 😊 ❤ Also, watch Complete ECommerce tutorial ⏩ ua-cam.com/video/76E2QmjhRtQ/v-deo.html and WordPress Tutorial Playlist ⏩ ua-cam.com/video/qt2BQt7uPbs/v-deo.html
U explained it very nicely.thank you sir
You are most welcome! 😊 ❤
Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
www.youtube.com/@GeekyScriptVlogs/
HelloWorld.java:5: error: cannot find symbol
System.out.printIn("Hello World");
^
symbol: method printIn(String)
location: variable out of type PrintStream
1 error
What just happened?
Can us share the entire code here?
@@GeekyScript class HelloWorld
{
public static void main(String args[])
{
System.out.printIn("Hello World");
}
}
Here
@@regidrago27 It is System.out.println("Hello World");
Here in println, it is small letter of L "ln", not capital letter of i "In"..
I know its hard to see.. but it will println.. small letter of L.. Not I
@@GeekyScript ohh, my bad then, thanks for the information
@@GeekyScript also about this one
C:\Users\M S I\OneDrive\Desktop\JAVA Practice>Hello World
'Hello' is not recognized as an internal or external command,
operable program or batch file.
What just happened?wrong path or something else?
Thank you so much! This video was very helpful for me.
Most Welcome!! 😊 ❤ Also, watch Complete ECommerce tutorial ⏩ ua-cam.com/video/76E2QmjhRtQ/v-deo.html and WordPress Tutorial Playlist ⏩ ua-cam.com/video/qt2BQt7uPbs/v-deo.html
Yes it is useful but after typing the program and save it run in cmd javac HelloWorld.java it shows error file not found idk y. Pls help me to resolve this
same\
Os not there in my laptop how
thank you. successfully installed java 22 in my windows 11.
Awesome!! 😊 ❤ Also, watch Complete ECommerce tutorial ⏩ ua-cam.com/video/76E2QmjhRtQ/v-deo.html and WordPress Tutorial Playlist ⏩ ua-cam.com/video/qt2BQt7uPbs/v-deo.html
GoodJob!
Welcome!! ❤ Also, watch Complete ECommerce tutorial ⏩ ua-cam.com/video/76E2QmjhRtQ/v-deo.html and WordPress Tutorial Playlist ⏩ ua-cam.com/video/qt2BQt7uPbs/v-deo.html
When I go to click on edit at 4:01 in the video, that edit button is grey’d out. I can’t click it..help
Did you get this solved i cant click it aswell😭
@@rosey_smiile nah. I’m glad I didn’t tho, I was trying to download these on a laptop 💀 that wasn’t a gaming laptop. It would’ve absolutely obliterated the system.
@@drewdawson9250 wait what 😭😭 i have an hp ProBook Intel core i7
Is that fine?
@@rosey_smiile nah, downloading something like optifine according to my IT friend, he said it’d be terrible😂
@@drewdawson9250 damm okay and i already did the whole java thing😭
Best videooooooo
Thanks friend! ❤ Also, watch Complete ECommerce tutorial ⏩ ua-cam.com/video/76E2QmjhRtQ/v-deo.html and WordPress Tutorial Playlist ⏩ ua-cam.com/video/qt2BQt7uPbs/v-deo.html
When it's a Indian it means your problem gonna be fixed
Awesome! 😊 ❤
Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
www.youtube.com/@GeekyScriptVlogs/
Used this tutorial to install jdk 22 on windows 10 and it worked perfectly 👍
Awesome! ❤❤
► Follow me on Instagram: instagram.com/geekyscript/
► Subscribe to Geeky Script Vlog Channel: www.youtube.com/@GeekyScriptVlogs/
► Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/
Johnson William Martinez Robert Davis Lisa
aaah thank youu
Most Welcome!! ❤❤
► Follow me on Instagram: instagram.com/geekyscript/
► Subscribe to Geeky Script Vlog Channel: www.youtube.com/@GeekyScriptVlogs/
► Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/
Thank u so much sir 🙏
Most welcome! ❤ Also, watch Complete ECommerce tutorial ⏩ ua-cam.com/video/76E2QmjhRtQ/v-deo.html and WordPress Tutorial Playlist ⏩ ua-cam.com/video/qt2BQt7uPbs/v-deo.html
Hii, i wanna ask aa question, as i dowload java and jgrasp both, but when i start to open jGRASP its says me java registry item does not exist or executable, what should i do?
Edit k option ni aa rh
thanks bro👍
Welcome 👍❤ Also, watch Complete ECommerce tutorial ⏩ ua-cam.com/video/76E2QmjhRtQ/v-deo.html and WordPress Tutorial Playlist ⏩ ua-cam.com/video/qt2BQt7uPbs/v-deo.html
@geekyscript why is this error showing up i followed every step ' file not found: HelloWorld.java
Usage: javac '
This video really helps me alot thank u
I'm so glad! All the best 😊 ❤
Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
www.youtube.com/@GeekyScriptVlogs/
Jackson James Moore Shirley Thomas Paul
Thank you bro! This helps me alot. It works just fine thanksss!!!
Glad it helped! :) Welcome 👍
Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
www.youtube.com/@GeekyScriptVlogs/
Thank you so much sir ✊this is was so helpful to me ☺
Most welcome!😊 ❤
Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
www.youtube.com/@GeekyScriptVlogs/
Hi, it gives me two different errors and i can't get it to work :( i've been trying for a long time now and still nothing... errors 1632 & 2755
Thompson Daniel Thomas Joseph Robinson Michael
Thank you❤
Most Welcome!! ❤❤
► Follow me on Instagram: instagram.com/geekyscript/
► Subscribe to Geeky Script Vlog Channel: www.youtube.com/@GeekyScriptVlogs/
► Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/
thank you very much
You are welcome! 😊 ❤
Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
www.youtube.com/@GeekyScriptVlogs/
Thank You so much sir!!!!!!❤❤❤
Most welcome!! 😊 ❤
Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
www.youtube.com/@GeekyScriptVlogs/
thank you
You're welcome! Also, watch Complete ECommerce tutorial ⏩ ua-cam.com/video/76E2QmjhRtQ/v-deo.html and WordPress Tutorial Playlist ⏩ ua-cam.com/video/qt2BQt7uPbs/v-deo.html
When I go to cmd it says error :(
what is that error message?
@@GeekyScript It says "Error: Could not find or load main class HelloWorld" at cmd 😭
@@D4xvi I need to see a couple of things..
1. your file name
2. your code.
pls, mail me at geekyscript@outlook.com with a screenshot.. I will try to help.
Thanks, got it easily
You're welcome!! 😊 ❤ Also, watch Complete ECommerce tutorial ⏩ ua-cam.com/video/76E2QmjhRtQ/v-deo.html and WordPress Tutorial Playlist ⏩ ua-cam.com/video/qt2BQt7uPbs/v-deo.html
Thank you
You're welcome! ❤ ❤
► Follow me on Instagram: instagram.com/geekyscript/
► Subscribe to Geeky Script Vlog Channel: www.youtube.com/@GeekyScriptVlogs?sub_confirmation=1
► Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax?sub_confirmation=1
Sir not running in cmd
Thank you
You're welcome! ❤ ☺
► Follow me on Instagram: instagram.com/geekyscript/
► Subscribe to Geeky Script Vlog Channel: www.youtube.com/@GeekyScriptVlogs/
► Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/
When i press new, it doesnt give me the option for text document. What else can i do??
Use Visual studio code. Follow this video: ua-cam.com/video/8NMAM9_33AA/v-deo.html
@@GeekyScript ok thnx!!
thank you
Most Welcome friend! ❤❤ Also, watch Complete ECommerce tutorial ⏩ ua-cam.com/video/76E2QmjhRtQ/v-deo.html and WordPress Tutorial Playlist ⏩ ua-cam.com/video/qt2BQt7uPbs/v-deo.html
thanks man, you're a legend!
You're welcome!! Also, watch Complete ECommerce tutorial ⏩ ua-cam.com/video/76E2QmjhRtQ/v-deo.html and WordPress Tutorial Playlist ⏩ ua-cam.com/video/qt2BQt7uPbs/v-deo.html
Thank you, sir! This video was very helpful. It works!
you just made it worse.
why? what happened?
@@GeekyScript I don't know why, but the optifine's icon is a paper, I think because it's in a file format, and I could only open it with WinRAR archiver, which wasn't good for me. If the explain didn't make sense, let me know, also I fixed it now so It's ok.
It works great. Thank you 🙏
You're welcome!!😊 ❤
Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
www.youtube.com/@GeekyScriptVlogs/
Ok
Welcome!! Also, watch Complete ECommerce tutorial ⏩ ua-cam.com/video/76E2QmjhRtQ/v-deo.html and WordPress Tutorial Playlist ⏩ ua-cam.com/video/qt2BQt7uPbs/v-deo.html
Really helpful......👏👏🌞
Glad it was helpful! ❤
Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
www.youtube.com/@GeekyScriptVlogs/
Thanks very much 😀😄😄
Thank you too😊 ❤
Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
www.youtube.com/@GeekyScriptVlogs/
@@GeekyScript Done ✅
@@Yardss Thanks :)
Thank you so much. It's work ❤️
You're welcome!! ❤ ☺
► Follow me on Instagram: instagram.com/geekyscript/
► Subscribe to Geeky Script Vlog Channel: www.youtube.com/@GeekyScriptVlogs/
► Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/
When i go to cmd and type javac HelloWorld.java and enter it says
HelloWorld.java :3: error: cannot find symbol
Public static void main(string args[])
Symbol: class string
Location: class HelloWorld
1 error
s must be capitalized
I download it and it just opens the file
isn't "HELLO WORLD" a malvare?
No No.. its a demo code on Java..
i am new to this, is this the same as the JAVA SE they are talking about sir?
whats the difference between the msi and exe?
MSI files are specifically designed for installing software on Windows operating systems. They are packages created using the Windows Installer technology.
EXE files are not limited to installation purposes; they can contain any kind of executable code. They can be standalone applications or installers.
Sir is help to build an application
Thank you . very useful...Exactly when needed
Glad it was helpful! :)
Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
www.youtube.com/@GeekyScriptVlogs/
Sir java download krne ke bad cmd mai nhi dikha Raha hai.yeee java version
have u set the path in environment variable properly as shown in the video?
I keep getting errors
Microsoft Windows [Version 10.0.22631.3296]
(c) Microsoft Corporation. All rights reserved.
C:\Users\---\OneDrive\Desktop\java-practice>javac HelloWorld.java
error: file not found: HelloWorld.java
Usage: javac
use --help for a list of possible options
C:\Users\---\OneDrive\Desktop\java-practice>
also i saw how your file is a JAVA file but mine is a text document, idk about that
same problem. did you find any sol?
@@anantchauhan1776 figured it out, go to view, then show, then press file name extensions, you can then change the .txt to .Java, it will ask if your sure you wanna change the file name, say yes
i keep getting java.lang.ClassNotFoundException when i try doing the Java practice.PLEASE HELP!!!!!
can u show me ur code pls?
Yes java folder doesnot exist why
after installation it should be there..