You are not logged in.

#1 2011-03-17 01:08:53

mohikaner
Member
Registered: 2010-01-28
Posts: 10

Apache POI problems

for a small project i want to use the apache poi. after a workaround i finally get the the AUR package installed.
it's now installed in /usr/share/java/poi-3.7/
i don't use eclipse and complied a small test programm with javac -cp /usr/share/java/poi-3.7/poi-3.7-20101029.jar test.java
this works fine. but after an java test i got an ClassNotFoundException.
I know this is a java specific questions, but have i forgotten somethink after the installation?

Offline

#2 2011-03-17 09:28:29

itti
Member
Registered: 2007-06-01
Posts: 77

Re: Apache POI problems

If you want to do Java development there are a few Java build systems out there that actually do, among other things, dependency management for you. I think you're better of using for example Maven or Gradle to bootstrap the process of setting up a Java project. For some reason the Java guys decided that Java applications should bring (that is package) their own libraries on distribution. This does never go well with the established system package manager approach linux distributions use.

Last edited by itti (2011-03-17 09:29:00)

Offline

#3 2011-03-17 14:13:58

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Apache POI problems

moving to General Programming ...


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#4 2011-03-18 17:46:17

mohikaner
Member
Registered: 2010-01-28
Posts: 10

Re: Apache POI problems

solved the problem myself.
when starting with "java" i also had to set the classpath to the .jar plus to the current directory...

Offline

Board footer

Powered by FluxBB