This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-10-04 16:27:50

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Java Help

How do you open a .class file in Netbeans? Of course, it doesn't have to be Netbeans, its just the java editor I use.  hmm

Offline

 

#2 2011-10-04 16:37:51

gbear605
Scratcher
Registered: 2008-03-06
Posts: 1000+

Re: Java Help

ProgrammingFreak wrote:

How do you open a .class file in Netbeans? Of course, it doesn't have to be Netbeans, its just the java editor I use.  hmm

I think you mean .java files.  .class files are the compiled files, while .java files are the source code.


Yeah, I'm mostly inactive.  I check in once in a while though.  If you want to contact me, I have a contact form at my website, http://escratch.org

Offline

 

#3 2011-10-04 16:45:08

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: Java Help

gbear605 wrote:

ProgrammingFreak wrote:

How do you open a .class file in Netbeans? Of course, it doesn't have to be Netbeans, its just the java editor I use.  hmm

I think you mean .java files.  .class files are the compiled files, while .java files are the source code.

Yeah, I know. But I want to open certain .class files. Is there a way to?

Last edited by ProgrammingFreak (2011-10-04 16:45:16)

Offline

 

#4 2011-10-04 17:22:05

Baderous
New Scratcher
Registered: 2011-04-14
Posts: 100+

Re: Java Help

You can open it just like in any text editor. But it won't retrieve any important information, it will be like opening Scratch projects in a text editor.

Offline

 

#5 2011-10-05 03:48:50

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Java Help

Get a java decompiler like Jad or JD-GUI.


http://block.site90.net/scratch.mit/text.php?size=30&text=%20A%20signature!&color=333333

Offline

 

Board footer