Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

demonrealms

Problem with the .class

This topic is 5411 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi everyone, I got a java applette off a friend, and now my computer got re-formatted and now everythings gone except the .class file. Can any of you tell me if there''s a way to open the .class file and edit it? He had something I could to to edit his java file but now that''s gone too -_- Thanks everyone!

Share this post


Link to post
Share on other sites
Advertisement
All I have to say is that it''s very suspicious for you to have your computer formatted and JUST the CLASS file remains. Why don''t you just ask your friend for all the files again? This is too suspicious, and therefore I dont think Im going to try and help.

Share this post


Link to post
Share on other sites
I understqand what your saying. I should have been more clear. As too I''m kind of sounding like a person whose trying to crack somthing. As for having the .class file, I had that backed up on a floppy. I couldn''t get the rest of the files to fit on there. As to why I can''t get the files from my friend, He''s recently moved and I can''t get a hold of him til he decides to call me somtime this year.

Share this post


Link to post
Share on other sites
that was almost too much for my bullshit detector.

so, you took the time to back up a .class file (but not the important parts), then reformatted your computer? if so, brilliant move on your part. your friend doesn''t have AIM, ICQ, etc?

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Hey, guys!!! I believe him. This is how you do it. First you go to notepad, then you open the class file. Then you type in your changes and then you save. Voila

Share this post


Link to post
Share on other sites
quote:
Original post by Anonymous Poster
Hey, guys!!! I believe him. This is how you do it. First you go to notepad, then you open the class file. Then you type in your changes and then you save. Voila


Oh jeez!

The .class file is the compiled binary; you can't just open it in notepad and edit it and expect it to work.


EDIT: rephrasing.

[edited by - Anthony Serrano on January 18, 2004 5:57:45 AM]

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
The last AP was almost right: what you actually do is get the JVM bytecode spec from sun, then open the .class file in your favourite hex editor; its all plain sailing from there

Share this post


Link to post
Share on other sites
It is not as hard. First you must download Java SDK from Sun microsystems, then you should tell us what that class file was.
Best and easier way would be simply create java source file and type it again. Unformat is probably out of question right?
Other ways are considerably more difficult.
What was that program?


BTW if you really tried to learn some disassembly, there are resources around there. And a lots of them. (Much better than majority of answers that you could get on this forum)

I for example just recently deleted source tree. I get it back by recovery program. Yuck some programs have it sooo easy.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!