Menu

#135 Debian installation -- Unable to locate tools.jar

0.72
New
nobody
None
Medium
Linux
Compilation
Other
2016-03-11
2016-02-06
free Buju
No

To install on debian (with IcedTea already installed), I tried these steps:

$ aptitude install subversion ant
$ svn checkout http://webcamstudio.googlecode.com/svn/trunk/ webcamstudio-read-only
$ ant clean jar

Output from ant is:
====8<---------------------------
Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar
Buildfile: /usr/local/src/webcamstudio-read-only/build.xml
...
BUILD FAILED
/usr/local/src/webcamstudio-read-only/nbproject/build-impl.xml:926: The following error occurred while executing this line:
/usr/local/src/webcamstudio-read-only/nbproject/build-impl.xml:268: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "/usr/lib/jvm/java-7-openjdk-amd64/jre"
====8<---------------------------

It's probably a documentation problem. I used the "svn checkout.." command from this page: https://web.archive.org/web/20111224195345/http://www.ws4gl.org/download/compiling, and then the README said to run "ant clean jar".

Also, is there an IRC channel or usenet newsgroup for webcamstudio?

Discussion

  • Soylent TV

    Soylent TV - 2016-02-15

    Hi, i'm sorry but at this very moment nobody seems to work to WS Project but me when I have time.
    I suggest you to make a checkout from the sf Repository (Here you can get the latest code.):
    svn://svn.code.sf.net/p/webcamstudio/code/trunk
    using NetbeasIDE.

    If you want to build the application without NetbeansIDE you can try to follow this:
    https://plus.google.com/106438997055822510250/posts/CiaGVe5FFaQ

    There is a WS IRC channels and you can find on sf home page under External Links, but every time i log in i never find nobody ...
    https://webchat.freenode.net/?channels=webcamstudio

    Thanks for the feedback.
    karl

     

    Last edit: Soylent TV 2016-02-15
  • Tetsujin

    Tetsujin - 2016-03-11

    Based on your error messages it appears you need to install the JDK.

    I am running on Debian and primarily I build with NetBeans. I don't know what the state is of the Ant build system for this project. But you should be able to use either openjdk-8-jdk or oracle-java8-jdk. I don't know if gcj would work.

     

Log in to post a comment.