• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

((((((((((((PLEASE HELP, thank you))))))))))

curiousity

New Member
Hello everyone,

I would like to ask a question that has nothing to do with this thread topic but I am desperate and not computer literate as many of you. I just downloaded a java game script but it is in the extension .java and I don't know how to put this into my webpage to make it work. I usually upload .html, js, gif, jpeg, etc, but not .java. What do I have to put inside the .java file to make it incorporate into a .html file. Do I put <script language="JavaScript" > at the begining of the .java file and change the file to .html or do I make the file into .class or what???? I am so confused...please help.

Thank you
 
.java files usually contain the source code for a java program. You will need to compile it into a class file using a java compiler. If it is a java applet, you can call it in your html file and specify the applet size in pixels like this.

<applet code="some_file.class" width="500" height="500"></applet>

Try opening the .java file for instructions to see whether you need more parameters or not, or if it came with a readme.txt file or something that has instructions in it.
 
Back
Top