View Single Post
  #2   (View Single Post)  
Old 23rd February 2009
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by bsdnewbie999 View Post
I downloaded the software from sourceforge.net but it doesn't provide source code.
If all you were able to find are .jar files or .class files, then you will need to locate a Java decompiler to translate the .class files back to source.
  • Recognize that the variable names generated through a decompiler will most likely be auto-generated, & not descriptive as what could be found in the original source.
  • I have not seen any discussion on decompilers on the OpenBSD mailing lists, so you are on your own as to finding one & getting it to work. One example I found is the following:

    http://www.kpdus.com/jad.html

    ...however, I have no idea as to whether it will work on OpenBSD.
Your first step should be to spend time with a search engine looking for "Java decompiler".

There are techniques used to obfuscate Java code which makes decompiling difficult. You may or may not encounter them. Again, you are on your own.

I would highly recommend that you contact the authors on SourceForge & see if you can get source. This would be a far simpler solution, for decompiling is not guaranteed to work.

Last edited by ocicat; 23rd February 2009 at 02:43 PM.
Reply With Quote