» Poradna » Programy

Java export do svg, batik.jar, cmd javac - problem

Odpovědět  | 
 |   |  Microsoft Windows 8 Chrome 25.0.1364.172

Ahoj.Exportuji z javy do svg pres batik.jar. Jde o to ze v eclipsu to krasne beha, ale kdyz volam javac v cmd hlasi to error, nechapu proc, je nutne uvest prikaz javac v nejakem jinem tvaru?A jakem? DíkyERROR:[code]Slozitejsi.java:15: error: package org.apache.batik.dom does not existimport org.apache.batik.dom.GenericDOMImplementation;^Slozitejsi.java:16: error: package org.apache.batik.svggen does not existimport org.apache.batik.svggen.SVGGraphics2D;^Slozitejsi.java:91: error: cannot find symbolGenericDOMImplementation.getDOMImplementation();^symbol: variable GenericDOMImplementationlocation: class SlozitejsiSlozitejsi.java:99: error: cannot find symbolSVGGraphics2D svgGenerator = new SVGGraphics2D(document);^symbol: class SVGGraphics2Dlocation: class SlozitejsiSlozitejsi.java:99: error: cannot find symbolSVGGraphics2D svgGenerator = new SVGGraphics2D(document);^symbol: class SVGGraphics2Dlocation: class Slozitejsi5 errors>Exit code: 1[/code]ZDROJÁK PROGRAMU:[code]import java.awt.Color;import java.awt.Font;import java.awt.Graphics;import java.awt.Graphics2D;import java.awt.geom.AffineTransform;import java.awt.geom.Area;import java.awt.geom.Ellipse2D;import java.awt.geom.GeneralPath;import java.io.FileWriter;import java.io.Writer;import javax.swing.JFrame;import org.apache.batik.dom.GenericDOMImplementation;import org.apache.batik.svggen.SVGGraphics2D;import org.w3c.dom.DOMImplementation;import org.w3c.dom.Document;public class Slozitejsi extends JFrame { public Ukázat celý příspěvek

Mohlo by vás také zajímat


Související témata: Java, SVG, W3C, 10, Import, Cmd +, Symbol, Public, Void, Uhel, Location, Hrana, Translate, Exception e, Document Object Model