WHAT are people moving to or are considering moving to?

And it may be that vscode would not bring out an error message from it. But it would also not work correctly. So when doing this in Eclipse, Netbeans or intelliJIdea you’ll have always the same result.

would u mind sending me the project you try out which work?

PROBLEM SOLVED!!!

I just need to make sure I have package ‘com.mediatec;’ on top of each java file

If you set a package in the IDE you can have the file in the package and the IDE makes the package entry automatically for you.

I was simply copy the java files from the vs code… so don’t have the package thingy.
I notice when I add in new class etc, it include automatically

That’s why using vscode is not the right way.

thanks for the help and the advice to use IntelliJ instead of VSCode

You’re welcome. I tried by self and found out that it is more than the Online Help to use IntelliJ. VsCode is not an IDE and it is not helping you with the needed structure for Java programming. And so it is even for six lines of code not usable in my eyes. To useIntelliJ is not that complex while using the community edition is for free. But people like their old ways and start to use vsCode for Java. Why? No Idea. But it seams that it is working so people decide: oh yeah, works. And that’s the moment the trap closes above your head. Speaking with people they mean, think and tell that it works at all. But trying shows also like the users around: one line too much makes it not usable at all. And I believe that it makes much more sense to use the IDE instead of VSCode. Not ONLY while I hate MS. But also.