Recently a guitar-playing developer asked me if I can help him to build his favorite guitar tab program TuxGuitar from the sources. So here is a small step-by-step guide using NetBeans.
- Checkout the sources via the NetBeans SVN Client (Team->Subversion->Checkout…) from
(At http://sourceforge.net/p/tuxguitar/code/HEAD/tree/trunk/ you will find the SCM URL)
- Open the maven project at
- Right click on the project, choose “
Clean and Build” and wait for the assembly to finish.
- After that in
trunk\build-scripts\tuxguitar-windows-x86\target\tuxguitar-1.3-SNAPSHOT-windows-x86there is a executable version of TuxGuitar
- Start TuxGuitar *g*
The setup was easy because NetBeans provides a SVN Client and a Maven installation out-of-the-box. Tested with NetBeans 8.0.1 (running using JDK8) and Windows 7 64bit.
If you use a x64-Windows and a x64-JDK TuxGuitar won’t run because of native 32bit-SWT libraries. You will see the following exception.
Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM
Solution: In the
tuxguitar.bat set the path to the java executable of a 32 bit JDK.
SET JAVA="C:/Program Files (x86)/Java/jre7/bin/java"