[Arm-netbook] KiCAD autorouter freeroute has gone open source and stand alone

joem joem at martindale-electric.co.uk
Mon May 11 08:44:16 BST 2015


KiCAD autorouter freeroute has gone open source and stand alone


For Ubuntu 12.04, install the default-jdk i.e.
 sudo apt-get install default-jdk 

The freeroute files can be downloaded from here:
https://github.com/nikropht/FreeRouting/ 

Need to unzip and compile .java files for which there is a script

The following needs to be put into a bash script - e.g.
compile_freeroute.sh:


#!/usr/bin/env bash
#
# Credits: http://www.freerouting.net/fen/viewtopic.php?f=4&t=255
# (A message written by forum user "foka" on 2014-03-23)
#
# This has been hacked together in a few minutes after reading the post
above.
#
# 1. Check prerequisites:
if [ ! -f /usr/share/java/jh.jar ] \
   || [ ! -f /usr/share/icedtea-web/netx.jar ]
then sudo apt-get install javahelp2 icedtea-netx-common
fi
# 2. Compile:
if javac
-classpath /usr/share/java/jh.jar:/usr/share/icedtea-web/netx.jar \
      `find -type f -name "*.java"`
then jar cfe fr.jar gui.MainApplication \
     `find -type f \( -name "*.class" -o -name "*.properties" \)`
else echo "*** Some .java file was not compiled. See above" 1>&2
     exit 1
fi
# 3. Run:
java -jar fr.jar


Then run 
 bash compile_freeroute.sh 
and you got stand alone freeroute! :)

Related links are these:
https://bugs.launchpad.net/kicad/+bug/1290022
https://github.com/32bitmicro/Freerouting
http://www.freerouting.net/fen/viewtopic.php?f=4&t=255


Now you can make your own freedom CPU boards and design
it with 100% free software and share designs! :) :)



More information about the arm-netbook mailing list