Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7190695
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T19:34:14+00:00 2026-05-28T19:34:14+00:00

I am having a problem putting a java applet on a website using Dreamweaver

  • 0

I am having a problem putting a java applet on a website using Dreamweaver CS5.

This is the page where I am having the problem:
http://www.typingsquad.com/employment.html

This is a picture of what I see in dreamweaver:
http://i895.photobucket.com/albums/ac157/daltonward1/javaAppletProblem.png

Based on what I have read on the internet, I have tried the three following methods, but only one has worked.

First, I tried putting the applet on the webpage by using media-applet. The picture posted shows how I tried to implement that. However, as you can see on the website when viewing the first box, it states that there is an error.

“java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file Calculator/html”

I’ve done some reading on this error, but I cannot find a solution.

The second thing I tried is using an IFrame using the direct link of the html file on the server. As you can see, all that appears is a blank box.

The third thing I tried using was a hyperlink, which actually did work. No errors, but its not the effect I was going for.

Does anyone see anything wrong with my use of Iframe and/or applet on dreamweaver?
Could it be that my files aren’t grouped together right on the server?

I’m really into writing Java applications and applets, but my friend just got into web development and has asked me to write some simple programs for him. Any help will be greatly appreciated and sorry if my questions could have been simply found else where as I am still new to computer programming as well.

Thanks,
James Ward

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T19:34:15+00:00Added an answer on May 28, 2026 at 7:34 pm
    java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file Calculator/html
    

    This means the JRE is asking for a class but getting an HTML page (probably stating ‘404, resource/page not found’) that starts with <htm. More details on the answer at the OTN.


    Now I look at the source and see:

    <applet code="Calculator.html" codebase = "Java Applets/Calculator/bin" width="500" height="300">
    </applet>
    

    I realize it is because the page is specifying an HTML instead of a class in the code attribute. These things do not work by magic, you need to have some idea of what you’re doing if you hope to deploy an applet successfully.


    If http://www.typingsquad.com/Calculator.html works as you expect, the fix will be to change the applet element in the original page to..

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

    I am guessing the codebase listed in the original HTML is an artifact of your development environment. If not, you will need to add that, but if that is the case, I would strongly recommend using only directories names with:

    1. All lower case letters.
    2. No spaces.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Having problem with the middle Div not expanding to the width http://acs.graphicsmayhem.com/images/middiv.jpg Ok, how
I'm downloading a webpage using NSMutableURLRequest but having problem putting that very webpage into
I am having problem in getting reference of Ajax control extender using $find() or
I'm having problem selecting an element with an id like this <li =0f:Bactidol_Recorder.mp4>. I
I'm having problem restricting a query in mdx, using except function at where clause.
I have a problem putting data into an unordered_map using a struct as key:
In this question I was having problem with saving objects that had foreign keys
I'm having a problem with an image and some text. I have this code:
I'm having a bit of a problem building a Java Enterprise Edition web application
We are using maven to manage our idea projects but I'm having a problem

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.