Java 2d API download jars

Can someone tell me, where I can find the java 2d API jar downloads.

Gentlepersons,
I am attempting to use vecmath.jar for a new app, and have apparently been bereft of the search gene. Can anyone tell me where to go (no, not figuratively) to get vecmath.jar (download site?)
Kindest regards
Dave

Similar Messages

  • Java speech api download

    Where I can download JAVA SPEECH API implementation?.
    I have been searching in web, there are many options.
    I'm spanish, please, sorry for my poor english.
    Edited by: Valhalla on Feb 25, 2009 9:03 AM

    follow the below links...
    http://freetts.sourceforge.net/docs/index.php
    http://freetts.sourceforge.net/docs/jsapi_setup.html

  • Java/PLSQL API download

    Is java and pl/sql api for portal available in a zip format that can be downloaded for personal reference.
    The API is available on portalstudio.oracle.com but there is no zipped format by which I can download the complete API reference.
    Anyone pls. help

    Nobody seems to have an answer to such a simple question. Pls. tell me if such a thing exists.

  • Complete working code for Gmail POP3 & SMTP with SSL - Java mail API

    Finally, your code-hunt has come to an end!!!!
    I am presenting you the complete solution (with code) to send and retrieve you mails to & from GMAIL using SMTP and POP3 with SSL & Authenticaion enabled. [Even starters & newbies like me, can easy try, test & understand - But first download & add JAR's of Java Mail API & Java Activation Framework to Netbeans Library Manager]
    Download Java Mail API here
    http://java.sun.com/products/javamail/
    Read Java Mail FAQ's here
    http://java.sun.com/products/javamail/FAQ.html
    Download Java Activation Framework [JAF]
    http://java.sun.com/products/javabeans/jaf/downloads/index.html
    Also, The POP program retrieves the mail sent with SMTP program :) [MOST IMPORTANT & LARGELY IN DEMAND]okey.. first things first... all of your thanks goes to the following and not a s@!te to me :)
    hail Java !!
    hail Java mail API !!
    hail Java forums !!
    hail Java-tips.org !!
    hail Netbeans !!
    Thanks to all coders who helped me by getting the code to work in one piece.
    special thanks to "bshannon" - The dude who runs this forum from 97!!I am just as happy as you will be when you execute the below code!! [my 13 hours of tweaking & code hunting has paid off!!]
    Now here it is...I only present you the complete solution!!
    START OF PROGRAM 1
    SENDING A MAIL FROM GMAIL ACCOUNT USING SMTP [STARTTLS (SSL)] PROTOCOL OF JAVA MAIL APINote on Program 1:
    1. In the code below replace USERNAME & PASSWORD with your respective GMAIL account username and its corresponding password!
    2. Use the code to make your Gmail client [jsp/servlets whatever]
    //Mail.java - smtp sending starttls (ssl) authentication enabled
    //1.Open a new Java class in netbeans (default package of the project) and name it as "Mail.java"
    //2.Copy paste the entire code below and save it.
    //3.Right click on the file name in the left side panel and click "compile" then click "Run"
    import javax.mail.*;
    import javax.mail.internet.*;
    import java.util.*;
    public class Main
        String  d_email = "[email protected]",
                d_password = "PASSWORD",
                d_host = "smtp.gmail.com",
                d_port  = "465",
                m_to = "[email protected]",
                m_subject = "Testing",
                m_text = "Hey, this is the testing email.";
        public Main()
            Properties props = new Properties();
            props.put("mail.smtp.user", d_email);
            props.put("mail.smtp.host", d_host);
            props.put("mail.smtp.port", d_port);
            props.put("mail.smtp.starttls.enable","true");
            props.put("mail.smtp.auth", "true");
            //props.put("mail.smtp.debug", "true");
            props.put("mail.smtp.socketFactory.port", d_port);
            props.put("mail.smtp.socketFactory.class", "javax.net.ssl.SSLSocketFactory");
            props.put("mail.smtp.socketFactory.fallback", "false");
            SecurityManager security = System.getSecurityManager();
            try
                Authenticator auth = new SMTPAuthenticator();
                Session session = Session.getInstance(props, auth);
                //session.setDebug(true);
                MimeMessage msg = new MimeMessage(session);
                msg.setText(m_text);
                msg.setSubject(m_subject);
                msg.setFrom(new InternetAddress(d_email));
                msg.addRecipient(Message.RecipientType.TO, new InternetAddress(m_to));
                Transport.send(msg);
            catch (Exception mex)
                mex.printStackTrace();
        public static void main(String[] args)
            Main blah = new Main();
        private class SMTPAuthenticator extends javax.mail.Authenticator
            public PasswordAuthentication getPasswordAuthentication()
                return new PasswordAuthentication(d_email, d_password);
    END OF PROGRAM 1-----
    START OF PROGRAM 2
    RETRIVE ALL THE MAILS FROM GMAIL INBOX USING Post Office Protocol POP3 [SSL] PROTOCOL OF JAVA MAIL APINote:
    1.Log into your gmail account via webmail [http://mail.google.com/]
    2.Click on "settings" and select "Mail Forwarding & POP3/IMAP"
    3.Select "enable POP for all mail" and "save changes"
    4.In the code below replace USERNAME & PASSWORD with your respective GMAIL account username and its corresponding password!
    PROGRAM 2 - PART 1 - Main.java
    //1.Open a new Java class file in the default package
    //2.Copy paste the below code and rename it to Mail.java
    //3.Compile and execute this code.
    public class Main {
        /** Creates a new instance of Main */
        public Main() {
         * @param args the command line arguments
        public static void main(String[] args) {
            try {
                GmailUtilities gmail = new GmailUtilities();
                gmail.setUserPass("[email protected]", "PASSWORD");
                gmail.connect();
                gmail.openFolder("INBOX");
                int totalMessages = gmail.getMessageCount();
                int newMessages = gmail.getNewMessageCount();
                System.out.println("Total messages = " + totalMessages);
                System.out.println("New messages = " + newMessages);
                System.out.println("-------------------------------");
    //Uncomment the below line to print the body of the message. Remember it will eat-up your bandwidth if you have 100's of messages.            //gmail.printAllMessageEnvelopes();
                gmail.printAllMessages();
            } catch(Exception e) {
                e.printStackTrace();
                System.exit(-1);
    END OF PART 1
    PROGRAM 2 - PART 2 - GmailUtilities.java
    //1.Open a new Java class in the project (default package)
    //2.Copy paste the below code
    //3.Compile - Don't execute this[Run]
    import com.sun.mail.pop3.POP3SSLStore;
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Date;
    import java.util.Properties;
    import javax.mail.Address;
    import javax.mail.FetchProfile;
    import javax.mail.Flags;
    import javax.mail.Folder;
    import javax.mail.Message;
    import javax.mail.MessagingException;
    import javax.mail.Multipart;
    import javax.mail.Part;
    import javax.mail.Session;
    import javax.mail.Store;
    import javax.mail.URLName;
    import javax.mail.internet.ContentType;
    import javax.mail.internet.InternetAddress;
    import javax.mail.internet.MimeBodyPart;
    import javax.mail.internet.ParseException;
    public class GmailUtilities {
        private Session session = null;
        private Store store = null;
        private String username, password;
        private Folder folder;
        public GmailUtilities() {
        public void setUserPass(String username, String password) {
            this.username = username;
            this.password = password;
        public void connect() throws Exception {
            String SSL_FACTORY = "javax.net.ssl.SSLSocketFactory";
            Properties pop3Props = new Properties();
            pop3Props.setProperty("mail.pop3.socketFactory.class", SSL_FACTORY);
            pop3Props.setProperty("mail.pop3.socketFactory.fallback", "false");
            pop3Props.setProperty("mail.pop3.port",  "995");
            pop3Props.setProperty("mail.pop3.socketFactory.port", "995");
            URLName url = new URLName("pop3", "pop.gmail.com", 995, "",
                    username, password);
            session = Session.getInstance(pop3Props, null);
            store = new POP3SSLStore(session, url);
            store.connect();
        public void openFolder(String folderName) throws Exception {
            // Open the Folder
            folder = store.getDefaultFolder();
            folder = folder.getFolder(folderName);
            if (folder == null) {
                throw new Exception("Invalid folder");
            // try to open read/write and if that fails try read-only
            try {
                folder.open(Folder.READ_WRITE);
            } catch (MessagingException ex) {
                folder.open(Folder.READ_ONLY);
        public void closeFolder() throws Exception {
            folder.close(false);
        public int getMessageCount() throws Exception {
            return folder.getMessageCount();
        public int getNewMessageCount() throws Exception {
            return folder.getNewMessageCount();
        public void disconnect() throws Exception {
            store.close();
        public void printMessage(int messageNo) throws Exception {
            System.out.println("Getting message number: " + messageNo);
            Message m = null;
            try {
                m = folder.getMessage(messageNo);
                dumpPart(m);
            } catch (IndexOutOfBoundsException iex) {
                System.out.println("Message number out of range");
        public void printAllMessageEnvelopes() throws Exception {
            // Attributes & Flags for all messages ..
            Message[] msgs = folder.getMessages();
            // Use a suitable FetchProfile
            FetchProfile fp = new FetchProfile();
            fp.add(FetchProfile.Item.ENVELOPE);       
            folder.fetch(msgs, fp);
            for (int i = 0; i < msgs.length; i++) {
                System.out.println("--------------------------");
                System.out.println("MESSAGE #" + (i + 1) + ":");
                dumpEnvelope(msgs);
    public void printAllMessages() throws Exception {
    // Attributes & Flags for all messages ..
    Message[] msgs = folder.getMessages();
    // Use a suitable FetchProfile
    FetchProfile fp = new FetchProfile();
    fp.add(FetchProfile.Item.ENVELOPE);
    folder.fetch(msgs, fp);
    for (int i = 0; i < msgs.length; i++) {
    System.out.println("--------------------------");
    System.out.println("MESSAGE #" + (i + 1) + ":");
    dumpPart(msgs[i]);
    public static void dumpPart(Part p) throws Exception {
    if (p instanceof Message)
    dumpEnvelope((Message)p);
    String ct = p.getContentType();
    try {
    pr("CONTENT-TYPE: " + (new ContentType(ct)).toString());
    } catch (ParseException pex) {
    pr("BAD CONTENT-TYPE: " + ct);
    * Using isMimeType to determine the content type avoids
    * fetching the actual content data until we need it.
    if (p.isMimeType("text/plain")) {
    pr("This is plain text");
    pr("---------------------------");
    System.out.println((String)p.getContent());
    } else {
    // just a separator
    pr("---------------------------");
    public static void dumpEnvelope(Message m) throws Exception {       
    pr(" ");
    Address[] a;
    // FROM
    if ((a = m.getFrom()) != null) {
    for (int j = 0; j < a.length; j++)
    pr("FROM: " + a[j].toString());
    // TO
    if ((a = m.getRecipients(Message.RecipientType.TO)) != null) {
    for (int j = 0; j < a.length; j++) {
    pr("TO: " + a[j].toString());
    // SUBJECT
    pr("SUBJECT: " + m.getSubject());
    // DATE
    Date d = m.getSentDate();
    pr("SendDate: " +
    (d != null ? d.toString() : "UNKNOWN"));
    static String indentStr = " ";
    static int level = 0;
    * Print a, possibly indented, string.
    public static void pr(String s) {
    System.out.print(indentStr.substring(0, level * 2));
    System.out.println(s);
    }END OF PART 2
    END OF PROGRAM 2
    P.S: CHECKING !!
    STEP 1.
    First compile and execute the PROGRAM 1 with your USERNAME & PASSWORD. This will send a mail to your own account.
    STEP 2.
    Now compile both PART 1 & PART 2 of PROGRAM 2. Then, execute PART 1 - Main.java. This will retrive the mail sent in step 1. njoy! :)
    In future, I hope this is added to the demo programs of the Java Mail API download package.
    This is for 3 main reasons...
    1. To prevent a lot of silly questions being posted on this forum [like the ones I did :(].
    2. To give the first time Java Mail user with a real time working example without code modification [code has to use command line args like the demo programs - for instant results].
    3. Also, this is what google has to say..
    "The Gmail Team is committed to making sure you always can access your mail. That's why we're offering POP access and auto-forwarding. Both features are free for all Gmail users and we have no plans to charge for them in the future."
    http://mail.google.com/support/bin/answer.py?answer=13295
    I guess bshannon & Java Mail team is hearing this....
    Again, Hurray and thanks for helping me make it!! cheers & no more frowned faces!!
    (: (: (: (: (: GO JCODERS GO!! :) :) :) :) :)
    codeace
    -----                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

    Thanks for the reply,
    I did checked by enabling session debuging and also checked pop settings it's enabled for all
    mails, I tried deleting some very old messages and now the message count is changed to 310.
    This may be the problem with gmail.
    Bellow is the output i got,
    DEBUG: setDebug: JavaMail version 1.4ea
    DEBUG: getProvider() returning javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]
    DEBUG POP3: connecting to host "pop.gmail.com", port 995, isSSL false
    S: +OK Gpop ready for requests from 121.243.255.240 n22pf5432603pof.2
    C: USER [email protected]
    S: +OK send PASS
    C: PASS my_password
    S: +OK Welcome.
    C: STAT
    S: +OK 310 26900234
    Custom output: messageCount : 310
    C: QUIT
    S: +OK Farewell.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Download jar only when it is used

    Hello,
    I have an applet that uses some jar files, is it possible download the jar file only when it is called by the applet?
    Thanks,
    Pati

    If you add an index file in the first jar file on the
    applet's class path, the Java Plug-in downloads jar
    file only when necessary.
    You can find more information at:
    http://java.sun.com/j2se/1.5.0/docs/guide/jar/jar.html#JAR%20Index
    Regards

  • How to distrubute java communication api ?

    hi , I have a java project using java comm api (comm.jar) I need to distrubute it to clients (because it is an applet based app) without any user interactivity.
    First I remember Webstart but somewhere I read some bugs about comm.api and webstart so I want to ask first Is there any people here used to developed and distrubute comm.api before ? What did you used ?
    My clients has no knowledge about computers,so It should be some automatic process.

    What about my suggestion in your original post regarding the same question?
    http://forum.java.sun.com/thread.jsp?thread=412320&forum=31&message=1814508

  • I want to download  Java Speech API jar file  where can I get that ?

    hi All
    i started development on the Java Speech API. so were i can download the jar file and also if any one having the Maven artifact Id / group Id. please post it.it may helpful for me.
    Thanks
    Jega

    Sun has no such API like Java Speech API in their J2SE but there r other third parties api like FreeTTS which can be used
    to code speech apps.
    http://nchc.dl.sourceforge.net/project/freetts/FreeTTS/FreeTTS%201.2.2/freetts-1.2.2-bin.zip

  • Download jar / java class from database

    Hello,
    I have database 10.2.0.3 with one procedure that calls some java class loaded in database. Unfortunately I don't have source code of that java class or whole jar that was loaded into database.
    I would like to download it from database and try to decompile it.
    Can you tell me how can I download some java classes from database?
    Everything I know is only the name of some java class that is used in one PL/SQL procedure (CREATE OR REPLACE PROCEDURE ..... AS LANGUAGE JAVA)
    Thanks for some tips

    Can you tell me how can I download some java classes from database?You can use dbms_java.export_class procedure to export class as blob, then just save the blob to file.

  • Where can i download java speech api?

    Hi All,
    Where can i download java speech api?
    Thanks

    Thanks for the java speech download recommendations. I am going to give it a try on my site.
    [Tony From Sports Betting Picks|http://tonyspicks.com/contact-tony/about/]
    Edited by: tonyt42 on Apr 9, 2009 10:01 PM

  • Download Java 6 API

    Is there a way to download the entire Java 6 API to my computer so that I don't need internet access for it?
    Thanks

    ok, im having problems downloading THIS jre-6u1 i started it the first time but it was so slow i canceled the install, then i tried a second time i get this HTTP STATUS CODE=302 unable to install- Anyone have a solution? I've tried restore, nothing works

  • Download Java 3D API

    Hi,
    From where can i get Java 3D API
    It must provided by oracle only

    Seeing as you abandoned your earlier thread
    How to extends any Exsinting VO
    and didn't bother replying to AJ's helpful response theree, I wish you luck getting more help here.
    db

  • Jnlpdownloadservlet exception downloading jars of a certain size

    Using
    Windows XP
    Weblogic 10.3.2
    Java 1.6.0_17
    An exception occurs when downloading jars for the first time with the jnlpdownloadservlet. It occurs for the two largest jars only.
    from the JnlpDownloadServlet log -
    JnlpDownloadServlet(3): Request: /netintel-client/application/jviewsall.5.0.jar
    JnlpDownloadServlet(3): User-Agent: JNLP/6.0 javaws/1.6.0_17 (b04) Java/1.6.0_17
    JnlpDownloadServlet(3): Resource returned: /application/jviewsall.5.0.jar
    JnlpDownloadServlet(1): Internal error:
    java.net.SocketException: Software caused connection abort: socket write error
         at java.net.SocketOutputStream.socketWrite0(Native Method)
         at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
         at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
         at weblogic.servlet.internal.ChunkOutput.writeChunkNoTransfer(ChunkOutput.java:530)
         at weblogic.servlet.internal.ChunkOutput.writeChunks(ChunkOutput.java:487)
         at weblogic.servlet.internal.ChunkOutput.flush(ChunkOutput.java:382)
         at weblogic.servlet.internal.ChunkOutput$2.checkForFlush(ChunkOutput.java:580)
         at weblogic.servlet.internal.ChunkOutput.write(ChunkOutput.java:306)
         at weblogic.servlet.internal.ChunkOutputWrapper.write(ChunkOutputWrapper.java:150)
         at weblogic.servlet.internal.ServletOutputStreamImpl.write(ServletOutputStreamImpl.java:138)
         at jnlp.sample.servlet.DownloadResponse$FileDownloadResponse.sendRespond(DownloadResponse.java:231)
         at jnlp.sample.servlet.JnlpDownloadServlet.handleRequest(JnlpDownloadServlet.java:178)
         at jnlp.sample.servlet.JnlpDownloadServlet.doGet(JnlpDownloadServlet.java:113)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3594)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    The weblogic log -
    <17-Feb-2010 11:56:43 o'clock GMT> <Error> <HTTP> <BEA-101020> <[ServletContext@27407197[app:network-intell
    ient spec-version:null]] Servlet failed with Exception
    java.lang.IllegalStateException: Response already committed
    at weblogic.servlet.internal.ServletResponseImpl.objectIfCommitted(ServletResponseImpl.java:1591)
    at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:614)
    at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:592)
    at jnlp.sample.servlet.JnlpDownloadServlet.handleRequest(JnlpDownloadServlet.java:191)
    at jnlp.sample.servlet.JnlpDownloadServlet.doGet(JnlpDownloadServlet.java:113)
    Truncated. see log file for complete stacktrace
    JNLP as follows
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="6.0"
    codebase="http://localhost:7001/netintel-client/application"
    href="launch.jnlp">
    <information>
    <title>Oracle Communications Network Intelligence</title>
    <vendor>Oracle Corporation.</vendor>
    <description>Oracle Communications Network Intelligence</description>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.6" href="http://java.sun.com/products/autodl/j2se" java-vm-args="-Xmx1024m -Xverify:none -Xfuture"/>
    <property name="log4j.configuration" value="log4j-modules.properties"/>
    <property name="APP_SERVER_URL" value="http://localhost:7001"/>
    <property name="user.language" value="en"/>
    <property name="user.country" value="ie"/>
    <jar href="NetIntelligence_Help_en.jar"/>
    <jar href="acegi-security-1.1-SNAPSHOT.jar"/>
    <jar href="acegi-security-tiger-1.0.3.jar"/>
    <jar href="aspectjweaver-1.5.2.jar"/>
    <jar href="spring-aspects.jar"/>
    <jar href="spring-modules-validation-0.5.jar"/>
    <jar href="spring.jar"/>
    <jar href="hibernate3.jar"/>
    <jar href="antlr-2.7.6.jar"/>
    <jar href="asm-attrs.jar"/>
    <jar href="asm.jar"/>
    <jar href="cglib-2.1.3.jar"/>
    <jar href="ehcache-1.2.3.jar"/>
    <jar href="jta.jar"/>
    <jar href="dom4j-1.6.1.jar"/>
    <jar href="jcalendar-flib-apache.jar"/>
    <jar href="jhall.jar"/>
    <jar href="joda-time-1.4.jar"/>
    <jar href="commons-attributes-api.jar"/>
    <jar href="commons-attributes-compiler.jar"/>
    <jar href="commons-beanutils.jar"/>
    <jar href="commons-codec-1.3.jar"/>
    <jar href="commons-collections.jar"/>
    <jar href="commons-dbcp.jar"/>
    <jar href="commons-digester.jar"/>
    <jar href="commons-fileupload.jar"/>
    <jar href="commons-httpclient-3.0.1.jar"/>
    <jar href="commons-io-1.3.1.jar"/>
    <jar href="commons-lang.jar"/>
    <jar href="commons-logging-1.1.jar"/>
    <jar href="commons-pool.jar"/>
    <jar href="commons-validator.jar"/>
    <jar href="log4j-1.2.11.jar"/>
    <jar href="binding-1.1.1.jar"/>
    <jar href="forms-1.0.6.jar"/>
    <jar href="looks-2.1.1.jar"/>
    <jar href="xstream-1.2.jar"/>
    <jar href="netsure_ui.jar"/>
    <jar href="netsure_business.jar"/>
    <jar href="netsure_domain.jar"/>
    <jar href="netsure_common.jar"/>
    <jar href="jviewsall.5.0.jar "/>
    <jar href="netsure_modules.jar" main="true"/>
    </resources>
    <application-desc main-class="com.netsure.capman.app.AppMain"/>
    </jnlp>
    jviewsall.5.0.jar is 3830371 bytes
    netsure_modules.jar is 3802341 bytes
    None of the other jars raise this exception
    The next largest jar is 2846594 bytes
    The 2 jars still download ok and there are no apparent problems.
    Has anyone encountered anything similiar ?
    I am aware of an old thread forum http://forums.sun.com/thread.jspa?forumID=38&threadID=183571 concerning the download of updated files . This was last updated in 2007

    Thanks Andrew,
    I updated the invalid syntax identified by both these tools - namely adding an association mime-type jnlp and moving the properies to the bottom of the resources. Unfortunately the same exception occurs.
    This was not an issue using Java 1.5 with weblogic 9.2
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="6.0"
    codebase="http://localhost:7001/netintel-client/application"
    href="launch.jnlp">
    <information>
    <title>Oracle Communications Network Intelligence</title>
    <vendor>Oracle Corporation.</vendor>
    <description>Oracle Communications Network Intelligence</description>
    <association mime-type="application/x-java-jnlp-file" extensions="jnlp"/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.6" href="http://java.sun.com/products/autodl/j2se" java-vm-args="-Xmx1024m -Xverify:none -Xfuture"/>
    <jar href="NetIntelligence_Help_en.jar"/>
    <jar href="acegi-security-1.1-SNAPSHOT.jar"/>
    <jar href="acegi-security-tiger-1.0.3.jar"/>
    <jar href="aspectjweaver-1.5.2.jar"/>
    <jar href="spring-aspects.jar"/>
    <jar href="spring-modules-validation-0.5.jar"/>
    <jar href="spring.jar"/>
    <jar href="hibernate3.jar"/>
    <jar href="antlr-2.7.6.jar"/>
    <jar href="asm-attrs.jar"/>
    <jar href="asm.jar"/>
    <jar href="cglib-2.1.3.jar"/>
    <jar href="ehcache-1.2.3.jar"/>
    <jar href="jta.jar"/>
    <jar href="dom4j-1.6.1.jar"/>
    <jar href="jcalendar-flib-apache.jar"/>
    <jar href="jhall.jar"/>
    <jar href="joda-time-1.4.jar"/>
    <jar href="commons-attributes-api.jar"/>
    <jar href="commons-attributes-compiler.jar"/>
    <jar href="commons-beanutils.jar"/>
    <jar href="commons-codec-1.3.jar"/>
    <jar href="commons-collections.jar"/>
    <jar href="commons-dbcp.jar"/>
    <jar href="commons-digester.jar"/>
    <jar href="commons-fileupload.jar"/>
    <jar href="commons-httpclient-3.0.1.jar"/>
    <jar href="commons-io-1.3.1.jar"/>
    <jar href="commons-lang.jar"/>
    <jar href="commons-logging-1.1.jar"/>
    <jar href="commons-pool.jar"/>
    <jar href="commons-validator.jar"/>
    <jar href="jviewsall.5.0.jar"/>
    <jar href="log4j-1.2.11.jar"/>
    <jar href="binding-1.1.1.jar"/>
    <jar href="forms-1.0.6.jar"/>
    <jar href="looks-2.1.1.jar"/>
    <jar href="xstream-1.2.jar"/>
    <jar href="netsure_ui.jar"/>
    <jar href="netsure_business.jar"/>
    <jar href="netsure_domain.jar"/>
    <jar href="netsure_common.jar"/>
    <jar href="netsure_modules.jar" main="true"/>
    <property name="log4j.configuration" value="log4j-modules.properties"/>
    <property name="APP_SERVER_URL" value="http://localhost:7001"/>
    <property name="user.language" value="en"/>
    <property name="user.country" value="ie"/>
    </resources>
    <application-desc main-class="com.netsure.capman.app.AppMain"/>
    </jnlp>

  • New Java mail API

    hi!
    i have downlowded Java mail API from sun site.how to proceed now.I have already installed JDK on my machine.

    Read the information that comes with it.
    Put mail.jar in your classpath.
    Put the other jar file in your classpath, too, the one that the information says that you also have to download.
    Start writing programs.

  • Java comm api in 64-bit Linux

    I apologise if this is off-topic. I can't find a suitable forum, I tried posting in the Java plugin forum, but no luck there. I would appreciate any ideas to find a solution.
    I am trying to use the java comm api to read and write to the serial port but I am getting the following error:
    Error loading LinuxSerialParallel: java.lang.UnsatisfiedLinkError: /usr/lib64/libLinuxSerialParallel.so: Can't load IA 32-bit .so on a AMD 64-bit platform
    I am using openSUSE 10.2 (X86-64) which uses Linux 2.6.18.2-34-default x86_64.
    I tried Switching to a 32-bit version of java (1.4.2) from within Eclipse and I always run Eclipse in 32-bit java (/usr/share/eclipse/eclipse -vm /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/bin/java) but I still get this error.
    Is there anything I can do to get the java comm api working on a 64-bit system?
    Is the java comm api still being developed and maintained? It does not look like it is?
    I've done some searching on the web and I find there is an open source version of the java comm api called RXTX but the website at http://www.rxtx.org/ is not very readable. I don't think I know enough to install this on my system.
    I would appreciate any ideas to get this working.
    Thanks,
    Martin

    I'm stuck again so I would appreciate some more help.
    I've managed to install the Sun 1.6 JDK and configure
    and make rxtx.Any small amount of progress is still progress. :)
    >
    But it still does not work, I get the following error
    when I run the SerialDemo:<snip>
    >
    It seems to be com.sun.comm which is not finding its
    native binary not rxtx! No, it's finding the shared library, unless there are a few more lines at the start of your error message that look like this:
    Error loading LinuxSerialParallel: java.lang.UnsatisfiedLinkError:
    no LinuxSerialParallel in java.library.pathIt's not finding the function it is looking for in that library.
    This is what confuses me, the
    instructions say install the Solaris version of comm
    api (http://www.rxtx.org/ how-to said Solaris Sparc
    and the rxtx INSTALL file said Solaris x86 so I tried
    both in turn and neither worked) Same here after downloading the latest stuff to my x86 Linux box. I received a similar UnsatisfiedLinkError. I checked the shared libraries and the functions were not in it.
    normally these would
    call the Solaris binary drivers but I assume this has
    to be redirected to rxtx which calls its own
    binaries?Yes. There is a part of RXTX called JCL (Java Comm for Linux) that handles that.
    http://www.geeksville.com/~kevinh/linuxcomm.html
    However, I think the problem is that Sun's API has changed since the RXTX How-To was written. Try downloading the 'comm.jar' at the bottom of the page. It says:
    comm.jar, 2.0.3, generic, English (3rd party backward compatibility, only), EnglishUnzip it and copy the comm.jar file to the 'jre/lib/ext' folder of the JDK/JVM where everything else RXTX created was placed.
    After doing this the SerialDemo app started for me without errors.
    Jim S.

  • Need to download JAR files from more than ONE HTTP-server ?

    Hello,
    We have a need to download JAR files for an application, from more than ONE HTTP-server, i.e. any specified HTTP-server in an extremely secure network.
    Does a solution exist for this requirement ? Is it possible to design a solution our selfes for this problem ?
    Best Regards
    Peter

    We have a need to download JAR files for an
    application, from more than ONE
    HTTP-server, That can be done using the extension element
    from within the resources element of the main JNLP.
    http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/syntax.html#resources
    The extension element should refer to another JNLP
    (on the other site) that refers to the Jars. The jar files
    in any such (foreign) JNLP need to be signed, and the
    JNLP files should declare itself as a <component-desc>.
    For any level of detail on using extensions/components,
    download the spec. mentioned in the second paragraph
    of that section linked above. Unfortunately I can find no
    web browsable form of the information.
    Here is an example though..
    http://www.javasaver.com/testjs/jws/04/glclock.jnlp
    This (sandboxed) screenaver demo comes off my
    javasaver site. It refers to the JOGL API via an
    extension element in the JNLP, that points directly
    to the JOGL site. You might notice the security
    warning that is produced mentions..
    Name:      JOGL
    Publisher: sun microsystems, inc
    Source:    https://jogl.dev.java.net
    ..i.e. any specified HTTP-server in an
    extremely secure network. I do not know about an extremely secure network,
    but if it is OK to launch a normal JNLP for an
    application with a 'main()' from the server, I guess
    it should be OK to launch extensions off it - you
    might need to set up some tests.

Maybe you are looking for