Sun had the 1.4.x releases available from java.com until recently, although I can't find them anywhere on the site now.
I've been using version 1.4.2_07 of the Java Runtime Environment on Windows 95B, and it seems to work fine, even though Windows 95 hasn't been specified in the system "requirements" since v.1.4.0 or so. Your mileage may vary, however.