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

Similar Messages

  • 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

  • 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

  • Need some help with a file server!

    Hi,
    I'm wanting to get a mac mini or the mac mini server (whichever is needed) and connect all of my random external drives i have lying about to it. Basically, i'm wanting to set up a mini file server that i can access from anywhere in the world. I have enough space with the external drives to store my music library, other general storage and maintain a backup of my OS drive and portable external that i carry around with me, but i don't know how i'd set it up so that i could access my hard drives and use them normally from anywhere.
    Also, with Mail Server, i'd like it if i could store all of my emails on the server computer and be able to access them on my Macbook. I don't know what i need though. For my needs, do i even need the server program or can i just use Lion (or even Snow Leopard if i choose) by itself? And if i did need the server, would i need it on just the server computer or both the server and my Macbook?
    Sorry if i haven't explained this very well, if you didn't fully understand just ask me and i'll try to rephrase it.
    Thanks in advance
    mr meister

    Be careful what you wish for.
    Either Mac OS X, or Mac OS X Server can act as a simple file server for your LAN.
    Granting access to external/remote users is largely a facet of setting access controls in your router to allow external clients to access your machine, but you have to consider the security implications of doing so - how do you make sure that you, and only you, access your data and not your local script kiddie down the street - or evem some hacker in China?
    HOWEVER, as simple as that may be, performance is going to be your issue.
    Local disks in your machine are typically connected on a bus that runs as several gigabits per second.
    Even the server on your LAN is connected to your client over, typically, a gigabit connection.
    However, your internet connection is likely to be measured in megabits per second... or two orders of magnitude lower than a local connection. You're really not going to want to use this for normal usage - e.g. accessing files - it's probably only practical for copying files to/from your machine.
    As for mail, there are a myriad of issues in running your own mail server, especially if you don't have your own domain and static IP addresses. I'd seriously defer that question until you're more settled in your server plans.

  • 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.

  • Need some help with Java crashing IE.

    Ok, had this problem for some time now, started when was useing microsofts java, it would crash my IE at random points whenever a java applet is running. Upgraded to sun's java but the problems still here along with errors on HD.
    Changed my HD thinking that was the problem but the errors come back.
    Running Win XP Pro, SP2 with IE6.
    Heres error report:
    Unexpected Signal : EXCEPTION_ILLEGAL_INSTRUCTION (0xc000001d) occurred at PC=0x44DED37
    Function=g.a(I[B)V (compiled Java code)
    Library=(N/A)
    Current Java thread:
    Dynamic libraries:
    0x00400000 - 0x00419000      C:\Program Files\Internet Explorer\iexplore.exe
    0x7C900000 - 0x7C9B0000      C:\WINDOWS\system32\ntdll.dll
    0x7C800000 - 0x7C8F4000      C:\WINDOWS\system32\kernel32.dll
    0x77C10000 - 0x77C68000      C:\WINDOWS\system32\msvcrt.dll
    0x77D40000 - 0x77DD0000      C:\WINDOWS\system32\USER32.dll
    0x77F10000 - 0x77F56000      C:\WINDOWS\system32\GDI32.dll
    0x77F60000 - 0x77FD6000      C:\WINDOWS\system32\SHLWAPI.dll
    0x77DD0000 - 0x77E6B000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77E70000 - 0x77F01000      C:\WINDOWS\system32\RPCRT4.dll
    0x77760000 - 0x778CC000      C:\WINDOWS\system32\SHDOCVW.dll
    0x77A80000 - 0x77B14000      C:\WINDOWS\system32\CRYPT32.dll
    0x77B20000 - 0x77B32000      C:\WINDOWS\system32\MSASN1.dll
    0x754D0000 - 0x75550000      C:\WINDOWS\system32\CRYPTUI.dll
    0x76C30000 - 0x76C5E000      C:\WINDOWS\system32\WINTRUST.dll
    0x76C90000 - 0x76CB8000      C:\WINDOWS\system32\IMAGEHLP.dll
    0x77120000 - 0x771AC000      C:\WINDOWS\system32\OLEAUT32.dll
    0x774E0000 - 0x7761C000      C:\WINDOWS\system32\ole32.dll
    0x5B860000 - 0x5B8B4000      C:\WINDOWS\system32\NETAPI32.dll
    0x771B0000 - 0x77256000      C:\WINDOWS\system32\WININET.dll
    0x76F60000 - 0x76F8C000      C:\WINDOWS\system32\WLDAP32.dll
    0x77C00000 - 0x77C08000      C:\WINDOWS\system32\VERSION.dll
    0x773D0000 - 0x774D2000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
    0x7C9C0000 - 0x7D1D4000      C:\WINDOWS\system32\SHELL32.dll
    0x5D090000 - 0x5D127000      C:\WINDOWS\system32\comctl32.dll
    0x5AD70000 - 0x5ADA8000      C:\WINDOWS\system32\uxtheme.dll
    0x75F80000 - 0x7607C000      C:\WINDOWS\system32\BROWSEUI.dll
    0x20000000 - 0x20012000      C:\WINDOWS\system32\browselc.dll
    0x77B40000 - 0x77B62000      C:\WINDOWS\system32\appHelp.dll
    0x76FD0000 - 0x7704F000      C:\WINDOWS\system32\CLBCATQ.DLL
    0x77050000 - 0x77115000      C:\WINDOWS\system32\COMRes.dll
    0x77260000 - 0x772FE000      C:\WINDOWS\system32\urlmon.dll
    0x77FE0000 - 0x77FF1000      C:\WINDOWS\system32\Secur32.dll
    0x77A20000 - 0x77A74000      C:\WINDOWS\System32\cscui.dll
    0x76600000 - 0x7661D000      C:\WINDOWS\System32\CSCDLL.dll
    0x77920000 - 0x77A13000      C:\WINDOWS\system32\SETUPAPI.dll
    0x10000000 - 0x1001A000      C:\Program Files\Norton AntiVirus\NavShExt.dll
    0x76B20000 - 0x76B31000      C:\WINDOWS\system32\ATL.DLL
    0x76080000 - 0x760E5000      C:\WINDOWS\system32\MSVCP60.dll
    0x00E90000 - 0x00F18000      C:\WINDOWS\system32\shdoclc.dll
    0x00F20000 - 0x011E5000      C:\WINDOWS\system32\xpsp2res.dll
    0x75CF0000 - 0x75D81000      C:\WINDOWS\system32\mlang.dll
    0x71AD0000 - 0x71AD9000      C:\WINDOWS\system32\wsock32.dll
    0x71AB0000 - 0x71AC7000      C:\WINDOWS\system32\WS2_32.dll
    0x71AA0000 - 0x71AA8000      C:\WINDOWS\system32\WS2HELP.dll
    0x71A50000 - 0x71A8F000      C:\WINDOWS\system32\mswsock.dll
    0x662B0000 - 0x66308000      C:\WINDOWS\system32\hnetcfg.dll
    0x76EE0000 - 0x76F1C000      C:\WINDOWS\system32\RASAPI32.DLL
    0x76E90000 - 0x76EA2000      C:\WINDOWS\system32\rasman.dll
    0x76EB0000 - 0x76EDF000      C:\WINDOWS\system32\TAPI32.dll
    0x76E80000 - 0x76E8E000      C:\WINDOWS\system32\rtutils.dll
    0x76B40000 - 0x76B6D000      C:\WINDOWS\system32\WINMM.dll
    0x71A90000 - 0x71A98000      C:\WINDOWS\System32\wshtcpip.dll
    0x77C70000 - 0x77C93000      C:\WINDOWS\system32\msv1_0.dll
    0x76D60000 - 0x76D79000      C:\WINDOWS\system32\iphlpapi.dll
    0x7D1E0000 - 0x7D492000      C:\WINDOWS\system32\msi.dll
    0x769C0000 - 0x76A73000      C:\WINDOWS\system32\USERENV.dll
    0x75E90000 - 0x75F40000      C:\WINDOWS\system32\SXS.DLL
    0x0FFD0000 - 0x0FFF8000      C:\WINDOWS\system32\rsaenh.dll
    0x76F20000 - 0x76F47000      C:\WINDOWS\system32\DNSAPI.dll
    0x76FC0000 - 0x76FC6000      C:\WINDOWS\system32\rasadhlp.dll
    0x7D4A0000 - 0x7D783000      C:\WINDOWS\system32\mshtml.dll
    0x746C0000 - 0x746E7000      C:\WINDOWS\system32\msls31.dll
    0x746F0000 - 0x7471A000      C:\WINDOWS\system32\msimtf.dll
    0x74720000 - 0x7476B000      C:\WINDOWS\system32\MSCTF.dll
    0x76390000 - 0x763AD000      C:\WINDOWS\system32\IMM32.DLL
    0x71B20000 - 0x71B32000      C:\WINDOWS\system32\MPR.dll
    0x75F60000 - 0x75F67000      C:\WINDOWS\System32\drprov.dll
    0x71C10000 - 0x71C1E000      C:\WINDOWS\System32\ntlanman.dll
    0x71CD0000 - 0x71CE7000      C:\WINDOWS\System32\NETUI0.dll
    0x71C90000 - 0x71CD0000      C:\WINDOWS\System32\NETUI1.dll
    0x71C80000 - 0x71C87000      C:\WINDOWS\System32\NETRAP.dll
    0x71BF0000 - 0x71C03000      C:\WINDOWS\System32\SAMLIB.dll
    0x75F70000 - 0x75F79000      C:\WINDOWS\System32\davclnt.dll
    0x73D70000 - 0x73D83000      C:\WINDOWS\system32\shgina.dll
    0x75970000 - 0x75A67000      C:\WINDOWS\system32\MSGINA.dll
    0x76360000 - 0x76370000      C:\WINDOWS\system32\WINSTA.dll
    0x74320000 - 0x7435D000      C:\WINDOWS\system32\ODBC32.dll
    0x763B0000 - 0x763F9000      C:\WINDOWS\system32\comdlg32.dll
    0x020A0000 - 0x020B7000      C:\WINDOWS\system32\odbcint.dll
    0x020C0000 - 0x020DB000      C:\Program Files\Common Files\Symantec Shared\Script Blocking\scrauth.dll
    0x021F0000 - 0x0220E000      C:\Program Files\Common Files\Symantec Shared\Script Blocking\ScrBlock.dll
    0x75E60000 - 0x75E73000      C:\WINDOWS\system32\cryptnet.dll
    0x4D4F0000 - 0x4D548000      C:\WINDOWS\system32\WINHTTP.dll
    0x722B0000 - 0x722B5000      C:\WINDOWS\system32\SensApi.dll
    0x75C50000 - 0x75CBE000      c:\windows\system32\jscript.dll
    0x72D20000 - 0x72D29000      C:\WINDOWS\system32\wdmaud.drv
    0x77BD0000 - 0x77BD7000      C:\WINDOWS\system32\midimap.dll
    0x73300000 - 0x73367000      c:\windows\system32\vbscript.dll
    0x73DD0000 - 0x73ECE000      C:\WINDOWS\system32\MFC42.DLL
    0x03600000 - 0x037A7000      C:\WINDOWS\system32\macromed\flash\Flash.ocx
    0x6D430000 - 0x6D43A000      C:\WINDOWS\system32\ddrawex.dll
    0x73760000 - 0x737A9000      C:\WINDOWS\system32\DDRAW.dll
    0x73BC0000 - 0x73BC6000      C:\WINDOWS\system32\DCIMAN32.dll
    0x76200000 - 0x76271000      C:\WINDOWS\system32\mshtmled.dll
    0x66E50000 - 0x66E8F000      C:\WINDOWS\system32\iepeers.dll
    0x73000000 - 0x73026000      C:\WINDOWS\system32\WINSPOOL.DRV
    0x6D460000 - 0x6D470000      C:\Program Files\Java\j2re1.4.2_05\bin\npjpi142_05.dll
    0x5EDD0000 - 0x5EDE7000      C:\WINDOWS\system32\OLEPRO32.DLL
    0x6D330000 - 0x6D348000      C:\Program Files\Java\j2re1.4.2_05\bin\jpiexp32.dll
    0x76FB0000 - 0x76FB8000      C:\WINDOWS\System32\winrnr.dll
    0x6D3A0000 - 0x6D3B8000      C:\Program Files\Java\j2re1.4.2_05\bin\jpishare.dll
    0x08000000 - 0x08139000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\client\jvm.dll
    0x04310000 - 0x04317000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\hpi.dll
    0x04330000 - 0x0433E000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\verify.dll
    0x04340000 - 0x04359000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\java.dll
    0x04360000 - 0x0436D000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\zip.dll
    0x06DE0000 - 0x06EF2000      C:\Program Files\Java\j2re1.4.2_05\bin\awt.dll
    0x06F00000 - 0x06F51000      C:\Program Files\Java\j2re1.4.2_05\bin\fontmanager.dll
    0x73940000 - 0x73A10000      C:\WINDOWS\system32\D3DIM700.DLL
    0x6D310000 - 0x6D324000      C:\Program Files\Java\j2re1.4.2_05\bin\jpicom32.dll
    0x076B0000 - 0x076BF000      C:\Program Files\Java\j2re1.4.2_05\bin\net.dll
    0x076C0000 - 0x076E2000      C:\Program Files\Java\j2re1.4.2_05\bin\dcpr.dll
    0x02340000 - 0x0235E000      C:\Program Files\Java\j2re1.4.2_05\bin\jpeg.dll
    0x74810000 - 0x7497D000      C:\WINDOWS\system32\quartz.dll
    0x59A60000 - 0x59B01000      C:\WINDOWS\system32\DBGHELP.dll
    0x75F40000 - 0x75F51000      C:\WINDOWS\system32\devenum.dll
    0x736B0000 - 0x736B7000      C:\WINDOWS\system32\msdmo.dll
    0x76BF0000 - 0x76BFB000      C:\WINDOWS\system32\PSAPI.DLL
    Heap at VM Abort:
    Heap
    def new generation   total 1152K, used 670K [0x10020000, 0x10160000, 0x10780000)
      eden space 1024K,  53% used [0x10020000, 0x100a7b38, 0x10120000)
      from space 128K, 100% used [0x10120000, 0x10140000, 0x10140000)
      to   space 128K,   0% used [0x10140000, 0x10140000, 0x10160000)
    tenured generation   total 14520K, used 13418K [0x10780000, 0x115ae000, 0x16020000)
       the space 14520K,  92% used [0x10780000, 0x1149ab38, 0x1149ac00, 0x115ae000)
    compacting perm gen  total 5888K, used 5698K [0x16020000, 0x165e0000, 0x1a020000)
       the space 5888K,  96% used [0x16020000, 0x165b0af0, 0x165b0c00, 0x165e0000)
    Local Time = Mon Oct 18 10:09:19 2004
    Elapsed Time = 15
    # HotSpot Virtual Machine Error : EXCEPTION_ILLEGAL_INSTRUCTION
    # Error ID : 4F530E43505002EF
    # Please report this error at
    # http://java.sun.com/cgi-bin/bugreport.cgi
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_05-b04 mixed mode)
    ==========================
    Am I just unlucky or could it be bad power input or bad RAM.
    Sorry if this is wrong forum, could someone direct me to the correct place if needed.
    Thanks.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Thing which made me think it was hardware is that after I download stuff (like leaveing PC d/ling over night) after a week or so I get a load of HD errors and random program will crash.
    Believe that could be a totally different problem which I've got solved, also thought I'd fixed up the java issues with installing 1.5 but appears to have came back. However rather than IE giveing an error report to send to microsoft it either locks up or the window just closes and a hs_err_pid report is created on desktop (currently have 10 of them with different numbers), all of which are 99% the same, just with different numbers in some spots.
    Heres one:
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d6a19d1, pid=3788, tid=4008
    # Java VM: Java HotSpot(TM) Client VM (1.5.0-b64 mixed mode, sharing)
    # Problematic frame:
    # V [jvm.dll+0x619d1]
    --------------- T H R E A D ---------------
    Current thread (0x033535d0): VMThread [id=4008]
    siginfo: ExceptionCode=0xc0000005, reading address 0x00000040
    Registers:
    EAX=0x00000040, EBX=0x22c4cd44, ECX=0x06a1fa98, EDX=0x22d79dd0
    ESP=0x06a1f9e0, EBP=0x06a1fa04, ESI=0x22c4cd34, EDI=0x06a1fa98
    EIP=0x6d6a19d1, EFLAGS=0x00010283
    Top of Stack: (sp=0x06a1f9e0)
    0x06a1f9e0: 22c4cd34 26c72aec 6d6b567e 22c4cd34
    0x06a1f9f0: 22d26cc8 22c4cd08 000397d0 26c729d0
    0x06a1fa00: 26c72af0 06a1fb34 6d72c13e 22c4cd08
    0x06a1fa10: 06a1fa98 06a1fa98 0003c990 03326054
    0x06a1fa20: 6d6b12f4 06a1fa98 00000001 03326008
    0x06a1fa30: 6d6accc3 06a1fa98 00000000 03326008
    0x06a1fa40: 06a1facc 6d6a189f 00000000 06a1fae4
    0x06a1fa50: 06a1fa98 033261d0 6d6a2320 03326008
    Instructions: (pc=0x6d6a19d1)
    0x6d6a19c1: 24 08 57 8b f9 8b 06 85 c0 74 2f 3b 47 1c 73 2a
    0x6d6a19d1: 8b 08 83 e1 03 80 f9 03 75 06 8b 00 24 fc eb 0a
    Stack: [0x06920000,0x06a20000), sp=0x06a1f9e0, free space=1022k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V [jvm.dll+0x619d1]
    V [jvm.dll+0xec13e]
    V [jvm.dll+0x6c7b0]
    V [jvm.dll+0x5037f]
    V [jvm.dll+0x6c92d]
    V [jvm.dll+0x11768c]
    V [jvm.dll+0x117163]
    V [jvm.dll+0x117303]
    V [jvm.dll+0x117068]
    C [msvcrt.dll+0x2a3b0]
    C [kernel32.dll+0xb50b]
    VM_Operation (0x07a5f2b8): generation collection for allocation, mode: safepoint, requested by thread 0x07b2e068
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x0335ca18 JavaThread "Thread-11" daemon [_thread_blocked, id=360]
    0x07ae2530 JavaThread "Thread-10" daemon [_thread_blocked, id=1764]
    0x070e5db0 JavaThread "Thread-9" daemon [_thread_blocked, id=1768]
    0x07b2e068 JavaThread "Thread-7" daemon [_thread_blocked, id=1468]
    0x07b90ab8 JavaThread "Thread-5" daemon [_thread_blocked, id=1476]
    0x0705ef48 JavaThread "AWT-EventQueue-2" [_thread_blocked, id=168]
    0x07b8acc8 JavaThread "TimerQueue" daemon [_thread_blocked, id=132]
    0x07b86c98 JavaThread "TimerQueue" daemon [_thread_blocked, id=2020]
    0x07b6dc80 JavaThread "AWT-EventQueue-1" [_thread_blocked, id=4088]
    0x07b2e458 JavaThread "thread applet-loader.class" [_thread_blocked, id=4072]
    0x07054b60 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=4060]
    0x07053a50 JavaThread "traceMsgQueueThread" [_thread_blocked, id=4048]
    0x07047280 JavaThread "AWT-Windows" daemon [_thread_in_native, id=4044]
    0x07046e50 JavaThread "AWT-Shutdown" [_thread_blocked, id=4040]
    0x07046030 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=4036]
    0x03358aa8 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=4028]
    0x03357680 JavaThread "CompilerThread0" daemon [_thread_blocked, id=4024]
    0x03356a30 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4020]
    0x03354008 JavaThread "Finalizer" daemon [_thread_blocked, id=4016]
    0x03328aa0 JavaThread "Reference Handler" daemon [_thread_blocked, id=4012]
    0x032b4410 JavaThread "main" [_thread_in_native, id=3792]
    Other Threads:
    =>0x033535d0 VMThread [id=4008]
    0x03359cb8 WatcherThread [id=4032]
    VM state:at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
    [0x032a0388/0x0000081c] Threads_lock - owner thread: 0x033535d0
    [0x032b4058/0x00000858] Heap_lock - owner thread: 0x07b2e068
    Heap
    def new generation total 4608K, used 4160K [0x20a70000, 0x20f60000, 0x211d0000)
    eden space 4160K, 100% used [0x20a70000, 0x20e80000, 0x20e80000)
    from space 448K, 0% used [0x20e80000, 0x20e80000, 0x20ef0000)
    to space 448K, 100% used [0x20ef0000, 0x20f60000, 0x20f60000)
    tenured generation total 60072K, used 28327K [0x211d0000, 0x24c7a000, 0x26a70000)
    the space 60072K, 47% used [0x211d0000, 0x22d79df0, 0x22d79e00, 0x24c7a000)
    compacting perm gen total 8192K, used 2386K [0x26a70000, 0x27270000, 0x2aa70000)
    the space 8192K, 29% used [0x26a70000, 0x26cc4930, 0x26cc4a00, 0x27270000)
    ro space 8192K, 62% used [0x2aa70000, 0x2af77160, 0x2af77200, 0x2b270000)
    rw space 12288K, 46% used [0x2b270000, 0x2b7fc1c0, 0x2b7fc200, 0x2be70000)
    Dynamic libraries:
    0x00400000 - 0x00419000      C:\Program Files\Internet Explorer\iexplore.exe
    0x7c900000 - 0x7c9b0000      C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c8f4000      C:\WINDOWS\system32\kernel32.dll
    0x77c10000 - 0x77c68000      C:\WINDOWS\system32\msvcrt.dll
    0x77d40000 - 0x77dd0000      C:\WINDOWS\system32\USER32.dll
    0x77f10000 - 0x77f56000      C:\WINDOWS\system32\GDI32.dll
    0x77f60000 - 0x77fd6000      C:\WINDOWS\system32\SHLWAPI.dll
    0x77dd0000 - 0x77e6b000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77e70000 - 0x77f01000      C:\WINDOWS\system32\RPCRT4.dll
    0x77760000 - 0x778cc000      C:\WINDOWS\system32\SHDOCVW.dll
    0x77a80000 - 0x77b14000      C:\WINDOWS\system32\CRYPT32.dll
    0x77b20000 - 0x77b32000      C:\WINDOWS\system32\MSASN1.dll
    0x754d0000 - 0x75550000      C:\WINDOWS\system32\CRYPTUI.dll
    0x76c30000 - 0x76c5e000      C:\WINDOWS\system32\WINTRUST.dll
    0x76c90000 - 0x76cb8000      C:\WINDOWS\system32\IMAGEHLP.dll
    0x77120000 - 0x771ac000      C:\WINDOWS\system32\OLEAUT32.dll
    0x774e0000 - 0x7761c000      C:\WINDOWS\system32\ole32.dll
    0x5b860000 - 0x5b8b4000      C:\WINDOWS\system32\NETAPI32.dll
    0x771b0000 - 0x77256000      C:\WINDOWS\system32\WININET.dll
    0x76f60000 - 0x76f8c000      C:\WINDOWS\system32\WLDAP32.dll
    0x77c00000 - 0x77c08000      C:\WINDOWS\system32\VERSION.dll
    0x773d0000 - 0x774d2000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
    0x7c9c0000 - 0x7d1d4000      C:\WINDOWS\system32\SHELL32.dll
    0x5d090000 - 0x5d127000      C:\WINDOWS\system32\comctl32.dll
    0x5ad70000 - 0x5ada8000      C:\WINDOWS\system32\uxtheme.dll
    0x75f80000 - 0x7607c000      C:\WINDOWS\system32\BROWSEUI.dll
    0x20000000 - 0x20012000      C:\WINDOWS\system32\browselc.dll
    0x77b40000 - 0x77b62000      C:\WINDOWS\system32\appHelp.dll
    0x76fd0000 - 0x7704f000      C:\WINDOWS\system32\CLBCATQ.DLL
    0x77050000 - 0x77115000      C:\WINDOWS\system32\COMRes.dll
    0x77260000 - 0x772fe000      C:\WINDOWS\system32\urlmon.dll
    0x77fe0000 - 0x77ff1000      C:\WINDOWS\system32\Secur32.dll
    0x77a20000 - 0x77a74000      C:\WINDOWS\System32\cscui.dll
    0x76600000 - 0x7661d000      C:\WINDOWS\System32\CSCDLL.dll
    0x77920000 - 0x77a13000      C:\WINDOWS\system32\SETUPAPI.dll
    0x10000000 - 0x1001a000      C:\Program Files\Norton AntiVirus\NavShExt.dll
    0x76b20000 - 0x76b31000      C:\WINDOWS\system32\ATL.DLL
    0x76080000 - 0x760e5000      C:\WINDOWS\system32\MSVCP60.dll
    0x01120000 - 0x011a8000      C:\WINDOWS\system32\shdoclc.dll
    0x011b0000 - 0x01475000      C:\WINDOWS\system32\xpsp2res.dll
    0x75cf0000 - 0x75d81000      C:\WINDOWS\system32\mlang.dll
    0x71ad0000 - 0x71ad9000      C:\WINDOWS\system32\wsock32.dll
    0x71ab0000 - 0x71ac7000      C:\WINDOWS\system32\WS2_32.dll
    0x71aa0000 - 0x71aa8000      C:\WINDOWS\system32\WS2HELP.dll
    0x71a50000 - 0x71a8f000      C:\WINDOWS\system32\mswsock.dll
    0x662b0000 - 0x66308000      C:\WINDOWS\system32\hnetcfg.dll
    0x71a90000 - 0x71a98000      C:\WINDOWS\System32\wshtcpip.dll
    0x76ee0000 - 0x76f1c000      C:\WINDOWS\system32\RASAPI32.DLL
    0x76e90000 - 0x76ea2000      C:\WINDOWS\system32\rasman.dll
    0x76eb0000 - 0x76edf000      C:\WINDOWS\system32\TAPI32.dll
    0x76e80000 - 0x76e8e000      C:\WINDOWS\system32\rtutils.dll
    0x76b40000 - 0x76b6d000      C:\WINDOWS\system32\WINMM.dll
    0x7d1e0000 - 0x7d492000      C:\WINDOWS\system32\msi.dll
    0x769c0000 - 0x76a73000      C:\WINDOWS\system32\USERENV.dll
    0x75e90000 - 0x75f40000      C:\WINDOWS\system32\SXS.DLL
    0x77c70000 - 0x77c93000      C:\WINDOWS\system32\msv1_0.dll
    0x76d60000 - 0x76d79000      C:\WINDOWS\system32\iphlpapi.dll
    0x722b0000 - 0x722b5000      C:\WINDOWS\system32\sensapi.dll
    0x76fc0000 - 0x76fc6000      C:\WINDOWS\system32\rasadhlp.dll
    0x76f20000 - 0x76f47000      C:\WINDOWS\system32\DNSAPI.dll
    0x76fb0000 - 0x76fb8000      C:\WINDOWS\System32\winrnr.dll
    0x7d4a0000 - 0x7d783000      C:\WINDOWS\system32\mshtml.dll
    0x746c0000 - 0x746e7000      C:\WINDOWS\system32\msls31.dll
    0x746f0000 - 0x7471a000      C:\WINDOWS\system32\msimtf.dll
    0x74720000 - 0x7476b000      C:\WINDOWS\system32\MSCTF.dll
    0x76390000 - 0x763ad000      C:\WINDOWS\system32\IMM32.DLL
    0x71b20000 - 0x71b32000      C:\WINDOWS\system32\MPR.dll
    0x75f60000 - 0x75f67000      C:\WINDOWS\System32\drprov.dll
    0x71c10000 - 0x71c1e000      C:\WINDOWS\System32\ntlanman.dll
    0x71cd0000 - 0x71ce7000      C:\WINDOWS\System32\NETUI0.dll
    0x71c90000 - 0x71cd0000      C:\WINDOWS\System32\NETUI1.dll
    0x71c80000 - 0x71c87000      C:\WINDOWS\System32\NETRAP.dll
    0x71bf0000 - 0x71c03000      C:\WINDOWS\System32\SAMLIB.dll
    0x75f70000 - 0x75f79000      C:\WINDOWS\System32\davclnt.dll
    0x73d70000 - 0x73d83000      C:\WINDOWS\system32\shgina.dll
    0x75970000 - 0x75a67000      C:\WINDOWS\system32\MSGINA.dll
    0x76360000 - 0x76370000      C:\WINDOWS\system32\WINSTA.dll
    0x74320000 - 0x7435d000      C:\WINDOWS\system32\ODBC32.dll
    0x763b0000 - 0x763f9000      C:\WINDOWS\system32\comdlg32.dll
    0x02450000 - 0x02467000      C:\WINDOWS\system32\odbcint.dll
    0x72d20000 - 0x72d29000      C:\WINDOWS\system32\wdmaud.drv
    0x72d10000 - 0x72d18000      C:\WINDOWS\system32\msacm32.drv
    0x77be0000 - 0x77bf5000      C:\WINDOWS\system32\MSACM32.dll
    0x77bd0000 - 0x77bd7000      C:\WINDOWS\system32\midimap.dll
    0x024a0000 - 0x024bb000      C:\Program Files\Common Files\Symantec Shared\Script Blocking\scrauth.dll
    0x024d0000 - 0x024ee000      C:\Program Files\Common Files\Symantec Shared\Script Blocking\ScrBlock.dll
    0x0ffd0000 - 0x0fff8000      C:\WINDOWS\system32\rsaenh.dll
    0x75e60000 - 0x75e73000      C:\WINDOWS\system32\cryptnet.dll
    0x4d4f0000 - 0x4d548000      C:\WINDOWS\system32\WINHTTP.dll
    0x75c50000 - 0x75cbe000      c:\windows\system32\jscript.dll
    0x76200000 - 0x76271000      C:\WINDOWS\system32\mshtmled.dll
    0x73300000 - 0x73367000      c:\windows\system32\vbscript.dll
    0x73dd0000 - 0x73ece000      C:\WINDOWS\system32\MFC42.DLL
    0x03ed0000 - 0x04077000      C:\WINDOWS\system32\macromed\flash\Flash.ocx
    0x6d430000 - 0x6d43a000      C:\WINDOWS\system32\ddrawex.dll
    0x73760000 - 0x737a9000      C:\WINDOWS\system32\DDRAW.dll
    0x73bc0000 - 0x73bc6000      C:\WINDOWS\system32\DCIMAN32.dll
    0x66e50000 - 0x66e8f000      C:\WINDOWS\system32\iepeers.dll
    0x73000000 - 0x73026000      C:\WINDOWS\system32\WINSPOOL.DRV
    0x6d590000 - 0x6d5a1000      C:\Program Files\Java\jre1.5.0\bin\npjpi150.dll
    0x5edd0000 - 0x5ede7000      C:\WINDOWS\system32\OLEPRO32.DLL
    0x6d400000 - 0x6d417000      C:\Program Files\Java\jre1.5.0\bin\jpiexp32.dll
    0x6d450000 - 0x6d468000      C:\Program Files\Java\jre1.5.0\bin\jpishare.dll
    0x6d640000 - 0x6d7c5000      C:\PROGRA~1\Java\JRE15~1.0\bin\client\jvm.dll
    0x6d280000 - 0x6d288000      C:\PROGRA~1\Java\JRE15~1.0\bin\hpi.dll
    0x76bf0000 - 0x76bfb000      C:\WINDOWS\system32\PSAPI.DLL
    0x6d610000 - 0x6d61c000      C:\PROGRA~1\Java\JRE15~1.0\bin\verify.dll
    0x6d300000 - 0x6d31d000      C:\PROGRA~1\Java\JRE15~1.0\bin\java.dll
    0x6d630000 - 0x6d63f000      C:\PROGRA~1\Java\JRE15~1.0\bin\zip.dll
    0x6d000000 - 0x6d166000      C:\Program Files\Java\jre1.5.0\bin\awt.dll
    0x73940000 - 0x73a10000      C:\WINDOWS\system32\D3DIM700.DLL
    0x6d240000 - 0x6d27d000      C:\Program Files\Java\jre1.5.0\bin\fontmanager.dll
    0x6d1f0000 - 0x6d203000      C:\Program Files\Java\jre1.5.0\bin\deploy.dll
    0x6d5d0000 - 0x6d5ed000      C:\Program Files\Java\jre1.5.0\bin\RegUtils.dll
    0x6d3e0000 - 0x6d3f4000      C:\Program Files\Java\jre1.5.0\bin\jpicom32.dll
    0x6d4c0000 - 0x6d4d3000      C:\Program Files\Java\jre1.5.0\bin\net.dll
    0x6d4e0000 - 0x6d4e9000      C:\Program Files\Java\jre1.5.0\bin\nio.dll
    0x6d1c0000 - 0x6d1e3000      C:\Program Files\Java\jre1.5.0\bin\dcpr.dll
    0x6d3c0000 - 0x6d3df000      C:\Program Files\Java\jre1.5.0\bin\jpeg.dll
    0x71d40000 - 0x71d5c000      C:\WINDOWS\system32\actxprxy.dll
    VM Arguments:
    jvm_args: -Xbootclasspath/a:C:\PROGRA~1\Java\JRE15~1.0\lib\deploy.jar;C:\PROGRA~1\Java\JRE15~1.0\lib\plugin.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.5.0 -Djavaplugin.nodotversion=150 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~1\Java\JRE15~1.0 -Djava.protocol.handler.pkgs=sun.plugin.net.protocol -Djavaplugin.vm.options=-Djava.class.path=C:\PROGRA~1\Java\JRE15~1.0\classes -Xbootclasspath/a:C:\PROGRA~1\Java\JRE15~1.0\lib\deploy.jar;C:\PROGRA~1\Java\JRE15~1.0\lib\plugin.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.5.0 -Djavaplugin.nodotversion=150 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~1\Java\JRE15~1.0 -Djava.protocol.handler.pkgs=sun.plugin.net.protocol vfprintf
    java_command: <unknown>
    Environment Variables:
    PATH=C:\PROGRA~1\Java\JRE15~1.0\bin;C:\Program Files\Internet Explorer;;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;.
    USERNAME=Steven
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 6 Stepping 2, AuthenticAMD
    --------------- S Y S T E M ---------------
    OS: Windows XP Build 2600 Service Pack 2
    CPU:total 1 family 6, cmov, cx8, fxsr, mmx, sse
    Memory: 4k page, physical 261616k(32540k free), swap 633112k(371620k free)
    vm_info: Java HotSpot(TM) Client VM (1.5.0-b64) for windows-x86, built on Sep 15 2004 03:00:31 by "java_re" with MS VC++ 6.0
    ====================================================
    Have spent countless hours looking for fixes, seems a lot of people have similar looking problems, but the fixes for them either don't apply to me or they are just passed over to another discussion which has no resolve.
    I'm not sure what to look for in Java database of bugs, if anyone can poke me towards a fix or some useful reading I'd be eternally greatful.
    Thanks.

  • I need some help setting up my server

    Hi, i am very new to this and i need someone with alot of patience (hehe) To help me, i got given a cobalt raq as a present from my friend, they said it is very easy to set up, but knowing my luck i will struggle with it untill i can understand it better, so please could someone help me i will explain in more detail when you get in touch as i do not want to bore everyone one with my "Noobiness" on this situation, Thank's in advance,
    Joe

    Same answer as for these earlier two postings:
    [From April 2007|http://forum.java.sun.com/thread.jspa?forumID=830&threadID=5163397]
    [and from March 2008|http://forum.java.sun.com/thread.jspa?forumID=829&threadID=5277621]

  • Need some help with the chat feature

    Have a school that upgraded to ARD 3 admin and all clients (10.4.x and ARD client 3.1). He can observe clients (teachers) without problems and can chat with them. When he tries to do that to a lab machine that students log into (with network homes), he can observe, control, etc. But when he tries to chat, get the "error communicating with <mac name>". The students are in a group that has managed prefs to the extent that he doesn't allow certain apps to run in the lab, i.e. iTunes, IE, Addressbook, etc. When he moves the student out of the group, ARD chat works. We even set up a test group with one student in it, same thing.
    Any ideas?
    TIA,
    Marc

    You might need to add the application "Remote Desktop Message" as one of the apps that is allowed to run. It is located in /System/Library/CoreServices/RemoteMangement/ARDAgent/Contents/Support.

  • Need some help with Java deployment

    Hi everyone. I'm no stranger to Java... I've plenty of experience coding in the language, but little in actually deploying or distributing anything I write.
    Java has me very confused in this respect.
    For instance, say I write an applet that uses Swing or Java3D, no one can use it except me. I assume this is because I have the javax packages on my computer. Does this mean everyone who wants to use it has to download these packages? Do I have to provide them locally to the applet?
    Secondly if I wanted to compile my programs fully into executables, is this possible? I've downloaded things done in java before that ran from an executable. How is this possible?
    Thanks for any help anyone can provide me on this subject.

    >
    OK, at this point I'm speaking outside my area of
    experience ...
    But I think that you're not even allowed to distribute
    those libraries. The licenses say that you can
    download them for personal use, but can't distribute
    them unless you pay someone money.
    So you'd have to distribute your code with a readme
    file that asks the user to download and install those
    packages themselves.This is the 'raison d'etre' for java web-start and JNLP:- check it out, it sounds like the thing you seek.

  • Need some help in java

    wat type of data structures should i use to implement a map with cities linking to each other.
    For Example there's cities A,B,C,D,E.
    City A is linked to Cities B,C,D,E.
    City B is linked to Cities A,C.
    City C is linked to Cities A. etc...
    and i need to do input and get operation.

    public class City
    private Collection citylinks_;
    public City()
    this(new ArrayList());
    public City(Collection citylist)
    public Collection getCityLinks()
    return citylinks_;
    public addCityLink(City acity)
    citylinks_.add(acity);
    public removeCityLink(City acity)
    citylinks_.remove(acity);
    public hasCityLink(City acity)
    return (citylinks_.contains(acity));
    Is a structure you could use

  • WARNING: LONG POST:  Needing some help with Java Prog

    I hope that this forum can support enough formatting to make the source I'm going to post semi-readable... but here's the problem.
    First, the program is supposed to take a positive numerical input and turn it into a numerical palindrome by reversal. It is also supposed to output the number of reversals along with the palindrome. AND, if the palindrome is going to overflow the data type (int) then, it is supposed to anticipate that, and print out the number of times that the numbers were reversed before it would overflow.
    The problem that I'm having is that when I check if a number is a palindrome or not with isPalindrome(), it is fine for the first run, but after that, it just freaks out and goes into a semi-infinite loop that is only broken by the test for overflow. So, even if it finds a numeric palindrome, it keeps working until it's going to overflow.
    Any ideas are very appreciated, and also, many of the print statements are missing right now because I'm trying to find the problem. There are other print statements that indicate where the execution is in the program, so just ignore them. :)
    Here's the program. (I don't know if the forum will remove the spaces or not, so I'm sorry if it does, because I know that makes it hard to read). Thanks ahead of time. :)
    public class Palindrome
    String input=null;
    int pal=0, rvs=0, diff=0, palcount=0, orig=0, ini=0, countTemp=0;
    int inputTemp=0, powTemp=0;
    boolean overflow=false, boopal=true;
    public Palindrome(String x)
    input=x;
    orig=Integer.parseInt(x);
    ini=Integer.parseInt(x);
    public void isPalindrome()
    System.out.println("isPalindrome()");
    int f=0, t=0;
    String g=null;
    g=input;
    t=Integer.parseInt(g);
    f=g.length();
    if(f==2 && t%11!=0)
    System.out.println("if(f==2 && t%11!=0)");
    boopal=false;
    else if(f>2 && f%2==0)
    System.out.println("if(f>2 && f%2==0)");
    int right=f/2, left=right-1;
    while(left<right && right<f && left>-1)
    if(g.charAt(left)!=g.charAt(right))
    boopal=false;
    left--;
    right++;
    else if(f>1 && f%2==1)
    System.out.println("if(f>1 && f%2==1)");
    int mid=(f-1)/2, left=mid-1, right=mid+1;
    while(left<right && right<f && left>-1)
    if(g.charAt(left)!=g.charAt(right))
    boopal=false;
    left--;
    right++;
    else
    boopal=true;
    if(boopal==true)
    System.out.println("BOOPAL IS TRUE!");
    System.exit(0);
    public void makeReversal()
    System.out.println("makeReversal()");
    int b=0, iniTemp=0;
    String c=ini+"";
    int d=c.length()-1;
    do
    System.out.println("do/while(d>0): d: " + d);
    iniTemp=Integer.parseInt(c);
    b=iniTemp%10;
    iniTemp=iniTemp/10;
    c=iniTemp+"";
    rvs=(int) (rvs+((b*Math.pow(10, d))));
    d=c.length()-1;
    while(d>0);
    public void willOverflow()
    System.out.println("willOverflow()");
    diff=Integer.MAX_VALUE-rvs;
    if(ini<=diff)
    overflow=false;
    System.out.println("WillOverflow (should = false): " + overflow);
    else if(ini>diff)
    overflow=true;
    System.out.println("WillOverflow (should = true): " + overflow);
    System.out.println("The program will overflow before calculating"+
    " your palindrome.");
    System.out.println("Your initial input was: "+orig);
    System.out.println("The program will iterate "+palcount+
    " times before the overflow will occur.");
    System.exit(0);
    public void makePalindrome()
    System.out.println("makePalindrome()");
    isPalindrome();
    if(overflow==false)
    while(boopal==false)
    makeReversal();
    willOverflow();
    System.out.println("makePalindrome: pal: " + pal);
    pal=ini+rvs;
    System.out.println("makePalindrome: pal: " + pal);
    palcount++;
    ini=pal;
    input=""+pal;
    isPalindrome();
    if(boopal==true)
    System.out.println("BOOPAL IS TRUE!! GEORGE!");
    break;
    System.out.println("boopal: " + boopal);

    See http://forum.java.sun.com/thread.jsp?forum=54&thread=372647&tstart=105&trange=15

  • Ok i have indesign CS6 and all files are stored on a 10.7.5 MAC server.  This just started happening.  When I open a file indesigns is creating a textfile in the same folder?  I need some help on this.

    Ok i have indesign CS6 and all files are stored on a 10.7.5 MAC server.  This just started happening.  When I open a file indesigns is creating a textfile in the same folder?  I need some help on this.

    Ask in the ID forum and be much more specific about your configuration. there could be any number of reasons why manifests, temp files or restore files are created.
    Mylenium

  • Complete Java n00b...need some help

    I'm very new to Java and I need some help writing a basic program.
    I need to write a program that lets the user add up an infinite amount of floating point numbers. The program should compute the sum of all the numbers entered thus far. So for example if the user enters 2 and 3, it should give a number of 5. If the user then enters 4, I should give me 9 etc.
    I'm not really sure how to get started on writing that. I can add up two numbers but I don't know how to tell the program to keep adding additional numbers to that sum. Can someone please help me out? thanks

    It's ok... it can be hard to understand even the simplest concepts with only text and no help.
    There needs to be an int variable outside (before) the loop initialized to 0.
    float num = 0;Next, you need to have an infinite loop that requests floats to add onto the number.
    Scanner input = new Scanner(System.in);
    while (true) {
        float toAdd = input.nextFloat();
        num += toAdd;
        System.out.println("Current sum " + num);
    }Putting all this together and putting it into a main method will work, but we have a bit of an issue. The program won't stop! For that reason, we need to specify a number which can exit the program. I like to use 0 for this purpose.
    Scanner input = new Scanner(System.in);
    while (true) {
        float toAdd = input.nextFloat();
        if (toAdd == 0) {    //test if toAdd is 0 so the program can break;
            break;
        num += toAdd;
        System.out.println("Current sum " + num);
    }So, this code will work:
    import java.util.Scanner;
    class AddNumbers {
        public static void main(String[] args) {
            float num = 0;
            Scanner input = new Scanner(System.in);
            while (true) {
                float toAdd = input.nextFloat();
                if (toAdd == 0) {    //test if toAdd is 0 so the program can break;
                    break;
                num += toAdd;
                System.out.println("Current sum: " + num);
    }Edited by: Arricherekk on May 18, 2008 3:19 PM

  • HT1937 hello all....i need some help 2 can activate my 4s,i paid 4 unlock code and cant actvaite my phone ,the server support told me thats phone unlocked done.but apple server not say that..my imei 990001021636113

    hello all....i need some help 2 can activate my 4s,i paid 4 unlock code and cant actvaite my phone ,the server support told me thats phone unlocked done.but apple server not say that..my imei 990001021636113

    There is no such thing as an "unlock code" for an iPhone. It's done through iTunes after being approved by the carrier it is locked to.
    Go back to the carrier it is locked to and find out what the status is. If you paid someone else to unlock it, you got ripped off.

  • Need some help...in need of a different way.

    Hi, I'm new to Java and need some help. I have 2 questions that are similar in nature.
    1st Question:
    In a program that I'm writting I have a do-while loop which at the end brings up a dialog box that asks the user to enter '1' for 'Yes' or '2' for 'No' to continue.
    I would rather have the option of having the user enter 'y' or 'Y' for Yes and 'n' or 'N' for No.
    Here is what I have currently:
    int x;
    String data;
    do{
    //Blah blah code
    data = JOptionPane.showInputDialog(null, "Enter 1 for Yes or 2 for No");
    x = Integer.parseInt(data);
    }while(x == 1);
    x++;
    2nd Question:
    In another part of my program I have a Case statement that asks the user to enter a number or a letter from a list of choices. They can enter '2' , 't', or 'T'.
    I would rather have all of this in an if-else chain. Is this possibe? if so, how would I do it.
    Thanks.

    I would rather have the option of having the user enter 'y' or 'Y' for Yes and 'n' or
    'N' for No. You can test the first letter of whatever the user inputs like this:String response = JOptionPane.showInputDialog(null, "Enter (Y)es or (N)o");
    response = response.toLowerCase();
    if(response.startsWith("y")) {
        // the user entered something starting with y
    } else if(response.startsWith("n")) {
        // the user entered something starting with n
    } else {
        // what are you going to do?
    }JOptionPane also has versions that would allow yes/no buttons. Eg, see:
    http://java.sun.com/docs/books/tutorial/uiswing/components/dialog.html

Maybe you are looking for