简体   繁体   中英

How to add java application to html/php website?

I never deal with java before. Recently I want to add a game Metal Slug into my website, I got the game source codes from http://www.hackchina.com/en/cont/45242 , but the game is in Java format, is it possible to add the Java game into a html/php website?

Do I need to modify the Java codes? Or I just need to write html to embed the Java game? Mind to show me the example of codes or reference or terms for searching that might help me out?

Is there any place I can download the source codes of Metal Slug game which can embed to website? Haha. I need to modify the game codes because my website allow users to buy the cloth/dress of characters in the game, so I need to change the outfits of the characters in the game...

is it possible to add the Java game into a html/php website?

If it is Java based, it can either be embedded in a web page ( applet ) or launched from a web page (frame launched with Java Web Start ).

Natives (eg DLLs) cause a challenge for applets. Either you can launch them free floating with web start, embedded with web start (requires 'next generation' plug-in2 JRE) or otherwise the user needs to run an installer that puts them somewhere that is on the path for Java related natives.

This seems to be a game which needs to be installed on the users drive. You can not embed it in an html file.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM