Hello I installed on my computer JDK(virtual machine) and Jcreator(text editor and compiler). How can I run Java program on Browser? I save the Java application as Programm.java .. Do I have to save Program.html in order to run a program on Browser? Thanks
In order you to run your application though the browser it must be an applet. sublcass applet class and you have an applet and you can run it though the browser. Now you can create an html file with applet tags specifying which code = SomeFile.class you want to use.
"mikeshn", The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements. Thanks.