In my vs code the java is not supporting. there is some error. I can't understand and can't solve it.
How should i run java in vs code? I reffered lote of youtube video's and blogs but nothing is working.
guide to proper working java on vs code
CodePudding user response:
Your class file is called hello.java
, but the class defined in the file is called FibonacciExample1
. Both names should be the same. You should either rename the file to FibonacciExample1.java
or rename the class to hello
.
CodePudding user response:
First you should install the full
Also, as @readtheentireinternet said, your class names should match the file names.