You are not logged in.
Pages: 1
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
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
moving to General Programming ...
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
solved the problem myself.
when starting with "java" i also had to set the classpath to the .jar plus to the current directory...
Offline
Pages: 1