I can compile and run the given examples unter FreeBSD without problems.
But now I tried to compile them on a Windows XP machine in the cygwin
I tried the following:
javac -classpath .:../src Shell.java
and got the following:
Shell.java:2: package com.jcraft.jasch does not exist
Shell.java:48: cannot resolve symbol
symbol: class UserInfo
and some more of those errors. I also tried
javac -classpath .:../build Shell.java but it did not help.
Sounds like a problem with my classpath, but I don't know exactly where
the mistake could be. Is there a trick to get this working under Windows
In the "normal" windows shell I have the same problem, too.
I'm using Jsch 0.1.17 and JRE 1.4.2
Thank you in advance,
sorry, I got the mistake.
Under Windows I have to use
javac -classpath '.;../build' Shell.java
javac -classpath .:../build Shell.java
to get it working. Now I can compile and run the examples without
problems. Just wanted to post the solution if anybody faces the same