No. The lounge access is based on the class you are in on the flight departing the airport and not the class you arrive in.
If you were sold a J fare for your connecting flight then it would not be possible to use the F lounge ( you can always pay and enter if you want )
The only exception that I have seen on the forum (no personal experience though) is if you were ticketed on a particular sector in F and you end up in J due to an aircraft swap etc.