Solved

How to run a java program on the web?

Posted on 2006-11-15
10
182 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
 
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Android studio getdrawable(int) is deprecated 4 39
Starting to learn JAVA, 7 59
Requested array size exceeds VM limit 3 84
Java Timer (static) 9 36
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 Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

911 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now