On Thu, Nov 08, 2012 at 08:40:06AM +0100, Olivier Sallou wrote: > > or when trying manually what the wrapper tries to do > > > > $ java -jar /usr/share/fastqc/fastqc.jar > > uk.ac.babraham.FastQC.FastQCApplication > > Skipping 'uk.ac.babraham.FastQC.FastQCApplication' which didn't exist, or > > couldn't be read > I will have a look but: > It seems that the file with structure > uk/ac/babraham/FastQC/FastQCApplication.class is missing in the jar file > /usr/share/fastqc/fastqc.jar (you can check content with jar -tf > /usr/share/fastqc/fastqc.jar)
Sure, this is what I did in the first place and can confirm $ jar -tf /usr/share/fastqc/fastqc.jar | grep FastQCApplication uk/ac/babraham/FastQC/FastQCApplication$1.class uk/ac/babraham/FastQC/FastQCApplication.class > > My suspicion is that simply specifying the Main-Class in debian/manifest > > is not sufficient. Something might be wrong with the Debian home brewn > > Makefile as quilt patch and ant+built.xml might do a better job to build > > the Jar functionally. Any hint for doing this properly? > Main-Class in manifest gives the default class to call when using java > -jar myjarfile. > If the jar needs other jar files, they need to be specified in Manifest > too or at command line in the classpath parameter. $ cat debian/manifest /usr/share/fastqc/fastqc.jar: Main-Class: uk.ac.babraham.FastQC.FastQCApplication Class-Path: /usr/share/java/jbzip2.jar /usr/share/java/sam.jar ... checking your other mails Andreas. -- http://fam-tille.de -- To UNSUBSCRIBE, email to debian-med-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20121108090047.gf17...@an3as.eu