It was done on purpose, and early on JVM was shipped with Netscape Navigator. The rebranding of LiveScript (iirc) to JavaScript was done to connect to the Java hype of the time.
So one of the mainline JavaScript interpreters was written in Java, and the JavaScript could call out to that engine, so you could load Java plugins at runtime, extend the JavaScript interpreter.
So you could say "Java" many times during the tech demo.
I'm not sure if Visual JavaScript is archived at all: https://www.betaarchive.com/forum/viewtopic.php?t=42968
There was a massive Java event at the QE2 hall in London, I went to I still have the little metal pin of the Java Mascot from that event.
Logos were never related (was there a JS logo at all?)