Thanks very much, you save me a lot of time.
How to build and install edge JODE
junit package is a requirement to run tests
Code:
sudo aptitude install junit
htp package is a requirement to build documentation
Code:
sudo aptitude install htp
Check your java compiler version is at least 1.2
Download last svn trunk
Code:
svn co https://jode.svn.sourceforge.net/svnroot/jode/trunk/jode jode
Go into downloaded directory
Build java files into class files
Run tests to see everything is correct
Build jar files
Code:
ant release-bindist
Your newly created jode file is in
release/jode-1.90-CVS/jode.jar
Follow gasull instructions except that there is an important change.
Note !
Jode java classes are in net.sf.jode.* path.
You must modify script to something like this:
Code:
!/bin/bash
prefix=/usr/local
case $1 in
[Ss]wi*) CLAZZ=net.sf.jode.swingui.Main; shift ;;
[Dd]ec*) CLAZZ=net.sf.jode.decompiler.Main; shift ;;
[Oo]bf*) CLAZZ=net.sf.jode.obfuscator.Main; shift ;;
*) CLAZZ=net.sf.jode.decompiler.Main ;;
esac
#CP=`echo $CLASSPATH | sed s/:/,/`
CLASSPATH=${prefix}/share/java/jode.jar:/usr/share/java/gnu-getopt.jar:.
#echo Executing: /usr/bin/java -classpath $CLASSPATH $CLAZZ $*
/usr/bin/java -classpath $CLASSPATH $CLAZZ $*
Bookmarks