Hi Geoff,

looks like the batik-all.jar is not in your CLASSPATH.

What start script do you use? The Windows one?
The orginal openjump.bat adds all old batik jars
to the CLASSPATH explicitly.

you have to replace all %LIB%/batik/foobar.jar
with %LIB%/batik-all.jar

sorry for this inconvenient editing.
Batik itself is near it's next stable release (1.7)
Maybe we can add this stable version to
OpenJump to circumvent this problem.

- Sascha

Geoffrey G Roy schrieb:
> Dear Jan
> 
> I have tried your plugin, but cannot get it running.
> 
> According to your instructions, I have tried various combinations of 
> placing the new jars, but still get the error:
> 
> java.lang.NoClassDefFoundError: org/apache/batik/svggen/SVGGraphics2D
>     at 
> org.openjump.OpenJumpConfiguration.loadOpenJumpPlugIns(OpenJumpConfiguration.java:83)
>     at 
> com.vividsolutions.jump.workbench.JUMPConfiguration.setup(JUMPConfiguration.java:263)
>     at 
> com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:234)
>     at 
> com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:200)
> 
> could you please more explicit instructions as to where the various jar 
> files should be placed in the install hierarchy and in particular where 
> to place the new batik jar.
> 
> Geoff
> 
> Jan-Oliver Wagner wrote:
>> Hello OpenJUMP developers,
>>
>> I just uploaded the initial release of the new PrintLayout Plugin as version
>> 0.8.0 (indicating we think 80% is done of what we planned to do).
>>
>> http://sourceforge.net/project/showfiles.php?group_id=118054&package_id=219772
>>
>> Features:
>> - adding of maps and rectangles.
>> - Scaling (cool: scaletext "1:XXXX" changes accordingly :-)
>> - rotation
>> - group/ungroup 
>> - Print as PDF, to printer, as SVG
>> - import any SVG, raster image
>>
>> Of course it does not offer any feature of a vector drawing tool,
>> but in fact you can easily import the SVG export file into e.g. InkScape
>> and polish the page.
>>
>> I am waiting with an announcement on the users list until some developers
>> verified that the method to get the Plugin to work (see below) works for them
>> as well.
>> I am especially interested in whether it works not only with OpenJUMP, but 
>> also with PirolJUMP, deeJUMP, etc.
>>
>> All the best
>>
>>      Jan
>>
>> 1. Copy the the printlayout.jar
>>    into the the lib/ext directory of
>>    your OpenJump installation.
>>
>> ATTENTION: The next steps replace existing jar files. Be sure
>> you don't get into trouble when you loose these files. Backups
>> or a separate installation of OpenJump could help here.
>>
>> 2. Remove the batik libraries coming with
>>    OpenJump and replace them:
>>
>>    rm -rf <where you installed OpenJump>/lib/batik
>>
>> 3. Download these jar files and place them into
>>    <where you checked out the plugin sources>/lib/
>>
>> http://jump-pilot.cvs.sourceforge.net/*checkout*/jump-pilot/PrintLayoutPlugin/lib/batik-all.jar
>> http://jump-pilot.cvs.sourceforge.net/*checkout*/jump-pilot/PrintLayoutPlugin/lib/js.jar
>> http://jump-pilot.cvs.sourceforge.net/*checkout*/jump-pilot/PrintLayoutPlugin/lib/pdf-transcoder.jar
>> http://jump-pilot.cvs.sourceforge.net/*checkout*/jump-pilot/PrintLayoutPlugin/lib/xml-apis-ext.jar
>> http://jump-pilot.cvs.sourceforge.net/*checkout*/jump-pilot/PrintLayoutPlugin/lib/xml-apis.jar
>>
>>   
> 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to