Add Java applet to free WP website?
-
Hi,
I’m trying to add a Java applet to a free WP website.
One thing the tutorial requires is that I upload a *.class file to the server, which is referenced by the html code on the web page.
When I try to upload a *.class file to the Media library, I get an error (unsupported file type).
Is there a way around this?
Otherwise, here is the code I am putting into my WP webpage html:
<!DOCTYPE html>
<html>
<head>
<title>HelloWorld_example.html</title>
</head>
<body>
<h1>A Java applet example</h1>
<p>
Here it is:
<applet code=”HelloWorld.class” height=”40″ width=”200″>
This is where HelloWorld.class runs.
</applet>
</p>
</body>
</html>***
Should this work?
Thanks!
The blog I need help with is: (visible only to logged in users)
-
This is WordPress.COM support. Are you clear on the differences between WordPress>COM hosted sites and WordPress.ORG software installs?
WordPress.COM and WordPress.ORG are completely separate and have different username accounts, logins, features, run different versions of some themes with the same names, and have separate support documentation and separate support forums. Read the differences here http://en.support.wordpress.com/com-vs-org/
The wordpress.ORG support forum is at http://wordpress.org/support. The wordpress.ORG login link is here https://login.wordpress.org/ If you do not have an account yet then click Create an account https://login.wordpress.org/register/ and if you have lost an account password click Lost password? https://login.wordpress.org/lostpassword/
WordPress.org support docs are at https://codex.wordpress.org/Main_Page
See also https://apps.wordpress.org/support/ for app support. -
Hi — thanks so much for your time. I do understand .org and .com are two different things. My sites are on wordpress.com.
What was underneath your question?
Thanks!
-
I will have Staff explain this to you.
I will type modlook into the sidebar tags on this thread for Staff help. How do I get a Moderator/Staff reply for my question? https://en.support.wordpress.com/getting-help-in-the-forums/#how-do-i-get-a-moderatorstaff-reply-for-my-question Subscribe to this thread so you are notified when they respond and be patient while waiting. To subscribe look in the sidebar of this thread, find the subscribe to topics link and click it.
-
Most sites hosted here at WordPress.com use a shared hosting environment. In order to keep a tight control on the security of our platform, we don’t allow third-party code, plugins, or themes to be installed on those sites. We also limit the type of code that can be embedded on them. You can find more on the reasoning behind this here:
From the above guide, you’ll also find that the code for the Java applet you’re trying to embed is not supported under your current plan.
What is it you’re trying to achieve with the applet exactly? Perhaps I could help with an alternative.
If it’s important for you to use the applet and there’s no alternative then you have the following two options:
1. You can upgrade to WordPress.com Business. It’s possible to embed the code you want under our Business plan.
2. You could move your site to a different host, such as Pressable, and install the free software available at WordPress.org. It’d then be possible for you to use any code you want. We have step-by-step guidance for moving here:
Hope the above information helps out!
-
@siobhyb — thanks for the complete explanation. And @timetheif —
thanks for calling in staff! :-) Regards… -
-
- The topic ‘Add Java applet to free WP website?’ is closed to new replies.