DEV Community

Discussion on: Why is VSCode trying to run Java when I want to look at the source code of a `.class` file?

 
thefern profile image
Fernando B 🚀

Give intellij a try, in opens class files with no issues. A class file is bytecode, and needs to be disassembled before you can see it, intellij does this on the fly. Vscode is obviously having issues with it. I agree intellij is built solely for Java projects so it is considered a bit more professional. Though using the tool best for the job is entirely up to you. I personally wouldn't use vscode for Java.

Thread Thread
 
baenencalin profile image
Calin Baenen

What is VSCode good for then, because now it just seems like shit, with how useless it is to me.

Thread Thread
 
thefern profile image
Fernando B 🚀

I wouldn't say is useless, I use it a lot for web dev, and python. It has tons of extensions and it's great, but for Java it just can't compete with Intellij. Intellj is built specifically for Java, all the way from how you setup projects, setup libraries, even using other jvm languages like kotlin, groovy, etc. Intellj has the whole ecosystem ready for you, built long before vscode was here. It also has great documentation specifically for Java.