I am trying to edit Java files in VSCode, but am encountering a slew of errors from VSCode. For example:
The type java.lang.Object cannot be resolved.
It is indirectly referenced from required .class files
String cannot be resolved to a type
System cannot be resolved
I tried running Java clean to clean the workspace and have tried reinstalling the Java extension pack. Either way, the problem persisted.
I can't get rid of this and it is really annoying! Please help if you can! Thank you.
.java
or.class
. if you edit.class
you transfered it to bytecode or just edit binary file? explain more what you want to do. – Statesmanship