• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

ClassFormatError with an Applet?

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, I'm having some trouble working with an Applet I made in Java. I'm trying to get it up onto my forums, but I get a weird error saying the following:

Here is the website to try out the Applet. Go to http://rs3newstart.tk and simply hover over "Server" and then click on "Play". The Applet will run, but not for long. I'm still working on the forums, so not everything is in the right place as I would like it to be. I'm not sure why this error is coming up nor do I know what's causing it. Unless 000webhost does not support Jar files nor Applets? Here is the PHP script for the Play.php file I made:
If you need anymore information, please ask. Help is appreciated. Thanks.
 
Marshal
Posts: 28239
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Did you put the applet class where it is via FTP?

And if so, did you remember to use image (not ASCII) mode?
 
Josh Rodrigues
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Paul Clapham wrote:And if so, did you remember to use image (not ASCII) mode?


Oh, how would I do that using CuteFTP? I guess I did put it in as ASCII.
 
Paul Clapham
Marshal
Posts: 28239
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry, no idea. I went to their website but since it's paid-for software they don't seem to have any documentation on-line. It's funny how you get used to the idea of applications putting their docs on-line.
 
Josh Rodrigues
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Paul Clapham wrote:Sorry, no idea. I went to their website but since it's paid-for software they don't seem to have any documentation on-line. It's funny how you get used to the idea of applications putting their docs on-line.


I'm using the free version, CuteFTP Home.
 
Paul Clapham
Marshal
Posts: 28239
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Josh Rodrigues wrote:

Paul Clapham wrote:Sorry, no idea. I went to their website but since it's paid-for software they don't seem to have any documentation on-line. It's funny how you get used to the idea of applications putting their docs on-line.


I'm using the free version, CuteFTP Home.


I thought you might be. But I don't see any documentation for it on line either. There's a forum on their website.

I'm guessing there's somewhere where you configure which file extensions represent text (like .html) and which file extensions represent binary (like .jpg), and it doesn't know about .class files. Just guessing though.
reply
    Bookmark Topic Watch Topic
  • New Topic