clojure.string is not Java specific, so it is available for both Clojure and ClojureScript.
clojure.java.io -- and the other namespaces with "java" in their names -- are Clojure-only and you cannot use them from ClojureScript (because ClojureScript compiles to JavaScript, whereas Clojure compiles to JVM bytecode like Java does).