Solved

How to run a java program on the web?

Posted on 2006-11-15
10
198 Views
Last Modified: 2010-03-31
I created a program, *.java and *.class
How do I put this on a webpage so that other users are able to run with (provided that they have virtual machine already installed)
0
Comment
Question by:ishcmc
10 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 17946600
You need to look into Java WebStart
0
 

Author Comment

by:ishcmc
ID: 17946624
I don't get it.
I have a free hosting at freewebs.com to test it.
Will it be able to run?
0
 
LVL 35

Expert Comment

by:girionis
ID: 17946632
You can either turn it into an applet: http://java.sun.com/applets/ or use web start: http://java.sun.com/products/javawebstart/
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 35

Expert Comment

by:girionis
ID: 17946638
>I have a free hosting at freewebs.com to test it.
>Will it be able to run?

Yes, see the links posted above.
0
 

Author Comment

by:ishcmc
ID: 17947380
Please provide step by step on how to turn it into a java applet
I looked at the website you gave but too much info that are not nescessary
0
 
LVL 6

Expert Comment

by:SamsonChung
ID: 17947760
you need to rewrite your java file so that is extends applet.

don't forget, there are gazillions limitation in Applet mode
0
 
LVL 35

Expert Comment

by:girionis
ID: 17948510
Here is a very good tutorial on writing applets: http://java.sun.com/docs/books/tutorial/deployment/applet/index.html
0
 

Author Comment

by:ishcmc
ID: 17953277
Still don't get it.
Please explain in simple step by steps guide.
0
 
LVL 26

Accepted Solution

by:
ksivananth earned 500 total points
ID: 17953931
0
 
LVL 1

Expert Comment

by:bnblazer
ID: 17955051
If you are looking for someone to do it for you, I don't think you are going to find it here.  The resources above explain it pretty well.

Brian
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question