Results 1 to 4 of 4
Thread: Decompile a *.class file?
- 12-03-2010, 03:07 AM #1
Member
- Join Date
- Dec 2010
- Posts
- 2
- Rep Power
- 0
Decompile a *.class file?
Hi! I wanted to know if anyone could assist me with some resources or help in opening a .class file so that I can change a few lines in the class.
From what I have read, i understand it must be decompiled, use of jad? But I cant get it to work properly, I would get an error along the lines:
./jad: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory
Can someone assist me in either getting this jad to run via terminal, or just in providing some guide in viewing and editing the content .class files.
(Btw, I am using the LSST ETC open source program, which simulates a telescope, and I am interested in seeing how the program works, and where it specifies a few default parameters.)
thank you for all the help and your time!!
- 12-03-2010, 03:25 AM #2
Moderator
- Join Date
- Feb 2009
- Location
- New Zealand
- Posts
- 4,546
- Rep Power
- 11
You have to ensure that you have the shared library and that it's installed somewhere that jad can find it. There's a statically linked version of jad for linux here.
Is LSST ETC open source? There's nothing I could see on their web site that says that (that I could see) - or Gemini ITC and www.gemini.edu/sciops whose code they credit.
- 12-03-2010, 05:54 AM #3
Nope, hence why the OP has taken the JAR file, dearchived it, and is peering through the individual class files. I think he believes it's open source because it's not compiled to bytecode like one might expect of an EXE or DLL. I'm actually not sure what position to take on this one, to be quite honest...
- 12-03-2010, 04:03 PM #4
Member
- Join Date
- Dec 2010
- Posts
- 2
- Rep Power
- 0
Thank you for the responses. I will just send an email to the person who made the program asking for permission to look at the code in the case that it is not open source.
I was just curious to see how the code was written for educational purposes.
Again though, thank you for your inputs!
Similar Threads
-
Set file number on .class file
By lmsf in forum Advanced JavaReplies: 3Last Post: 03-24-2010, 06:38 AM -
unzip .jar/decompile .class/edit .jad/re-compiled . class ????
By ralex76 in forum New To JavaReplies: 2Last Post: 10-01-2009, 11:02 AM -
converting java class file to exe file
By satheeshtech in forum Advanced JavaReplies: 5Last Post: 07-18-2009, 11:47 PM -
.class file to .java file
By makpandian in forum New To JavaReplies: 1Last Post: 02-20-2009, 06:46 PM -
Able to find class file in WEB-INF/classes but not after add sub folders in class dir
By vitalstrike82 in forum Web FrameworksReplies: 0Last Post: 05-13-2008, 06:16 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks