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: [EMAIL PROTECTED] www.rewe-group.com > -----Ursprüngliche Nachricht----- > Von: Mac Bhyat [SMTP:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 5. April 2006 10:32 > An: [email protected] > 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: [EMAIL PROTECTED] Mailing List: http://jakarta.apache.org/site/mail2.html#poi The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/
