Re: even with 'libjsch-java' package com.jcraft.jsch does not exist
On Sun, Jun 11, 2017 at 11:23:56PM +0200, Geert Stappers wrote:
> Hello Debian Java
>
> While working on
> java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
> that I report two weeks ago, I encountered another obstacle :-)
>
> [javac] ^
> [javac] /build/arduino-1.8.2+dfsg/arduino-core/src/cc/arduino/packages/ssh/SSHPwdSetup.java:33: error: package com.jcraft.jsch does not exist
> [javac] import com.jcraft.jsch.JSch;
> [javac] ^
> [javac] /build/arduino-1.8.2+dfsg/arduino-core/src/cc/arduino/packages/ssh/SSHPwdSetup.java:34: error: package com.jcraft.jsch does not exist
> [javac] import com.jcraft.jsch.JSchException;
> [javac] ^
>
> The build depends do have libjsch-java.
>
> In CLASSPATH is /usr/share/java/jsch.jar
>
>
> Now I'm here asking for a clue where to proceed.
>
>
>
> Previous I had successfull build, but with runtime error at startup.
>
> Reason for now having a build error is because I removed .jar files
> from uptime tarball. Among the removed jars was jsch-0.1.50.jar.
>
> Commands for reproducing the build error:
> debcheckout arduino
> pristine-tar checkout ../arduino_1.8.2+dfsg.orig.tar.xz
> $YOUR_FAVORITE_BUILD_TOOL
>
In C, the computer language, there is #include <standardlibrary.h>
and #include "mylibrary.h". < > versus " "
I did a websearch on such construction for Java, didn't found such thing.
In http://docs.oracle.com/javase/tutorial/java/package/usepkgs.html
is import package explained. But for me not enough to understand
why there is
[javac] /build/arduino-1.8.2+dfsg/arduino-core/src/cc/arduino/packages/ssh/SSHPwdSetup.java:33: error: package com.jcraft.jsch does not exist
[javac] import com.jcraft.jsch.JSch;
[javac] ^
[javac] /build/arduino-1.8.2+dfsg/arduino-core/src/cc/arduino/packages/ssh/SSHPwdSetup.java:34: error: package com.jcraft.jsch does not exist
[javac] import com.jcraft.jsch.JSchException;
[javac] ^
Your help is appreciated.
Groeten
Geert Stappers
--
Leven en laten leven
Reply to: