Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Basically I need this specific version of the Tanuki Java Service Wrapper to run a specific Java application. I downloaded the source from the Tanuki website and I'm trying to compile it from source.

This is under a Debian Linux system armv5tel architecture.

It uses Ant, and there is a build.sh script that invokes a copy of Ant provided in the source.

However, the compilation fails with this message:

home/build/wrapper_3.1.2_src/build.xml:263: Error starting javah: java.lang.NoSuchMethodException: com.sun.tools.javah.Main.<init>([Ljava.lang.String;)
share|improve this question
1  
What JDK do you have, and what version of Ant is included in the source? The javah API has had incompatible changes over time, see Sun bug #4824827: Change in 1.4.2-beta Javah results in Apache Ant (1.5+) <javah> task failing –  Gilles May 29 '11 at 21:18
    
Thank you so much for your reply! JDK is the Debian package openjdk-6-jdk 6b18-1.8.7 and the version of ant is apache-ant-1.6.2. –  ultrasawblade May 29 '11 at 21:52

1 Answer 1

up vote 1 down vote accepted

The solution was to use a later version of ant (the one I installed via Debian) instead of the copy provided with the source package.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.