yes (depending on your definition of "just like").
You will always need Mathematica itself or Mathematica player to runthem, but Java also needs a runtime.
Cheers -- Sjoerd