Turning .java code into something viewable

Hi guys, basically, Ive made a load of programs in BlueJ, that I want to upload to my website, so they can be interacted with, but they are currently in .java form, how do I get it so they load on my webpage as the compiled program? Is it turn them into a .jar or something like that, and if so how.

Thanks in advance,

Scott.

[344 byte] By [scottyearla] at [2007-11-27 3:01:02]
# 1

If your programs are applets (and perhaps if not) then you could use jar files. The process is described in detail in Sun's Tutorial here: http://java.sun.com/docs/books/tutorial/deployment/jar/index.html

Your comment that they are "currently in .java form" seems wrong. If you have seen the programs run then, almost certainly, they have been compiled into .class files. If you aren't aware of the location of these files, how they should get recompiled if you make changes etc, then it might pay to close the IDE down and rebuild them using the command line. Lots of details how on how the necessary java tools (java, javac and jar) work can be found here: http://java.sun.com/javase/6/docs/technotes/tools/

pbrockway2a at 2007-7-12 3:42:42 > top of Java-index,Java Essentials,New To Java...