Mirko Vukovic <mirko.vukovic <at> gmail.com> writes:
>
> Andreas Beeker <andreas.beeker <at> gmx.de> writes:
>
> >
> > Hi Mirko,
> >
> > is this just a typo (while writing the email) or the reason for not
> finding the jar file??
> >
> > instead of:
> >
> > /c/Program\ Files/Java/jdk1.8.0_11/bin/javac.exe -cp
> > '.;:c/java-libs/poi-3.10.1/poi-3.10.1-20140818.jar' poiLink.java
> >
> > use: (twist :c -> c:)
> >
> > "c:\Program Files\Java\jdk1.8.0_11\bin\javac.exe" -cp
> > ".;c:\java-libs\poi-3.10.1\poi-3.10.1-20140818.jar" poiLink.java
> >
Problem solved: As Andreas pointed out, I was using incorrect path to the
jar file: typing :c instead of c: (careless typing mistake)
After adding the javac.exe bin directory to path, on the command line the
following works:
> javac -cp '.;c:/java-libs/poi-3.10.1/poi-3.10.1-20140818.jar' poiLink.java
with poiLink.java being
=======================
import org.apache.poi.hssf.usermodel.HSSFSheet;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
public class poiLink{
}
=======================
(Again, this is bash terminal on Cygwin64 on Windows 7)
Thank you, Andreas.
Mirko
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]