After watching many video related to this issue , your video helped me and I'm able to run this program successfully,Thank you sir.(Love from Assam,India)
Bro You're a God. All these other videos are full crap. I don't know shit about computers and this vid really helped me. Keep on👍🏼
Рік тому
Thank you man! Your video helped me a lot! :) It was so easy. I was trying to execute a homebrew program that doesn't recognize java but this was THE solution... add the JAVA_HOME system variable.
If you still cant make it work: 1) Save your file inside a file named "test" on Windows 2) Click the windows button in your keyboard and type cmd 3) Copy the file path of your test file 4) Write: cd 5) Create a Main.java file in the test folder 6) Inside the Main.java file, add the "Main" class (the same name of the file) with the main method: public class Main { public static void main(string[] args) { System.out.println("Hi") } } 7) Change the package name to "package test;" in the first line of the Main.java file 8) Write the command "javac Main.java" in the cmd to compile the file to bytecode 9) Go to the parent folder, by writting the command "cd .." 10) Execute the program, by writing "java test.Main". Observations: verify if you have java installed with the command "java --version", dont forget to write the extension ".java" when compiling, dont write the extension ".class" to execute the compiled file, dont execute inside the test folder, always in the parent folder, dont forget to add the main method, dont forget that the name of the file should be the same as the name of the class, dont forget that java is case sensitive, dont forget to write the correct name of the package inside the file, dont forget to write the name of the package with a dot and then with the name of the file without the extension when running the compiled file.
i install it step by step as shown above it shows me the javac version but when i create a file and run it on cmd it says like this "'D:\New' is not recognized as an internal or external command, operable program or batch file. " what is my mistake ??? please someone help me
Hi, sir when i complie the file in command prompt it will makes errors , i write the javac sample.java after pressing the enter it shows the errors, file not found sample.java , my file in notepad is java file not a text. but consistently the prompt shows errors.
ive done all you given but in my cmd is coming "c:User/User>"java-version but the output is not coming in your java program it is coming like" c:User/cb>"
Genuine guy not boring us by giving lengthy intro. Quality content 😁
Thanks, I was using an IDE but a recent project in my class requires using command line so you just saved my life.
After watching many video related to this issue , your video helped me and I'm able to run this program successfully,Thank you sir.(Love from Assam,India)
Thank u so much it help me a lot .... I was like watching videos an hour but no video was that clear explained
Bhai sabke videos try kiye tere video se run hua program 🙏🙏🙏
Bro You're a God. All these other videos are full crap. I don't know shit about computers and this vid really helped me. Keep on👍🏼
Thank you man! Your video helped me a lot! :) It was so easy. I was trying to execute a homebrew program that doesn't recognize java but this was THE solution... add the JAVA_HOME system variable.
the only usefull and amazing video on youtube concerning this problem was yours,may god bless u
Simple Short and Perfect Solution
Thanx Sir
Great video that doesn't assume you already some things about this process; clear and concise!
My First java program Run Successfully .Thank you
If you still cant make it work: 1) Save your file inside a file named "test" on Windows 2) Click the windows button in your keyboard and type cmd 3) Copy the file path of your test file 4) Write: cd 5) Create a Main.java file in the test folder 6) Inside the Main.java file, add the "Main" class (the same name of the file) with the main method: public class Main { public static void main(string[] args) { System.out.println("Hi") } } 7) Change the package name to "package test;" in the first line of the Main.java file 8) Write the command "javac Main.java" in the cmd to compile the file to bytecode 9) Go to the parent folder, by writting the command "cd .." 10) Execute the program, by writing "java test.Main". Observations: verify if you have java installed with the command "java --version", dont forget to write the extension ".java" when compiling, dont write the extension ".class" to execute the compiled file, dont execute inside the test folder, always in the parent folder, dont forget to add the main method, dont forget that the name of the file should be the same as the name of the class, dont forget that java is case sensitive, dont forget to write the correct name of the package inside the file, dont forget to write the name of the package with a dot and then with the name of the file without the extension when running the compiled file.
Thank you much for all your Java videos. Helped me figure a lot of setup questions for my Java class. Appreciate you!
sooo legit trick i am succesfully done my first java program!
thanks a lot
Thanks for information , I have downloaded jdk but not know how to execute it .
thank you.my first successful java program
Excellent video, worked perfectly for me. Thank you for taking the time to share your knowledge.
Atlast it worked...Thanks 🔥
Thank you thank you soooo much sir. It was so helpful
I watched nearly 8-9 videos of people who had good Amount of subscriber but they don't worth it.
Great work bro you deserve more likes.
ua-cam.com/video/UcMbREn1RRA/v-deo.html
Thanku so much sir, it was so helpful .Your content were so perfect and not at all lagging.
Thanks buddy you helped me alot.
Thanks ❤️❤️
Thank u sir, it litteraly help me
i install it step by step as shown above it shows me the javac version but when i create a file and run it on cmd it says like this "'D:\New' is not recognized as an internal or external command,
operable program or batch file. " what is my mistake ??? please someone help me
How to compile i am saving in D: but jdk in c:
Thank you so much for this vd...it really helpful...tx a lot
Sir I'm getting system can't find the path specified..what to do sirr
same for me
really thanku brother i never forgot u love u
ua-cam.com/video/UcMbREn1RRA/v-deo.html
I followed this exactly to the T and still am getting error file not found
Thanku from my side also
THANK YOU! Quality post.
Excellent teaching very very great
Thank you... for giving us a good content
Hi I want to see how you compile in NetBeans. Do you have any video about it?
Thank You,
O great PragrammingKnowledge2
Great sir
Thanks a lot sir
sir i have done all the steps.
java -version is working but cd desktop is saying that "The system cannot find the path specified." plz help
try: java --version (two hyphens)
Hi, sir when i complie the file in command prompt it will makes errors , i write the javac sample.java after pressing the enter it shows the errors, file not found sample.java , my file in notepad is java file not a text. but consistently the prompt shows errors.
thank you so much for your help
GOD BLESS YOU
Sir creating note pad in desktop instead can we create it in local disk E or D is that possible please help me out of this
Thanks sir.
Helpful...! Thanks😊
Thanks ma brother 😘
Thank you so much 🙏🙏
ive done all you given but in my cmd is coming "c:User/User>"java-version but the output is not coming in your java program it is coming like" c:User/cb>"
Yeah bro
excellent. Thanks a lot
Thank you🥰🥰🥰
very helpful
Thankyou So Much
Thank you so much
Hello Sir , I have a problem the text file is not turning to a java file after renaming it >< what to do !?
in the end when he tells you to do cd desktop it doesnt work what do i do plz help
thanks sir indeed...
This will work for notepad++ also ?
im at the 8:00 mark and my pc gives me this when i attemt to use cd "The system cannot find the path specified."
Thanks sir
Thankyouuu!!!!
thank you so muchsir
ua-cam.com/video/UcMbREn1RRA/v-deo.html
Thanks a loT!!!
Edit option is not showing for PATH in SYSTEM VARIABLES
Thank you so much!
how do u write java -jar name of program.jar? When i do it it gives me this "Error: Unable to access jarfile name of program"
thank u so muchh 😭
Thanks you
Error: could not open `C:\Program Files\Internet Explorer\java\lib\amd64\jvm.cfg'
i am getting this
I am unable to compile the content promp
The process as u as done
But y I am unable to
Complie
ua-cam.com/video/UcMbREn1RRA/v-deo.html
Bro in my system for me edit option is not showing bro
in edit enviro....in
thank you
thanks sir
I dont know why but it dont work for me,
the cmd say "Error: Could not find or load main class aze.java"
Yeah bro how to slove
website is asking for creating oracle account
Sir cd Desktop cannot find path specified
Wt to do sir
Sir it showing error
error: file not found
Pls help sir
Y am I getting could not find or load main class
Can somebody PLZZ help🙏
Yeah Me to pls help me
thanks
lifesaver
It didn't work for me😭
Sir Java is not run in command prompt why can I do
like it just returns the previous line
C:\Users\User>
Bro I apply what you said but its show error
ua-cam.com/video/UcMbREn1RRA/v-deo.html
ua-cam.com/video/UcMbREn1RRA/v-deo.html
It says file not found. Help!
Sir path pr click krke new ki option hi nhi aati
My system is not showing the javac version and can't compile also
ua-cam.com/video/UcMbREn1RRA/v-deo.html
javac command not work can you help me
Hello sir class file is not opening
will this work for windows 7????
You should update your pc bro
danke
I don’t get how to run Java once installed
Java programming language❤️😎👍ua-cam.com/video/UcMbREn1RRA/v-deo.html
FIRST!!!!!!!!
ua-cam.com/video/UcMbREn1RRA/v-deo.html
Copied video hai
Thank you so much
Thank you so much!
Thanks you
thanks
Sir plz Java ka program rin nahi ho pa raha h