DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2005

    smth wrong with starting applet

    I've got a problem with starting my applet.
    The html code :
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
    <title>krzywe Lissalious'a</title>
    <base  href="file:///E:\nauka\javaPOO\projs\krzyweL\classes\">
    <applet codebase=".krzywel" code="krzywel.LissApl.class" name="TestApplet" width="400" height="500" hspace="0" vspace="0" align="middle"></applet>
    In Netscape 7.2 the following information appears : Applet TestApplet notinited, whereas Internet Explorer shows: java.lang.ClassNotFoundException: krzywel.LissApl.class, what can be wrong?

    I'm viewing the applet with JBuilder (using its tools) and everything is ok, but when I am trying to start the html file by clicking on it, it doesn't work properly :/ (and thiat messages appears in a browsers).
    ->Maybe my browsers runs different java version than this implemented in JBuilder?
    I wanted to check the java version installed in my os , so I've wrote in a cmd prompt window a line: java -version, and the answer was that the name java is not recognized , ...but my browsers works with applets seted in internet.
    Can anyone put this all together?

  2. #2
    Join Date
    Aug 2003
    Take a look at this:
    I would recommend using the XHTML standard and use the strict dtd.

    It looks like your code attribute should not have a .class on the end of it. Also, your codebase attribute looks a little odd with teh leading . but it might be right depending on what your directory structure looks like.

    Hope this helps.

Similar Threads

  1. JavaMail applet problem
    By Tataroz T. in forum Java
    Replies: 1
    Last Post: 10-20-2005, 06:19 AM
  2. Replies: 3
    Last Post: 08-23-2001, 11:01 AM
  3. applet and thread problems
    By aneesha in forum Java
    Replies: 0
    Last Post: 05-06-2000, 10:38 PM
  4. Applet and thread problems
    By Aneesha in forum Java
    Replies: 0
    Last Post: 05-06-2000, 10:36 PM
  5. Replies: 0
    Last Post: 03-28-2000, 01:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center