The problem the user was facing had nothing to do with java. I'd say that is pretty much off topic.
It's a pet peeve of mine. At least 10% of the time I google for a answer to a programming question it takes me to a StackOverflow question... which has been marked off-topic.
Give your interlocutors the benefit of the doubt, it makes for a much more productive conversation.
If a future person were to run into that problem I think that is the most appropriate location for the answer to reside.