File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes JDK and Browser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "JDK and Browser" Watch "JDK and Browser" New topic

JDK and Browser


Joined: May 16, 2001
Posts: 3
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 .. Do I have to save Program.html in order to run a program on Browser?
Val Dra
Ranch Hand

Joined: Jan 26, 2001
Posts: 439
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.

Val SCJP <BR>going for SCJD
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at . 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.

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
I agree. Here's the link:
subject: JDK and Browser
It's not a secret anymore!