To convert (actually, package) .class files into .jar files, you use the Jar tool. You can then generate a .exe file from the .jar using tools like Launch4j, JSmooth or several other packages (search the web for “jar exe”).
solved How to convert java or class file to exe file [duplicate]