Flash is used to create animation while EJS is a tool to generate java simulation byte code.
They are two different software, and I do not think there is a way to convert jar file to swf file.
Jar file is actually a zip file, which contain many java class files and related resource files.
While swf is a binary file which contain code generated with flash.