Hello guys i need desperate help! XML/Java

Its for my final year project...
Basically i have an XML file, for example something like this:
<file>
<name>abc</name>
<phone>12345</phone>
</file>
I know how to read the file by elements (I'm using XMLLight) but now what I need to do is to modify the file without rewriting it from scratch. Say for example I want to change the "name" value in the file. How could I do it? Any code example would be most useful!!
cheers peeps

say u have an instance of Document document( assuming DOM API).
and in your xml file the elementb4 which u want to insert the new value is
<element-insert-before-me/>
then u look for this element, something like this
Element el = document.getElementById("element-insert-before-me");
and then perform the changes

Similar Messages

  • I need desperate help with Itunes for the SLVR

    I have a set playlist for Itunes to take songs from and put onto my phone when it is connected. That playlist has 56 songs, but when I click autofill, it only puts 31 songs down. As I add more songs to the playlist however, it only takes certain ones. For example, for every 7 songs I download into the playlist, it only takes 2 or 3. The phone has tons of space but I don't know, need desperate help, thanks in advance.

    i know i have the same problem the only one thing i have noticed that is consistant along with this problem is that songs that will not go on it are all of them have a higher bit rate than songs that do go on the phone but thats the only real thing i can notice so if someone can show me how to lower the bit rate if its possible that might be the miracle cure

  • Hello plz i need yours help i have problem with my i cloud back up when i restore old back up t

    hello >> plz i need yours help i have problem with my i cloud back up when i restore old back up my problem exact with contact cause it disappears from contact list

    iPhone: Transferring information from your current iPhone to a new iPhone

  • Need some help on JAVA CHAT SERVER

    i need some info about java chat server. Please any one who have developed give me the details about the logic and process flow.

    Have you read any of these?
    http://search.java.sun.com/search/java/index.jsp?qp=&nh=10&qt=%2B%22chat+server%22&col=javaforums

  • Need some help on JAVA COMM API's

    Hi all,
    I am working on Java for first time,,and I am working on serial interface ,I need some documentation of JAVA COMM API's ,Please forward some links

    Have you read any of these?
    http://search.java.sun.com/search/java/index.jsp?qp=&nh=10&qt=%2B%22chat+server%22&col=javaforums

  • Guys I need some help. String token of a wired message

    well this is my code.
    code:
    import java.*;import java.util.StringTokenizer;import java.io.*; class stringtoken {         public static void main(String[] args) {         Runnable daemonRunner = new Runnable()        {                public void run()                        {                         while (true)                                {                    String red, green, blue, yellow, brown, v6, v7;                                        int ali=42;                                         String origtext = "accaa*b*dzddsf*,.sfsdf,a.a/.d,asd.,fa.a/.,/.**asdasdaadf";                                        StringTokenizer st = new StringTokenizer(origtext,"*");                                        try {                                        red = (String)("a" + st.nextToken());                                         green = (String)(st.nextToken());                                        blue = (String)(st.nextToken());                                        yellow = (String)(st.nextToken());                                        brown = (String)(st.nextToken());                                         System.out.println("Red : " + red);                                        System.out.println("Green : "+ green);                                        System.out.println("Red : " + blue);                                        System.out.println("Green : "+ yellow);                                        System.out.println("Blue : " + brown);                                        /////////////////////////////////[shaded section]/////////////////// String red1,red2;int ie=41; String aChar1 = new Character((char)ie).toString(); System.out.println("From above : Red" + red + " *** Will token -> " + aChar1); StringTokenizer st1 = new StringTokenizer(red, ")"); try {                                                red1 = (String)("After splitting 1 :" + st.nextToken());                                                red2 = (String)("After splitting 2 :" + st.nextToken());                                                System.out.println("Output : " + red1 + "&" + red2 );                                                        } catch (Exception ignored) { // (ERROR STATE) could not parse it                                                        } ////////////////////////////////[end of shaded section]/////////////////// int a = 0x41;int i=65; String aChar = new Character((char)i).toString(); System.out.println("Ending : " + aChar); } catch (Exception ignored) { // (ERROR STATE) could not parse it                                        } try {                                                Thread.sleep(1500);                                        } catch (InterruptedException ignored ) {                                        } } } }; Thread daemonThread = new Thread(daemonRunner); daemonThread.setDaemon(false); daemonThread.start(); try {                Thread.sleep(1000);                } catch (InterruptedException ignored) {                } } }
    let me explain a lil. The program is actually a daemon. It works fine. In the body run, that's the thingy which did string token. It works fine. But
    i am creating something that will split (1a) into 2 piece, and another will spilt the other piece.
    The senario, the daemon will receive a string, like "*abcde,1,2,3,hello%"
    where * = STX (ASCII 02) and % ETX (ASCII 03)
    the first loop will eliminate the STX, then seggregate the text to a loop, for example a=abcde, b=1, c=3, d=hello%.
    *what i managed to do is only string token the normal characters, not the ASCII characters 
    then the final loop will grab strtoken the % char.
    i have been trying tht for 1 whole days.. n e ideas guys ?
    thanks in advance.
    you could also post the edited text to [email protected]

    I have solve the problem. Thanks guys!
    import java.*;
    import java.util.StringTokenizer;
    import java.io.*;
    class stringtoken1 {
    public static void main(String[] args) {
         Runnable daemonRunner = new Runnable() {
              public void run() {
                        while (true) {
                        int STX=2, ETX=3, comma=44;
                        String stx = new Character((char)STX).toString();
                        String etx = new Character((char)ETX).toString();
                        String flag= null;
                        String ID= null;
                        String date= null;
                        String location= null;
                        String mobile= null;
                        String outtouser= null;
                        String message1=null;
                        String message2=null;
                        String origtext = stx+"1,001,17062005 16:16:16,Rawang, Telekom, Please stand by "+etx;
                        //System.out.println(origtext);
                                            String throwstx = new Character((char)STX).toString();
                                            StringTokenizer stxthrow1 = new StringTokenizer(origtext, throwstx);
                                            try {
                                                  message1 = (String)(stxthrow1.nextToken());
                                            catch (Exception ignoredthrowstx) {System.out.println(ignoredthrowstx);}
                                            String throwetx = new Character((char)ETX).toString();
                                            StringTokenizer etxthrow = new StringTokenizer(message1, throwetx);
                                            try {
                                                       message2 = (String)(etxthrow.nextToken());
                                            catch (Exception ignoredthrowstx) {System.out.println(ignoredthrowstx);}
                                            String chomma = new Character((char)comma).toString();
                                            StringTokenizer st = new StringTokenizer(message2,chomma);
                                            try {
                                                      flag = (String)(st.nextToken());
                                                      ID = (String)(st.nextToken());
                                                      date = (String)(st.nextToken());
                                                      location = (String)(st.nextToken());
                                                      mobile = (String)(st.nextToken());
                                                      outtouser = (String)(st.nextToken());
                                            catch (Exception ignoredcomma) {System.out.println(ignoredcomma);}
                                            System.out.println("Original Message : " + origtext);
                                            System.out.println("After STX : " + message1);
                                            System.out.println("After ETX : " + message2);
                                            System.out.println("Filtering");
                                            System.out.println("flag : " + flag);
                                            System.out.println("id : "+ ID);
                                            System.out.println("date : " + date);
                                            System.out.println("location : "+ location);
                                            System.out.println("mobile : " + mobile);
                                            System.out.println("message : " + outtouser);
                             try {
                              Thread.sleep(3000);
                              catch (InterruptedException ignored ) { }
    Thread daemonThread = new Thread(daemonRunner); daemonThread.setDaemon(false);
    daemonThread.start();
    try { Thread.sleep(1000);}
    catch (InterruptedException ignored){ }
    }for others guys as well :)

  • Urgent - Need an answer - XML Java API

    This is the 3rd time I've posted this question in last week - Oracle Support: How can I get an answer to this?
    This question is about how to free up the memory of XMLDocuments, Parsers, etc using the Java APIs - not the PLSQL wrappers.
    I'm writing an app using the DocumentSplitter class (from Steve M.'s book) that allows for the SAX parsing of large XML documents. But this question is really about the Oracle Java XML API.
    Is there a way to free the memory of each of the "temporary" XMLDocuments that get created? I know there's a XMLNodeCover.freeDocument(int id)
    method in the xmlplsql.jar- where do you get the id from? I'm trying XMLNodeCover.getDocumentId(curDoc) - but that doesn't seem to work.
    And can I use that same method for each Node and Element that gets created also?
    Also, would like to free the memory for the XSL processor, SAXParser, and XSLStylesheet - but this is even less obvious (although not as critical).
    I'm actually getting out-of-memory errors even sooner when using the SAX parser then when using the DOM parser, and I think its due to this issue.
    I know that there are PL/SQL wrappers for all these, but I'm trying to use the DocumentSplitter and associated custom classes
    in only Java stored procs, and then writing a single XSLT.transform wrapper. This way its largely invisible to the PLSQL layer.
    Thanks

    Hi - thanks for your response.
    Actually, yes, I did change the split method to return a CLOB. The big picture is I'm trying to use the DocumentSplitter
    class to assist in the transformation of large XML documents to html or tab-delimited output. Using the standard DOM parser,
    I eventually get an out-of-memory situation. So now I'm trying the DocumentSplitter to do a "mini" XSL transform on each <ROW>.
    The good news is it works for small to medium size reports. But its slower and runs out of memory quicker.
    Below is some of the relevant code. I also wrote associated classes to wrap the DocumentSplitter and to be the 'handler' that transfoms the XML when a <ROW> is found, and returns a string (see 'endElement' method below).
    I'm freeing the CLOBS in PLSQL after reading them - do I need to free them from JVM memory seprately? If so, how can I do that if I need to pass them to PLSQL?
    Thanks much,
    Eric
    // Split a large XML document into N subdocuments, each one identified
    // by the an opening 'splitElement' element. Invoke an XMLDocumentHandler
    // to process each subdocument encountered.
    public CLOB split(String splitElement, CLOB inputCLOB, CLOB outputCLOB)
    throws Exception, SAXParseException,SAXException,IOException, SQLException {
    this.inputCLOB = inputCLOB;
    this.outputCLOB = outputCLOB;
    this.splitOnElement = splitElement;
    // Create a new SAXParser
    SAXParser parser = new SAXParser();
    // Register the current instance of this class as the Document Handler
    parser.setDocumentHandler(this);
    // Create ascii stream from CLOB source
    InputStream inputStream = inputCLOB.getAsciiStream();
    // Start parsing the stream of XML
    parser.parse(inputStream);
    Writer out = this.outputCLOB.getCharacterOutputStream();
    // Set buffer to be the optimal size
    int chunk = outputCLOB.getChunkSize();
    char[] buffer = new char[chunk];
    // Create a reader from the output string
    StringReader reader = new StringReader(this.outputString);
    int length = -1;
    // Now write from output string to output CLOB
    while ((length = reader.read(buffer)) != -1) {
    out.write(buffer, 0, length);
    // Close streams
    reader.close();
    out.close();
    inputStream.close();
    return outputCLOB;
    portion of endElement method:
    // Handle the </Element> "end-element" parsing event
    public void endElement(String name) throws SAXException {
    // If we're NOT building a subdocument, we don't care. Just return.
    if (curDoc == null) return;
    // If this is the endElement event for the subdocument splitElement
    // then we're done with the subdocument and are ready to call the
    // handler to handle it.
    if (name.equals(splitOnElement)) {
    if (curDoc != null) {
    try {
    // Call the XMLDocumentHandler.handle() method for current subdoc
    //Append the output to the growing output string
    if (this.outputString == null) {
    this.outputString = handler.handleDocument(curDoc);
    } else {
    this.outputString = this.outputString + handler.handleDocument(curDoc);
    catch (Exception e) {
    System.out.println(e.getMessage());
    e.printStackTrace();
    }

  • I need desperate help

    Hi guys
    I don't know what settings I pressed
    but now when I want to log in to my MacBook, it tells me I have to type my username and password.
    My username has an emoji on it and I cannot type it at all!!!
    So I can't access my MacBook. any idea how I can reboot the whole Mac or how I can get into my Mac????
    PLEASE HELP!

    If you still have problems you may need to reset the admin password:
    http://osxdaily.com/2011/08/24/reset-mac-os-x-10-7-lion-password/

  • Urgent help(xml, java and  asp)

    Hi all,
    I,m new with XML and i have to convert a VB application that connects to an ASP using Microsoft XML and I need to know if I can connect from a java application to an ASP using XML for transfering the infornation.
    In the ASP side it uses DOM, and I would like not to touch the ASP and create a new application with java and get rid of the VB application

    DrClap what I have in the VB side is this:
    Private Function SetBalanceForReal(Amount As Currency, Action As String) As Boolean
    On Error GoTo ehSetBalance
    Dim ohttp As New MSXML.XMLHTTPRequest
    Dim oResponseXML As New MSXML.DOMDocument
    Dim oDoc As New MSXML.XMLDSOControl
    Dim oElement As MSXML.IXMLDOMElement
    Dim oNode As MSXML.IXMLDOMNode
    ohttp.open "POST", ServerUrl & "ActualizaBalance.asp", False
    Set oElement = oDoc.XMLDocument.createElement("ActualizaBalance")
    Set oNode = oElement.appendChild(oDoc.XMLDocument.createNode(1, "Client", ""))
    Set oNode = oElement.appendChild(oDoc.XMLDocument.createNode(1, "Action", ""))
    Set oNode = oElement.appendChild(oDoc.XMLDocument.createNode(1, "Amount", ""))
    oElement.childNodes.Item(0).Text = Trim(ClientLogin)
    oElement.childNodes.Item(1).Text = Action
    oElement.childNodes.Item(2).Text = Amount
    ohttp.send (oElement.xml)
    oResponseXML.loadXML (ohttp.responseText)
    If oResponseXML.documentElement.childNodes.Item(1).Text = "OK" Then
    Available = oResponseXML.documentElement.childNodes.Item(0).Text
    Else
    Available = 0
    End If
    Set ohttp = Nothing
    Set oResponseXML = Nothing
    Set oDoc = Nothing
    Set oElement = Nothing
    Set oNode = Nothing
    SetBalanceForReal = True
    Exit Function
    ehSetBalance:
    Set oNode = Nothing
    Set oElement = Nothing
    Set oDoc = Nothing
    Set oResponseXML = Nothing
    Set ohttp = Nothing
    Available = 0
    SetBalanceForReal = False
    End Function
    Public Function GetConsecutive(Game As String) As Boolean
    On Error GoTo ehGetConsecutive
    Dim ohttp As New MSXML.XMLHTTPRequest
    Dim oResponseXML As New MSXML.DOMDocument
    Dim oDoc As New MSXML.XMLDSOControl
    Dim oElement As MSXML.IXMLDOMElement
    Dim oNode As MSXML.IXMLDOMNode
    ohttp.open "POST", ServerUrl & "ObtieneConsecutivo.asp", False
    Set oElement = oDoc.XMLDocument.createElement("ObtieneConsecutivo")
    Set oNode = oElement.appendChild(oDoc.XMLDocument.createNode(1, "Game", ""))
    oElement.childNodes.Item(0).Text = Game
    ohttp.send (oElement.xml)
    oResponseXML.loadXML (ohttp.responseText)
    Consecutive = oResponseXML.documentElement.childNodes.Item(0).Text
    Set ohttp = Nothing
    Set oResponseXML = Nothing
    Set oDoc = Nothing
    Set oElement = Nothing
    Set oNode = Nothing
    GetConsecutive = True
    Exit Function
    ehGetConsecutive:
    Set oNode = Nothing
    Set oElement = Nothing
    Set oDoc = Nothing
    Set oResponseXML = Nothing
    Set ohttp = Nothing
    Consecutive = 0
    GetConsecutive = False
    End Function
    and the ASP code is this:
    <%@LANGUAGE=VBScript%>
    <%
         'Variables Simples
         Dim Cliente
         Dim Accion
         Dim Monto
         'Variables Complejas
         Dim oClienteBD
         Dim oClienteInfoXML
         Dim oDoc
         Dim oElemento
         Dim oNode
         'Inicializacion de Variables Complejas
         Set oClienteBD = Server.CreateObject("Casino_Clases.CClient")
         Set oClientInfoXML = Server.CreateObject("MSXML.DOMDocument")
         Set oDoc          = Server.CreateObject("MSXML2.DSOControl")
         oClientInfoXML.async=false     
         oClientInfoXML.load(Request)
         Cliente = oClientInfoXML.documentElement.childNodes.item(0).text
         Accion = oClientInfoXML.documentElement.childNodes.item(1).text
         Monto = oClientInfoXML.documentElement.childNodes.item(2).text
         Set oElemento = oDoc.XMLDocument.createElement("Resultado")
         Set oNode = oElemento.appendChild(oDoc.XMLDocument.createNode(1, "AVAILABLE",""))     
         Set oNode = oElemento.appendChild(oDoc.XMLDocument.createNode(1, "ESTADO",""))
         If oClienteBD.UpdateBalance(Cliente, Accion, Monto) = True Then
              If oClienteBD.GetClientBalance(Cliente) = True Then
                   oElemento.childNodes.Item(0).Text = oClienteBD.Available
                   oElemento.childNodes.Item(1).Text = "OK"
              else
                   oElemento.childNodes.Item(0).Text = 0
                   oElemento.childNodes.Item(1).Text = "BAD"
              end If
         else
              oElemento.childNodes.Item(0).Text = 0
              oElemento.childNodes.Item(1).Text = "BAD"
         end If
         Response.Write(oElemento.xml)
         Set oClientInfoXML = Nothing
         Set oDoc = Nothing
         Set oClienteBD = Nothing
         Set oNode          = Nothing
         Set oElemento     = Nothing
    %>
    What I need to do is to change the VB part for a Java application and basicly, I don't know what Class of Java I have to use to connect to the ASP.
    If you were so kind of giving me an example to do this I will appreciate it.
    Ocorella

  • Need some help with java documents if possible

    Hello all,
    I am trying to decompile .class files ok, i decompile it without any problems but when i open the java source i see weird string codes, and its not readable for the human, i tried lot of decompiling softwares but no software can make the file readable this is the problem that i have:
    // Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
    // Jad home page: http://www.kpdus.com/jad.html
    // Decompiler options: packimports(3)
    // Source File Name:   b.java
    package com.pimpernel.a.a.a;
    import com.pimpernel.chatpointclassic.client.a.e;
    import java.io.DataOutputStream;
    import java.io.PrintStream;
    import java.util.*;
    // Referenced classes of package com.pimpernel.a.a.a:
    //            a, e
    public class b
        implements Runnable
        b(a a1, a a2, DataOutputStream dataoutputstream, com.pimpernel.a.a.a.e e1)
            a = a1;
            b = 2000;
            c = 50;
            d = 4;
            o = -1L;
            e = a2;
            f = dataoutputstream;
            g = e1;
            j = new Vector();
            h = c;
        b(a a1, a a2, DataOutputStream dataoutputstream, com.pimpernel.a.a.a.e e1, Properties properties)
            int i1 = a.ev;
            super();
            a = a1;
            b = 2000;
            c = 50;
            d = 4;
            o = -1L;
            b = a(properties, c("-!\001\025R-:\006\024Y\035+\001\037f;+\032\036d\"+\n\013C'#\n6V6"), 20000);
            c = a(properties, c("-!\001\025R-:\006\024Y\035+\001\037f;+\032\036d\"+\n\013C'#\n6^ "), 50);
            d = a(properties, c("-!\001\025R-:\006\024Y\035+\001\037f;+\032\036z' <\036Y*\037\032\036B+\f\n\035X<+?\tX-+\034\b^ )"), 4);
            e = a2;
            f = dataoutputstream;
            g = e1;
            j = new Vector();
            h = c;
            if(e.i != 0)
                a.ev = ++i1;
        public int a(Properties properties, String s, int i1)
            try
                return Integer.parseInt(properties.getProperty(s));
            catch(Exception _ex)
                return i1;
        public void a()
            c();
            j.removeAllElements();
            f = null;
            j = null;
        public void b()
            if(i == null)
                k = System.currentTimeMillis();
                m = 0;
                n = 0;
                i = new Thread(this, c("\007\034,(R *>\016R;+"));
                i.start();
        public void c()
            if(i != null)
                i.stop();
                i = null;
        public void a(String s)
            j.insertElementAt(s, 0);
        public void b(String s)
            a(s.length());
            if((com.pimpernel.a.a.a.a.b(a) & 0x10) == 16)
                System.out.println(c("\036<\006\024E':\026[z+=\034\032P+n<\036Y*tO") + s);
            o = 0L;
            try
                if(f != null)
                    synchronized(f)
                        f.writeBytes(s + c("CD"));
                        f.flush();
            catch(Exception exception)
                if(e.eo)
                    if((com.pimpernel.a.a.a.a.b(a) & 1) == 1)
                        System.out.println(c("\0136\f\036G:'\000\025\027' O\bR *>\016R;+U[") + exception);
                    try
                        com.pimpernel.a.a.a.a.c(e);
                    catch(Exception _ex) { }
        public void a(int i1)
            if((com.pimpernel.a.a.a.a.b(a) & 4) == 4)
                m++;
                n += i1;
                l = System.currentTimeMillis();
                if(l - k > 10000L)
                    long l1 = l - k;
                    k = l;
                    if(com.pimpernel.a.a.a.a.a(a) == null)
                        com.pimpernel.a.a.a.a.a(a, new Date());
                    com.pimpernel.a.a.a.a.a(a).setTime(l);
                    System.out.println(c("ccB") + com.pimpernel.a.a.a.a.a(a).toString() + c("ccB"));
                    System.out.println(c("\001;\033\034X' \b[z=)OT\027=+\f[\nn") + (long)m / (l1 / 1000L));
                    System.out.println(c("\001;\033\034X' \b[u7:\n\b\027an\034\036TnsO") + (long)n / (l1 / 1000L));
                    m = 0;
                    n = 0;
        public void run()
            int i1;
            i1 = a.ev;
            o = 0L;
            if(i1 == 0) goto _L2; else goto _L1
    _L1:
            try
                Thread.sleep(h);
            catch(Exception _ex) { }
            o += h;
            j.size();
            d;
    _L9:
            JVM INSTR icmple 73;
               goto _L3 _L4
    _L3:
            if(g != null)
                g.a(j);
    _L4:
            if(j.isEmpty()) goto _L6; else goto _L5
    _L5:
            String s = (String)j.lastElement();
            a(s.length());
            if((com.pimpernel.a.a.a.a.b(a) & 8) == 8)
                System.out.println(c("\037;\n\016Rn=\006\001RnsO") + (j.size() - 1) + c("n\035\n\025Stn") + s);
            synchronized(f)
                f.writeBytes(s + c("CD"));
                f.flush();
            o = 0L;
            j.removeElement(j.lastElement());
            h = h << 1;
            if(i1 == 0) goto _L7; else goto _L6
    _L6:
            h = h >> 1;
    _L7:
            if(h > b)
                h = c;
            if(h < c)
                h = c;
            if(e.ed && o >= 10000L)
                a(c("\036\007!<\027="));
                o = 0L;
            continue; /* Loop/switch isn't completed */
            Exception exception;
            exception;
            if(!e.eo)
                continue; /* Loop/switch isn't completed */
            com.pimpernel.a.a.a.a.b(a) & 1;
            1;
            if(i1 != 0) goto _L9; else goto _L8
    _L8:
            JVM INSTR icmpne 387;
               goto _L10 _L11
    _L10:
            break MISSING_BLOCK_LABEL_362;
    _L11:
            break MISSING_BLOCK_LABEL_387;
            System.out.println(c("\0136\f\036G:'\000\025\027' O\bR *>\016R;+U[") + exception);
            try
                com.pimpernel.a.a.a.a.c(e);
            catch(Exception _ex) { }
    _L2:
            if(e.eo) goto _L1; else goto _L12
    _L12:
        private static String c(String s)
            char ac[] = s.toCharArray();
            int i1 = ac.length;
            int k1;
            for(int j1 = 0; j1 < i1; j1++)
                switch(j1 % 5)
                case 0: // '\0'
                    k1 = 0x4e;
                    break;
                case 1: // '\001'
                    k1 = 78;
                    break;
                case 2: // '\002'
                    k1 = 111;
                    break;
                case 3: // '\003'
                    k1 = 123;
                    break;
                default:
                    k1 = 55;
                    break;
                ac[j1] ^= k1;
            return new String(ac);
        a a;
        private int b;
        private int c;
        private int d;
        private a e;
        private DataOutputStream f;
        private com.pimpernel.a.a.a.e g;
        private int h;
        private Thread i;
        private Vector j;
        private long k;
        private long l;
        private int m;
        private int n;
        private long o;
        private final int p = 10000;
    }can some body help me and tell me how i can read that strange codes:
    System.out.println(c("\037;\n\016Rn=\006\001RnsO")
    :S?
    i am sorry because i am on the wrong forum.
    i hope someone can help me.
    Sorry for my bad english!
    Greetings,
    Nino_M

    This forum is for Sun Java Studio Creator questions.

  • Newbie needs general help w/Java Updating

    Hi,
    I don't use Java (as far as I know) too often, but right now I've got Java 5_6 update on my computer. I've been told that's unstable and I should update to Java 6. I was also told I should remove 5_6 Update with add/remove programs before doing so. I was also told I should remove the three Java "objects" in the Downloaded Program Files Folder before doing so (which is an IE thing, right?). But I was also told to go and download Java 6 directly from the Sun site and install, but I'm not sure if that's necessary or the way I want to do it, because I have the option to check for updates in the Java Control Panel that comes up when I double click the Java icon in my Control Panel folder.
    Questions:
    1. The three java objects in the downloaded objects folder are in a folder that's part of IE, is that right? I don't use IE (except for Windows Updates), I use Firefox. So where are the objects kept for Firefox?
    2. Do I really need to also remove these objects in addition to add/removing 5_6 Update? If so, for both IE and Firefox?
    3. When I go to my Control Panel, there is an icon for JAVA. When I double-click this icon, a JAVA CONTROL PANEL opens up. If I remove 5_6 Update and those objects, will that also remove this control panel? The control panel was part of my system when I got my laptop.
    4. If the Java Control Panel is retained, then why can't I just go to the second tab which is for Updates, choose "Update Now" and get the Java 6 update that way? (And this would be AFTER I remove 5_6 -- and any objects, IF that's necessary.)
    It's my hope that I can just update to Java 6 (after removing the 5_6 update and objects, if necessary) by using the update feature in the Java Control Panel instead of downloading Java 6 from the Sun site. If this is not a good idea, I would like to understand why.
    Any help is appreciated -- thanks!

    Thanks for the post. So J2SE Runtime Environment 5.0
    Update 6 (which is apparently what I have now) is
    stable
    It's reasonably stable. There are bugs in it, of course. There are always bugs in software. Unless you're having problems with them, however, you don't automatically need to update.
    The list of changes between that release of Java 5 and the latest (1.5.11 at the time of writing) is given here:
    http://java.sun.com/j2se/1.5.0/ReleaseNotes.html
    , and it's false that it has security
    holes that can be exploitedThat's a completely different question. I can't promise you that there are no security flaws that have been fixed since that particular update. However, unless you're running a server or downloading applets or otherwise running in a security constrained environment there's not much point in worrying about it. Again, if there is a specific reason for you to worry check the bugs and enhancement lists here to see if your concerns are addressed:
    http://java.sun.com/javase/6/webnotes/index.html
    Either way you don't update just because someone says you should unless you have reason to believe they know what they're talking about. I suggest you ask your original source to explain why they think you should upgrade and to provide you with the evidence to back up their assertions.

  • Hello guys can u please help me about my problem?

    Hi guys.. my name is john david vista from cavite and i want to know whats the real cost to my iPhone4 white 16GB globe locked. i try to ask 4 technician 1st thech said.. POWER IC? they tryed to put diffrent battery and charging pin.. and the 2nd tech said the same way.. and do the same way again.. and then the 3rd tech is my friend and i ask him and he said the same way he check the battery and charging pin again.. then suddenly while he's checking my phone, its appear an apple icon like you turned on the cp.. and he said POWER IC then 4th tech from grinhills shopping centre virra mall.. he said we need to rebulls?? my iphone to check the board.. he said the damage is not? POWER IC ? because he saw an charger icon? like if you're low battery .. he said he will try to rebulls but the time is short to do it . im tired going to somewhere just to open my phone please help me i want to fix my phone ? and how much the board? if ill buy? and how much the power ic prize when i go to tech and to repair my phone please help me pls guys!! im super tired i dont have much money because this iphone only gift to me and dont have warranty anymore give me feed back please!

    If I understand you correctly ,you have had various people Who are not Apple Emplyees poking around in your iPhone
    Apple does not repair iPhones they exchange them so if you have had the iPhone 4 tampered with by unauthorised technicians ,Apple will NOT assist you in any way with that iPhone

  • I need some help, because JAVA don´t work in browser after update 7u51 for 64bits.

    ... I don´t get more some sites that need to use JAVA to work.
    I tried several options, but I didn´t get!!!
    Java after update, it doesn´t want to work, the browser (Chrome, Firefox, Safari and Exporer) don´t get to find update and I don´t understand what i have to do.
    ps.; so sorry if my english isn´t  good, but I tried. ...
    Thanks!
    Andryea

    A probable quick fix is available via the "Exception Site List" instructions here - Java™ SE Development Kit 7 Update 51 Release Notes
    Long term, however, this is a security risk and recommended security policies should be adhered to
    HTH
    Srini

  • HT201209 Hey guy I need to help please set balance my app id = 0

    I need to change location my id but I can't make because I have  point
    In store please help me set my point app id to null thk
    <Subject Edited by Host>

    You will need to Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • Alright guys I need some help here with itunes and my music files

         Basically, I've had two apple accounts in the past like 4 years.  One day I connect my Ipod touch to my computer and downloaded an update from Itunes, not knowing that it erases all your content.  I didnt have my music files backed up either, so I ended up losing over $300 worth of music and apps.  Ever since then I never updated my touch, from the fear of losing my music.  Now that I have my own apple account, I have music files from the first account and my account.  My question is how can I back both of these groups of files up and update my ipod without losing any of this content!?  I would really appreciate a step by step process etc.  Thanks guys for helping me out!
    -Colin Wagner

    You can always redownload iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    You can transfer iTunes purchases to your computer by:
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer

Maybe you are looking for

  • Flex 3 Beta 2 Socket question

    Hi, Last night I spent about 3 hours looking for problem which came up for me yesterday. Before I'll get back to writing sample app which tell me if there is a problem in my code I will ask if anyone has noticed this behaviour. I'm connecting to c# s

  • Having a problem using Workflow to update a field based on ZIP code

    I created a Workflow to update a Yes/No picklist called eligibility based on a Text (Short) field called Applicant ZIP code. It's set to update on the Opportunity page: Before modified record saved And the value function is: IIf(InStr("60601_60602",[

  • [SOLVED] Networking question.

    OK so I've got arch up and running (with a GUI even), however, there seems to be a small problem with connecting to the internet. I've checked the wiki, and basically it says to add eth0 to interface in the rc.conf file, and leave others blank, and I

  • Process Flow Transitions are very slow

    I have a process flow with few activities. All these acttivities are executing some PL/SQL procedures. But I have noticed, when I ran the procedd flow it takes more than 5 minutes for eaqch transition. For a example I have two activities called Start

  • Recovery in archive mode, but no archived logs

    Hi, I hope someone can help me with the following question. I have a 9.2 database in archive mode. Suppose on t=t0 I make an online backup. At the end of this run, I will do an "alter system switch logfile" statement to capture the latest transaction