Avatar of n8dog
n8dog
 asked on

How to make Java work online?

OK, i want to post some free java games on my site, but i thought all i needed was the .class file.. am i wrong?

how do i host it to work online?

-n
Web Development

Avatar of undefined
Last Comment
sunnycoder

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
sunnycoder

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
liviutudor

I presume your games are applets -- if so, you will need to use the <APPLET> tag to start with. You can specify either a .class file or a .jar or a .zip archive (if your game is contained in more than one class). There is a tool that comes with the JDK that creates an <applet> tag for you called HTMLConverter -- you will find it under your JDK\bin directory.
sunnycoder

I disagree ... the links to tutorials address the question well
<link 1>
This section explains to HTML authors how and when to use the applet, object, and embed tags to add Java applets to Web pages, and provides guidelines for deploying applets on the Internet and Intranets, and for use with different browsers.
</link 1>

<link 2>
This lesson talks about the basics of applets, advantages of applets over applications, how to load applets in a web page, how to convert applications to applets and how applets work.
</link 2>
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck