From: Stefan S. <ss...@ge...> - 2008-09-25 09:48:46
|
Hei Erwin, you are writing to the right mail list on your problem: . does your development program (or compiler) recognize the existence of com.vividsolutions.jts.* classes, i.e. did you include log4j in the same way as the JTS library - or is this just the first error that is recognized? . maybe you only did a reference to the openjump source code and not to the libraries. The libraries need to be added to the projects: openjump and a plugin project (Hello World) if they are needed there, and finally to the "run" options classpath as well, in Eclipse : Do you use Eclipse? . you can also find the log4j-1.2.8.jar file in the /lib/ folder of the repository (all needed jars can be found there) I hope any of these points helps - otherwise post again Stefan Erwin Poeze schrieb: > Hi, > > I'm new to openJump but quite impressed with it's capabilities > already. I would like to write some plugins, but I stumbled on a sort > of basic problem. > I got the source from the repository and made the hello world example. > When I run: > > javac -1.5 -classpath > .:/home/donnut/dev/openjump/core/trunk/src/:/usr/share/java *.java > > it produces some error messages, all caused by: > > [code] > 1. ERROR in /home/donnut/dev/openjump/core/trunk/src/com/vividsolutions/jump/workbench/plugin/AbstractPlugIn.java > (at line 39) > import org.apache.log4j.Logger; > ^^^^^^^^^^ > The import org.apache cannot be resolved > [/code] > > the log4j-1.2.jar file that contains the Logger class is located in > /usr/share/java which is in classpath. > > I'm not sure I'm posting to the right maillist but I would appreciate > it if somebody could help me out. > > Thanks! > > Erwin > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Jump-pilot-devel mailing list > Jum...@li... > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > |