jQuery in Action, 3rd edition
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


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "JDK and Browser" Watch "JDK and Browser" New topic
Author

JDK and Browser

mikeshn
Greenhorn

Joined: May 16, 2001
Posts: 3
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
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
Sheriff

Joined: Jan 07, 1999
Posts: 6920
"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.

Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: JDK and Browser
 
It's not a secret anymore!