Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ClassFormatError with an Applet?

 
Josh Rodrigues
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • 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.
 
Paul Clapham
Sheriff
Pie
Posts: 20769
30
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • 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
  • 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
Sheriff
Pie
Posts: 20769
30
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • 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
  • 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
Sheriff
Pie
Posts: 20769
30
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic