No Who told you we need a C compiler to run java? You don't need a C compiler. I would suggest you to watch this video to install Java: th-cam.com/video/R6MoDMASwag/w-d-xo.html
Sir 7:35 here , i created a file study.java in java folder of desktop. But problem is i can't see it in command prompt after ( dir) , Then When i out JAVAC STUDY.JAVA it shows error,( *file not found:study java *Usage: havac *Use -- help for a list of possible options) What is going on i have no idea, help
Hi, First understand the difference.... JAVAC STUDY.JAVA or javac study.java Both are different in Java. What is the file name? study, STUDY, or Study What is the class name? study, STUDY, or Study
@@Amit.Thinks ok sir that error was gone , after dir command Studyopedia.java is there. But now javac Studyopedia.java command is showing error, ( It point an error in 2 & 3rd row of code ' public static void main(string* [] args){ & In ( system.*out.println("my name"); Sir on string & . A small arrow is showing.
You still did not understood the case issue. 👉string* [] args or String* [] args 👉System or system (What did I write in the code?) Directly copy the code from here: studyopedia.com/java/java-first-program/
Maybe, you incorrectly clicked on "Edit environment variables for your account". You need to click on "Edit the system environment variables" on START. Follow the video again.
Hey, i do follow your way, but in the cmd section, mine appear unrecognized option, error couldnot creat the java virtual machine, what's wrong, help me, please
подскажите пожалуйста, что делать, если у меня на ПК кроме локального диска ничего нет? у вас там есть отдел new volume. Можно ли создать папку на том же локальном диске?
To avoid reaching the Java in path again and again to work with Java. On setting the Environment Variables, on CMD, you just need to add the command… that’s it. No need to reach the complete path on the command prompt. After installing, refer to our freeJava Tutorial: studyopedia.com/tutorials/java
Sir a error is coming that could not find or load main class Studyopedia. It is caused by java.lang.ClassNotFoundException: Studyopedia Sir what should I do? After two days I am have to submit my file. What should I do to fix this error? Sir please tell me as soon as possible.
The error is self-explanatory: ClassNotFound Maybe, you did not gave a proper name or the extension .java isn't enabled. Fix: th-cam.com/video/V8WKDYDkg7Y/w-d-xo.html
when i rename the extension as java, it does not show the type as java source file rather it shows java file. is it a problem? my net beans is not working.
Maybe, you incorrectly clicked on "Edit environment variables for your account". You need to click on "Edit the system environment variables" on START. Follow the video again.
Maybe, you incorrectly clicked on "Edit environment variables for your account". You need to click on "Edit the system environment variables" on START. Follow the video again.
Maybe, you incorrectly clicked on "Edit environment variables for your account". You need to click on "Edit the system environment variables" on START. Follow the video again.
Maybe, you incorrectly clicked on "Edit environment variables for your account". You need to click on "Edit the system environment variables" on START. Follow the video again.
Maybe, you incorrectly clicked on "Edit environment variables for your account". You need to click on "Edit the system environment variables" on START. Follow the video again.
Maybe, you incorrectly clicked on "Edit environment variables for your account". You need to click on "Edit the system environment variables" on START. Follow the video again.
I created a file called learn.java ,when I called it in cmd by javac learn.java , it is showing like file not found I followed the exact steps u told I got everything same like u , but I wasn't normal at here what I have done wrong
🔥Free Java Tutorial: bit.ly/3dOeR0p
How you created local disk drive in ho laptop windows 11
4:05, how do you add D drives and the other drives, on my computer, all I have is OS (c) is their a work around to this?
Go for C: Drive itself.
You can also create other drives on your Windows system i.e. partitions: th-cam.com/video/ES0Yt4zupeM/w-d-xo.html
thank you so much sir this video helps alot to me and also explanation is perfect sir
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
do i need to do everything after this moment? (3:57) bcz i only need java script for minecraft mods
No idea about Minecraft
7:09 It's saying that D is not recognised as an internal or external command, operable program or batch file?
Can you used another drive and create a new file their?
Will it be a problem?
This is basic Windows usage, correct? :)
Thank you sir for help
I seen many video of java download but not useful for me
But your video useful for me
Lots of Thank you sir 🙏
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Whats is the difference in jdk 21 and jdk 22 which one should i prefer?
It's the version of Java where jdk 21 is older version than jdk 22 that's all nope of any respective version
Is c compiler is necessary in PC to compile the program for the java ......
Anyone plz 🙏 reply
No Who told you we need a C compiler to run java?
You don't need a C compiler.
I would suggest you to watch this video to install Java: th-cam.com/video/R6MoDMASwag/w-d-xo.html
7:17 at the dir step the file doesn't show up and when I try to compile it gives me an error message
Fix: th-cam.com/video/V8WKDYDkg7Y/w-d-xo.html
nice it helped me Dude:)
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Sir
7:35 here , i created a file study.java in java folder of desktop. But problem is i can't see it in command prompt after ( dir) ,
Then When i out JAVAC STUDY.JAVA it shows error,( *file not found:study java
*Usage: havac
*Use -- help for a list of possible options)
What is going on i have no idea, help
Check this 👇
Study.java
or
STUDY.JAVA
or
study.java
Keep the cases the same as shown by me in the video and it will get fixed.
@@Amit.Thinks sir this study.java is file name , created by myself,
When I call it after JAVAC File name , error occur as I mention above
Hi, First understand the difference....
JAVAC STUDY.JAVA
or
javac study.java
Both are different in Java.
What is the file name? study, STUDY, or Study
What is the class name? study, STUDY, or Study
@@Amit.Thinks ok sir that error was gone , after dir command Studyopedia.java is there.
But now javac Studyopedia.java command is showing error,
( It point an error in 2 & 3rd row of code ' public static void main(string* [] args){
& In ( system.*out.println("my name");
Sir on string & . A small arrow is showing.
You still did not understood the case issue.
👉string* [] args or String* [] args
👉System or system (What did I write in the code?)
Directly copy the code from here: studyopedia.com/java/java-first-program/
You are excellent in explaining everything. Thanks a lot. Plz continue to do so.
Thank you, I will. Get all our free courses:
docs.google.com/document/d/1-QY5N2Cq2tjMbSMo1WPMKZ-ju2MnDWkF/
You are brilliant and much better than my college professors 🥺
You're welcome. Refer to our free courses:
SQL Tutorial: th-cam.com/video/3mukGYjvixE/w-d-xo.html
Python Tutorial: bit.ly/3znnb1y
Pandas Tutorial: th-cam.com/video/yFoVs3_wvPo/w-d-xo.html
NumPy Tutorial: th-cam.com/video/WsENswmSz6M/w-d-xo.html
Matplotlib Tutorial: th-cam.com/video/DFBkTIhptOQ/w-d-xo.html
MySQL Tutorial: th-cam.com/video/sgpDAiF-18o/w-d-xo.html
MongoDB Tutorial: th-cam.com/video/cZ79avoq9UU/w-d-xo.html
HTML Tutorial: bit.ly/3VHaUvq
CSS Tutorial: bit.ly/3Khx5Ei
Bootstrap Tutorial: th-cam.com/video/nahewStckVU/w-d-xo.html
after going to the drive os in my pc it is showing only folder in the new option it is not showing text document what should I do 😢
Fix: th-cam.com/video/V8WKDYDkg7Y/w-d-xo.html
4:39 pe mere pc main text document nahi hoara hai kaya karu pls help me
Fix: th-cam.com/video/V8WKDYDkg7Y/w-d-xo.html
idk why it keeps showing me an error like about the symbol near System.out.print1n like this im confused, I've never done java
^
Correct: System.out.println
Incorrect: System.out.print1n
(You missed the letter l)
- Verify: studyopedia.com/java/java-first-program/
@@Amit.Thinks oh! thank you
@@Amit.Thinks yah it worked! i wasnt adding the .java in the end of filename too my bad, im jus starting out
Ok, do check our new courses.
Just launched👇
Copilot Tutorial (English): th-cam.com/video/Hzher7aCgMo/w-d-xo.html
ChatGPT Tutorial (English): th-cam.com/video/6E8tw6_4tMQ/w-d-xo.html
at 3:13 path button is'nt working
Maybe, you incorrectly clicked on "Edit environment variables for your account". You need to click on "Edit the system environment variables" on START. Follow the video again.
Thank you soo much sir! Ur way of explanation is truly amazing really helped me 🤗
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Hey, i do follow your way, but in the cmd section, mine appear unrecognized option, error couldnot creat the java virtual machine, what's wrong, help me, please
Fix: th-cam.com/video/3mD35yN5jKQ/w-d-xo.html
Thank you so much, sir🤩You're the best!
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Hello sir,
Instead of this can i use visual studio code in windows 11?
Yes, setup and run Java on VS Code:
th-cam.com/video/3J1tCS_te4o/w-d-xo.html
@@Amit.Thinks Thank you
Thankyou so much sirji i could not install in mac but successfully in window.
Install Java on Mac: th-cam.com/video/gENqw-O2kps/w-d-xo.html
Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
thanks alot you helped me
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Amazing very straight forward and clear brother ! Thanks
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
at 4:01 is the installation complete?
Yes, and the rest part explains how to run your first Java code.
@@Amit.Thinks ok thank you very much!
подскажите пожалуйста, что делать, если у меня на ПК кроме локального диска ничего нет? у вас там есть отдел new volume. Можно ли создать папку на том же локальном диске?
Use any drive
Thank you so much sir😊
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Sir,may i know what is this environment variables and why we are creating path what is path
To avoid reaching the Java in path again and again to work with Java. On setting the Environment Variables, on CMD, you just need to add the command… that’s it. No need to reach the complete path on the command prompt.
After installing, refer to our freeJava Tutorial: studyopedia.com/tutorials/java
Sir a error is coming that could not find or load main class Studyopedia. It is caused by java.lang.ClassNotFoundException: Studyopedia
Sir what should I do? After two days I am have to submit my file. What should I do to fix this error? Sir please tell me as soon as possible.
The error is self-explanatory: ClassNotFound
Maybe, you did not gave a proper name or the extension .java isn't enabled.
Fix: th-cam.com/video/V8WKDYDkg7Y/w-d-xo.html
Can we run programs in d drive
Yes, create it in any drive.
Also, refer to our free Java Tutorial: studyopedia.com/tutorials/java
when i rename the extension as java, it does not show the type as java source file rather it shows java file. is it a problem? my net beans is not working.
Fix: th-cam.com/video/V8WKDYDkg7Y/w-d-xo.html
Its same mine as urs
Thank you sir ❤
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
In system variables - edit, ok, delete are showing transparent .what should i do ??
Maybe, you incorrectly clicked on "Edit environment variables for your account". You need to click on "Edit the system environment variables" on START. Follow the video again.
@@Amit.Thinks thank you
Tthank you sir❤
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Can we use vs code instead of notepad if yes how sir please tell me 🙏😁
Follow the same for Java 22. 👇
Run Java on VS Code: th-cam.com/video/3J1tCS_te4o/w-d-xo.html
great video!
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Sir I can't find my file ,I created a folder and named java practice and add java file into it
I guess .java file extension issue. Common problem.
Fix: th-cam.com/video/V8WKDYDkg7Y/w-d-xo.html
It shows do you want to allow this device to make changes
Obvioualy, allow it. We have downloaded the official Java software from the official Java website, correct?
Its showing me error: package system does not exist
System.out.println("hello world");
Did you typed:
System.out.println("hello world");
or
system.out.println("hello world");
@@Amit.Thinks ya I solved it after I messaged u
Thank u sir
When I'm trying to compile it shows an error thatidentifier expected .....what should I do?
Take the code from here: studyopedia.com/java/java-first-program/
(The above error suggest that the code wasn't written properly)
I m not able to open the path option in system variables... can someone help me with that?
Maybe, you incorrectly clicked on "Edit environment variables for your account". You need to click on "Edit the system environment variables" on START. Follow the video again.
Oky
2:45 how to copy the path
Right-click and copy
Select all and clt+c
Thank You Sir...!!!
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
The text document option on my laptop is not coming up. What to do then??
Fix: th-cam.com/video/V8WKDYDkg7Y/w-d-xo.html
I am unable to create a txt file, so provide me a solution and what mistake iam doing
Fix: th-cam.com/video/V8WKDYDkg7Y/w-d-xo.html
When i douple click path im not seeing any thing any assistant
Maybe, you incorrectly clicked on "Edit environment variables for your account". You need to click on "Edit the system environment variables" on START. Follow the video again.
How can I find new text file (not available in the list) under D drive to create the first program?
Fix: th-cam.com/video/V8WKDYDkg7Y/w-d-xo.html
Error: expected public static void main (String [ ]args
Syntax error. Verify the code from here:
studyopedia.com/java/java-first-program/
In the program files, I can't get the java😢 how can I get it?
How can this be possible?
Where did you installed Java then?
Final Output is not coming sir i.e Amit Diwan .
What should I do sir ??
What is the error?
Sir after clicking download now the download page is not visible what should I do
Change the web browser and try the same link
i edge to your content :)
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
incorrect package shown in vs code how to resolve this
Is this VS Code’s video?
Comment on that specific video.
If I know the answer, you will get a reply ✌️
if i dont have d drive sir? my pc only have c drive
Use any drive if you are the admin of the system.
Thank you
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
i can't double click the system variables
Maybe, you incorrectly clicked on "Edit environment variables for your account". You need to click on "Edit the system environment variables" on START. Follow the video again.
Sir i am getting error called file name not found
Learn to rename a file on Windows. The file extension is the issue.
Fix: th-cam.com/video/V8WKDYDkg7Y/w-d-xo.html
new edit options are disabled for me sir!
Maybe, you incorrectly clicked on "Edit environment variables for your account". You need to click on "Edit the system environment variables" on START. Follow the video again.
D drive is not there in my pc
Add it in any drive
Sir i follow the all the steps but stil the compile is not running
Directly mention the error and save time.
This only contains jdk how to install jre for this?
JRE isn't required: th-cam.com/video/V6zni8ZpT6A/w-d-xo.html
JDK comes with JRE
Amazing
Welcome. Refer to our free courses:
🔥GenerativeAI Free Courses: bit.ly/3Vhsbxv
🔥Database Courses: bit.ly/3EMv1Bi
🔥Learn Web Development" bit.ly/3tl9nlp
🔥Data Science Courses: bit.ly/3O7KfGk
🔥Data Analytics Courses: bit.ly/48MxV
Thanks
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Sir when I try to make a new path it doesn't open and I can't make the new path, can you help?
Maybe, you incorrectly clicked on "Edit environment variables for your account". You need to click on "Edit the system environment variables" on START. Follow the video again.
@@Amit.Thinks yep I pressed the wrong thing, now it's fixed, thanks
You're welcome. Refer:
studyopedia.com/tutorials/java/
@@Amit.Thinks this comment and reply helped me......i was doing the same
Great! Refer to our courses:
studyopedia.com/training/
sir new pe jaane ke baad only folder ka option aa rha h plz bta do kaise kru
Means?
@@Amit.Thinks SIR JI JB APNE NEW FOLDER BNAYA TO USKE PICKE .txt wali extension lagayi but mere laptop me sirf whi folder file ka option aa rha h
txt lagane ka option nhi aa rha
Got it.
Fix: th-cam.com/video/V8WKDYDkg7Y/w-d-xo.html
@@Amit.Thinks THANKS SIR HO GYA FIX
informative
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Hi sir in my case. Txt file won't come
Fix: th-cam.com/video/V8WKDYDkg7Y/w-d-xo.html
You angel
I created a file called learn.java ,when I called it in cmd by javac learn.java , it is showing like file not found I followed the exact steps u told I got everything same like u , but I wasn't normal at here what I have done wrong
Fix: th-cam.com/video/V8WKDYDkg7Y/w-d-xo.html
Thank you so much sir ☺️
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Thank you so much sir
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Thank you
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Thanks
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java
Thank you
Welcome. Refer to our free Java Tutorial: studyopedia.com/tutorials/java