HELP: where is "com.sun.awt.svg"?

Hi,
there is sample code "HelloSVGWorld.java" for SVG generator at
http://wwws.sun.com/software/xml/developers/svg/java2d-api/
can anyone kindly tell me where the package com.sun.awt.svg is. Many thanks.

I did download batik but there are about 20 jar files and anyone knows if "com.sun.awt.svg" is contained in one of these jar files. Thanks a lot.

Similar Messages

  • URGENT!!!! help me!Where I can get package com.sun.awt.svg.*

    Hello,everybody!
    I want to know Where I can get package com.sun.awt.svg.* ??

    Requirements
    JDK 1.3 Software -
    To use the Graphics2D SVG Generator, you need to have installed the Java 2 Software Developer's Kit (SDK). You can obtain the Java 2 SDK from the Sun Java 2 web site (http://java.sun.com/j2se/).
    The Graphics2D SVG Generator software was tested with version 1.3, so you should use the same version or a newer one.
    DOM Implementation -
    A DOM level 1 implementation is needed to use the Graphics2D SVG Generator. You can obtain a Java language DOM implementation from the following:
    Apache Xerces (http://xml.apache.org/xerces-j/index.html)
    Sun Microsystem's Project X
    (http://developer.java.sun.com/developer/products/xml)
    You also need to put the corresponding jar files in the classpath. The following table shows commands for doing this.
    Operating System DOM Implementation Command
    Windows 98 Xerces set classpath=%classpath%;
    xercesinstalldir\xerces.jar
    Windows 98 Project X set classpath=%classpath%;
    projectxinstalldir\xml.jar
    UNIX Xerces setenv CLASSPATH ${CLASSPATH}:
    xercesInstallDir/xerces.jar
    UNIX Project X setenv CLASSPATH ${CLASSPATH}:
    projectxinstalldir/xml.jar
    SVG Viewer
    To view the generated SVG files, you need to have an SVG viewer. You can find a list of available SVG viewers at the W3C SVG web site (http://www.w3.org/Graphics/SVG/SVG-Implementations).
    top of the page
    Installing the Graphics2D SVG Generator Software
    IMPORTANT:
    Before installing the software, make sure you agree to the license terms.
    To install the software, perform the following steps:
    Step 1: Uncompress the distribution file in the desired installation directory. Use these commands (from the command line):
    > cd installDir
    > jar xf j2d2svg.zip
    The j2d2svg.jar file expands into a directory (j2d2svg) that contains the following:
    README.html (this file) -- Provides important information about installing and using the Graphics2D SVG Generator.
    svggraphic_license.html -- License agreement.
    svggen.jar -- A jar (java archive) file that contains the SVGGraphics2D classes.
    glf.jar -- A jar file that contains the Graphic Layers Framework classes.
    svggenDoc.jar -- A jar file that contains the software's API documentation in HTML.
    HelloSVG.java -- Example file.
    HelloManipulatedSVG.java -- Example file.
    Step 2: Add svggen.jar to the classpath.
    On Windows, use this command:
    - set classpath=%classpath%;<j2d2svginstalldir>\svggen.jar
    On UNIX, use this command:
    - setenv CLASSPATH=${CLASSPATH}:j2d2svginstalldir/svggen.jar
    To use the Graphic Layer Framework conversion utility (i.e., to use the com.sun.awt.svg.util.GlfSVGPrettyPrint), you will also need to add the glf.jar file to your classpath. However, this is not required to run the examples.

  • Where can i find package com.sun.awt.svg.*??

    where can i find package com.sun.awt.svg.*??
    urgent!!! please help me!
    thanks in advance!!!

    Perhaps you might find some useful information here;-
    http://forum.java.sun.com/thread.jsp?forum=54&thread=427144&tstart=15&trange=15
    (pillock)

  • Where I can get package com.sun.awt.svg.*

    Hi:
    Anyone know Where I can get package com.sun.awt.svg.* ??
    My Email is :[email protected]
    thank you !

    I do not know,
    but if you need to deal with SVG take a look at Batik at xml.apache.org,
    http://xml.apache.org/batik/index.html

  • Com.sun.awt

    Hi all,
    From where I can find the package com.sun.awt
    I've search the web but unable to find a location to download it. Anyone of you have a link to download it.
    Thanks.

    Don�t know if it help, but I found that 'org.apache.batik.svggen.SVGGraphics2D' substitutes 'com.sun.awt.svg.*'
    Also I found some info about com.sun.awt in here:
    http://java.sun.com/products/personaljava/spec-1-1/pJavaSpec.html

  • JFrame Transperency  com.sun.awt package

    Hi,
    In my application i am having the requirement of tranperent window. I searched lot in google and i find transperent JFrame is possible. For making the JFrame transperent the **com.sun.awt** package is needed.
    But this package is unavailable in JDK1.6. I am also using JDK 1.6 version.
    If anyone knows the JDK containning this package. Please let me know that link(JDK containing com.sun.awt package).

    Don�t know if it help, but I found that 'org.apache.batik.svggen.SVGGraphics2D' substitutes 'com.sun.awt.svg.*'
    Also I found some info about com.sun.awt in here:
    http://java.sun.com/products/personaljava/spec-1-1/pJavaSpec.html

  • Com.sun.awt.AWTUtilities run in ubuntu

    com.sun.awt.AWTUtilities.setWindowOpaque();
    when i want to run the above script in ubuntu, it raise exception:
    Exception in thread "main" java.lang.IllegalArgumentException: The window must use a translucency-compatible graphics configuration
    at com.sun.awt.AWTUtilities.setWindowOpaque(AWTUtilities.java:371)
    at runtext.<init>(runtext.java:40)
    at runtext.main(runtext.java:67)
    i use Ubuntu8.04 and GNOME2.22.2
    how can i fix this problem?

    You know that saying about "when to break the rules ...", don't you? I mean, come on, this class is advertised in a public tech tip article from a SUN employee. Normally, you do not advertise stuff you don't want people to use.

  • Where is com.sun.xml.tree.XmlDocument ???

    Where can I get this package (com.sun.xml.tree.*) ???
    Where where where can iiiii get ?????????
    Please, where?

    Hey guys,
    I've got the same problem.
    please help me to [email protected]
    Thanks.
    Basically, i am running a program which needs to import "com.sun.xml.tree.XmlDocument", but the system can't find it!!
    I've downloaded J2SE 5.0 already, was thinking JAXP already included, but still not working. Can somebody tell me why please?
    Big thanks again
    ^__^

  • Where to download  "sun.awt.image.codec.JPEGImageDecoderImpl"/Windows

    Hello,
    I bought some Java API. These API uses com/sun/image/codec/jpeg/JPEGCodec.
    I found these clases in src.zip in java install directory.
    Then, this code has a source line
    "import sun.awt.image.codec.JPEGImageDecoderImpl;"
    Where can I find/downlad this class?
    (I work on Windows platform)

    This class is in rt.jar package
    which is in ur jre directory/lib
    Hope u got it!!
    Pradhip

  • Where is com.sun.estore.cart.ejb found??

    Could someone tell me what i have to download to get the classes in com.sun.estoer.cart.ejb. I thought it is in jsdk2ee.jar but it is not there. WHERE IS THE JAR ?

    It seems you are talking about the very early version of the Java Pet Store sample application that was part of the J2EE Blueprints.
    See http://java.sun.com/j2ee/blueprints/jps10/src for source code.

  • Where is com.sun.msv.grammar.Grammar?

    I generated some java classes using the JAXB compiler from my XML schema. When attempting to compile said classes I fail to find com.sun.msv.grammar.Grammar. I can't seem to locate it in any of the jar files that came with Java Web Services developer pack 1.3. If anyone can point me in the right direction, I'd appreciate it.
    -S

    Nevermind. jaxb-libs.jar got dropped.
    -S

  • Supplemental/vda-migrate fails: missing com/sun/vda/service/TextCipher

    Hi,
    just tried vda-migrate to upgrade my test installation (single host) from vda_3.0 to the new 3.1 version.
    This fails as seen below (added -verbose:class to the line calling java in vda-migrate:doExport).
    Any idea where class 'com/sun/vda/service/TextCipher' could be found (at least it's not defined in
    any .jar-file in vda_3.{0,1}/Solaris_10+/i386/Packages/SUNWvda*...)
    Kurt
    [Loaded java.security.cert.Certificate from /usr/jdk/instances/jdk1.6.0/jre/lib/rt.jar]
    [Loaded com.sun.vda.migrate.VdaMigrateExport from file:/var/home/ks/vda_3.1_image/.install/vdamigrate.jar]
    [Loaded java.io.FileNotFoundException from /usr/jdk/instances/jdk1.6.0/jre/lib/rt.jar]
    [Loaded java.util.Queue from /usr/jdk/instances/jdk1.6.0/jre/lib/rt.jar]
    [Loaded java.util.Deque from /usr/jdk/instances/jdk1.6.0/jre/lib/rt.jar]
    [Loaded java.util.AbstractSequentialList from /usr/jdk/instances/jdk1.6.0/jre/lib/rt.jar]
    [Loaded java.util.LinkedList from /usr/jdk/instances/jdk1.6.0/jre/lib/rt.jar]
    [Loaded java.util.LinkedList$Entry from /usr/jdk/instances/jdk1.6.0/jre/lib/rt.jar]
    Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/vda/service/TextCipher
    Caused by: java.lang.ClassNotFoundException: com.sun.vda.service.TextCipher
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    [Loaded java.lang.Shutdown from /usr/jdk/instances/jdk1.6.0/jre/lib/rt.jar]
    [Loaded java.lang.Shutdown$Lock from /usr/jdk/instances/jdk1.6.0/jre/lib/rt.jar]
    Could not find the main class: com.sun.vda.migrate.VdaMigrateExport. Program will exit.
    Data exported to directory '/tmp/asdf'
    After installing and configuring Sun VDI 3.1 execute '/opt/SUNWvda/sbin/vda-migrate -i /tmp/asdf'
    A log file is available at '/var/adm/log/vda-migrate.2009_09_15_21:47:25.log'.

    Hi,
    The VDI upgrade from 3.0 to 3.1 is not supported in 3.1 Early Access version.
    vda-migrate 3.0-->3.1 will be available only in the 3.1 final release.
    Thanks,
    --Chirag                                                                                                                                                                                                                                                                                                                                                       

  • Dumb newbie question - where do I download com.sun.web.me.*?

    Hi,
    I am new to j2me programming & have just started developing apps for mobile phones. So far so good, I have Netbeans 5.5.1 with the mobility pack and have created a couple of Midlets already. To braoden my knowledge, I have downloaded a coupe of samples from https://meapplicationdevelopers.dev.java.net/ but when I try and build them, I get errors regarding the import of classes com.sun.me.web.*
    Where/how can I download & install these libraries for use in Netbeans 5.5.1?
    Many thanks
    Chris

    Thanks for the response,
    I have serached my computer for anything that looks like it might contain the required libraries, but top no avail
    My code has the following lines which the compiler objects to:
    import com.sun.me.web.path.Result;
    import com.sun.me.web.path.ResultException;
    import com.sun.me.web.request.Arg;
    import com.sun.me.web.request.ProgressInputStream;
    import com.sun.me.web.request.ProgressListener;
    import com.sun.me.web.request.Request;
    import com.sun.me.web.request.RequestListener;
    import com.sun.me.web.request.Response;
    so any help on where I might find them would be appreciated

  • Where can I find com.sun.xml.tree?

    Recently I was using java to achieve the transformation process from XML document to HTML document. The XML processor is Xalan-J. Of course, I also used Java API for XML(JAXP). During the process, I would use XMLDocument object, which need the help of com.sun.xml.tree, but I cannot find this package.
    Could you please tell me where I can find it?
    SDK's version:1.4.1
    Xalan-J's version:2.5
    JAXP's version:1.2

    To DevMentee: Thanks for your codes.
    I also coded pieces of programme to achieve my goal avoiding that package:
    import java.io.FileNotFoundException;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerConfigurationException;
    import javax.xml.transform.TransformerException;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.stream.StreamResult;
    import javax.xml.transform.stream.StreamSource;
    public class SimpleTransform
    public static void main(String[] args)
    throws TransformerException, TransformerConfigurationException,
    FileNotFoundException, IOException
    TransformerFactory tFactory = TransformerFactory.newInstance();
    Transformer transformer = tFactory.newTransformer(new StreamSource("transform.xsl"));
    transformer.transform(new StreamSource("myfile.xml"), new StreamResult(new FileOutputStream("myfile.html")));
    System.out.println("*** The result is myfile.html ***");

  • Urgent help: at sun.awt.FontConfiguration.getVersion(Unknown Source)

    Hi friends,
    This is a stupid issue, I am not able to solve sice almost two days.
    A simpl app throws this exception:
    Caused by: java.lang.NullPointerException
    at sun.awt.FontConfiguration.getVersion(Unknown Source)
    at sun.awt.FontConfiguration.readFontConfigFile(Unknown Source)
    at sun.awt.FontConfiguration.<init>(Unknown Source)
    at sun.awt.windows.WFontConfiguration.<init>(Unknown Source)
    at sun.awt.Win32GraphicsEnvironment.createFontConfiguration(Unknown Source)
    at sun.java2d.SunGraphicsEnvironment$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.java2d.SunGraphicsEnvironment.<init>(Unknown Source)
    at sun.awt.Win32GraphicsEnvironment.<init>(Unknown Source)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
    at javax.swing.RepaintManager.<clinit>(Unknown Source)
    +... 13 more+
    I dont know why the hell should it come.
    Is it related something to fonts.
    Even the least of help will be highly appreciated.,
    thanks

    Hi,
    I feel its not related to code as such. Maybe configuration stuff i guess.
    Because the same code runs in Eclispe....and was even working in Netbeans
    just 2 hours back....but now it ain't woking in netbeans.
    I need to use javafx you see, so need to use netbeans....
    help people...help

Maybe you are looking for

  • Query returns too many results

    I have this query that returns 118,900 records when I try to add or oth_tchname_ssn like '%123456789%' at the end of the query. When I remove the or oth_tchname_ssn like '%123456789%' it returns 32 records which seems about right. Any ideas as to whe

  • How to get number document of Original documents

    Hi all ! now I have a request how to obtain original documents. Specifically as follows: I have an Invoice 1. I'm partial payment for that Invoice. The system generates a new invoice and it will be the clearing document for an invoice. Then I continu

  • Budgetory control to give error message in FI while posting

    Hi! I am working for Dairy industry project. Our client is having Daiary cooperative Societies as share holders,Vendors & customers. I am planning to create Vendor code and customer code seperate and assign customer code/vendor codes in respective ma

  • Using older Extreme as a wifi extender with new tower extreme

    Howdy.  Trying to set up extended WiFi and having a terrible time.  Have new extreme tower as base station as plugged in to cable modem.  Trying to use Los Extreme as extender.  Took both to Apple store and asked for help.  Tech guy said no problem a

  • HT201263 I cannot get my phone to turn off - cannot get the red slide to show up.

    The only "movement" I see from my phone after updating to the new softward is the apple and the bar below it. It starts to fill and locks up at 50%. I have disconnected the phone from the computer. What do I do?