There are many different ways that yoy can put a java application on the web, such as

Java Web Start
Applets
Convert to .exe and have download link