poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marx, Stefan ext. MA Fa. Lynx" <Stefan.Marxext.MAFa.L...@rewe-group.com>
Subject AW: Java.lang.NoClassDefFoundError org/apache/poi/hssf/usermodel/ HSSFWorkbook
Date Wed, 05 Apr 2006 09:28:34 GMT
Hi Mac,

did you try to include your current working directory by adding the
dot to your classpath like
java -classpath /home/mac/java/classes/poi-2.5.1-final-20040804.jar:. -jar
mac.jar
 
^^
i.e. colon followed by a dot.

hth, cu Stefan


Stefan Marx
Marx Consulting (extern)

REWE GROUP 
Geschäftsbereich Konzern-Systeme
Funktionsbereich Business-Systeme

REWE-Informations-Systeme GmbH
Humboldtstraße 140-144 - 51149 Köln

Telefon:  +49 (0)221 149 - 5953
Telefax:  +49 (0)221 149 - 97 5953
E-Mail: Stefan.Marxext.MAFa.Lynx@rewe-group.com
www.rewe-group.com


> -----Ursprüngliche Nachricht-----
> Von:	Mac Bhyat [SMTP:macb@unibase.co.za]
> Gesendet am:	Mittwoch, 5. April 2006 10:32
> An:	poi-user@jakarta.apache.org
> Betreff:	Java.lang.NoClassDefFoundError
> org/apache/poi/hssf/usermodel/HSSFWorkbook
> 
> Hi,
>  
> I am trying to use the poi sdk in Java running on Linux and when I run my
> program and create an instance of the workbook class, I get the following
> error
>  
> Java.lang.NoClassDefFoundError org/apache/poi/hssf/usermodel/HSSFWorkbook
>  
> my java run command line is the following:
>  
> java -classpath /home/mac/java/classes/poi-2.5.1-final-20040804.jar -jar
> mac.jar
>  
> So I have specified the correct classpath - why can it not find it ???
>  
> I am using jdk 1.5.0.06 running suse linux 10.1 
>  
> I have read this might be security issue, but I am not sure how to fix 
>  
> On windows xp running java 1.5 - this works fine 
>  
> any ideas ?
>  
> Thanks
>  
> Mac << Datei: BitDefender.txt >>  << Datei: ATT11851.txt >> 

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


Mime
View raw message