HOW TO USE JAVA IN VISUAL STUDIO CODE (MAC TUTORIAL) AND HELLOWORLD!
HTML-код
- Опубликовано: 8 сен 2021
- This video tutorial explains how you can write, compile, and run Java programs using Visual Studio Code. If you do not have VSCode installed yet, check out my previous video where I take you through the installation. Let me know if you have any questions and I will try my best to respond!
I appreciate your quick Java tutorial on vscode. Thanks
Great tutorial to get me started on java and VSCode. Would be great if you could continue this tutorial with some more examples in java.
i was having problems with trying to activate the hello world script until i saw your video thank you so much
Thanks a lot! That worked on my M1 MacBook Air
Really helpful. Thanks!
Thank you😊
Thank you. This is useful, I appreciate your efforts. Now I need to find code completion for VSCode. It would be useful to se your settings.json file.
Thank you very much
underrated
Great vid. However, if I already had a file that says JDK, how do I input the tutorial file? Thanks
Hi.. How can i have a clean Terminal like the one in this video..
Here its showing path and other unwanted stuffs in terminal.. I need to have terminal like you got..
Any solution??
Thank you.
Great tutorial and very helpful!
Thank you! Please check out my other videos too 😊
Simple as pie!
In the above program, when i type 'package com.company'. It give me error 'Error: Could not find or load main class HelloWorld'. Please Help
Device = Macbook M1
When you run “java HelloWorld” on your command line make sure it’s spelled correctly and has the correct casing! Did you name your file HelloWorld.java or helloWorld.java? This makes a difference. Let me know if you have more questions.
Noise thankssssse
thanks
goodddd
I have an issue while running a Java program. When executing the program, I always give "java Solution.java", i.e. ".java" extension otherwise the prompt I get is "Error: Could not find or load main class Solution
Caused by: java.lang.NoClassDefFoundError: Solution (wrong name: assignments/que_3/Solution)". How do I solve this issue?
Make sure the first argument is javac not java. It should be “javac Solution.java” to compile your program. Notice the “c” in the first argument. Then to run the program type “java Solution”. Let me know if that solves the problem.
@@SyntaxWiz
~/Desktop/Alpha2.0/Topics/23 - Binary Trees/assignments/que_2
❯javac Solution.java
~/Desktop/Alpha2.0/Topics/23 - Binary Trees/assignments/que_2
❯ java Solution
Error: Could not find or load main class Solution
Caused by: java.lang.NoClassDefFoundError: Solution (wrong name: assignments/que_2/Solution)
Nice video. However to me these steps seem easier to make on IntelliJ.
👍