I haven't worked in Java since college and my first job out of college was tech support in 2001. To this day, I still get recruiter SPAM for Java dev and L2 tech support roles. Nevermind that I've been a SQL Server Dev and DBA for the past 16 years!
Simple solve is to remove those keywords from your profile, and only keep keywords for jobs you want. Even changing Java Developer title to something generic as Software Engineer.
Many Recruiters/Sourcers spam everyone that come up in their keyword search and don't read the profile.