Results 1 to 4 of 4
  1. #1
    Maarten is offline Member
    Join Date
    Dec 2011
    Location
    Utrecht
    Posts
    22
    Rep Power
    0

    Default Run uploaded java applet

    I uploaded my java applet and an index.html file with a correct reference. But when I load my webpage I get an errormessage"
    "Incompatible magic value 1013478509 in class file blackjack5"


    This is the URL of the webpage: [Moderator edit: link removed]


    Anyone know what this means?
    Does the webserver require specific Java functionality? Or is this only neccesary on the client computer?
    Last edited by DarrylBurke; 07-29-2012 at 11:18 PM. Reason: Removed spammy link

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    16,589
    Rep Power
    23

    Default Re: Run uploaded java applet

    That error can occur when the .class file is invalid. Check that the class file is OK.
    If you don't understand my response, don't ignore it, ask a question.

  3. #3
    Maarten is offline Member
    Join Date
    Dec 2011
    Location
    Utrecht
    Posts
    22
    Rep Power
    0

    Default Re: Run uploaded java applet

    That was it, my file was not sent over correct, because the free webserver did not allow .class files

  4. #4
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    16,589
    Rep Power
    23

    Default Re: Run uploaded java applet

    Try putting the class file in a zip file and use the archive= attribute
    If you don't understand my response, don't ignore it, ask a question.

Similar Threads

  1. load uploaded java class using html?
    By MarioBrawler in forum New To Java
    Replies: 6
    Last Post: 06-01-2012, 05:02 AM
  2. Getting Inputstream of a uploaded file
    By nn12 in forum New To Java
    Replies: 0
    Last Post: 03-26-2011, 06:54 AM
  3. Replies: 3
    Last Post: 04-27-2010, 12:40 PM
  4. how to specify location of file to be uploaded?
    By anthrax in forum New To Java
    Replies: 11
    Last Post: 01-13-2010, 02:48 PM
  5. uploaded image not shown
    By java_srinivasan in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 11-05-2008, 12:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •