J2RE1.4.2_02 awt error

Hi Guys,
Has anyone come across an error when using java.awt.event.WindowFocusListener with j2re1.4.2_02. I get an exception saying NoClassDefFoundError: java/awt/event/WindowFocusListener
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)

I guess, sun needs to resolve this. but it looks like they are not interested in java or users using it...

Similar Messages

  • J2re1.4.2_03-b02 error

    I got this error trying to install j2re1.4.2_03-b02:
    Error 1311: Source file not found: C:\java\ja142000.cab. Verify that the file exists and that you can access it.
    Anybody knows what can I do to fix it???

    I guess, sun needs to resolve this. but it looks like they are not interested in java or users using it...

  • AWT error on Solaris, please help

    Hello all,
    I have designed a class to convert any picture format to WBMP using Jimi via a web browser.
    The user specifies the file to convert on his computer and presses a OK button. Then, the file is converted and saved to
    the server.
    When running it on a windows computer, everything is ok. But I try to run it on my solaris box, I got the following error :
    Error: 500
    java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
         at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
         at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:59)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:120)
         at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
         at sun.awt.motif.MToolkit.(MToolkit.java:57)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:120)
         at java.awt.Toolkit$2.run(Toolkit.java:512)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:503)
         at com.sun.jimi.core.Jimi.getImage(Jimi.java:334)
         at com.sun.jimi.core.Jimi.getImage(Jimi.java:323)
         at com.mcms.util.Convert2Wbmp.loadImage(Convert2Wbmp.java:62)
         at com.mcms.util.Convert2Wbmp.convert(Convert2Wbmp.java:110)
         at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:500)
         at org.apache.tomcat.core.Handler.service(Handler.java:223)
         at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:448)
         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:911)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:824)
         at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:152)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:438)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:505)
         at java.lang.Thread.run(Thread.java:484)
    Note that the 6000 port is open on my solaris server :
    6000/tcp open X11
    What should I do ?
    Here's the code, I hope we're allowed to post it ;) :
    ==================
    Convert2WBMP.java
    ==================
    import com.sun.jimi.core.Jimi;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.PixelGrabber;
    import java.io.*;
    import java.io.PrintStream;
    import java.util.EventObject;
    import java.util.StringTokenizer;
    * This handles an individual incoming request. It returns a bytes etc from remote server.
    * @version 1.0
    public class Convert2Wbmp extends Frame
    private static int width;
    private static int height;
    private static Image image;
    private static int buffer[];
    public Convert2Wbmp()
    private Image loadImage(String s, boolean flag)
    Image image1 = null;
    try
    if(flag)
    image1 = Jimi.getImage(s);
    else
    image1 = Toolkit.getDefaultToolkit().getImage(ClassLoader.getSystemResource(s));
    MediaTracker mediatracker = new MediaTracker(this);
         mediatracker.addImage(image1, 0);
         mediatracker.waitForID(0);
    catch(Exception _ex)
         _ex.printStackTrace();
    return null;
    if(image1.getWidth(null) == -1 || image1.getHeight(null) == -1){
    return null;
    else
    return image1;
    private static Image loadImage(InputStream s)
    //System.out.println("now loading Image...");
    Image image1 = null;
    try
         image1 = Jimi.getImage(s);
         MediaTracker mediatracker = new MediaTracker(new Convert2Wbmp());
         mediatracker.addImage(image1, 0);
         mediatracker.waitForID(0);
    catch(Exception _ex)
         _ex.printStackTrace();
    return null;
    if(image1.getWidth(null) == -1 || image1.getHeight(null) == -1)
    return null;
    else
    return image1;
    private static void makeWBMP()
    if(image != null)
    buffer = new int[width * height];
    try
    PixelGrabber pixelgrabber = new PixelGrabber(image.getScaledInstance(width, height, 1), 0, 0, width, height, buffer, 0, width);
    pixelgrabber.grabPixels();
    catch(Exception exception)
         exception.printStackTrace();
    public static void convert(InputStream picSource,OutputStream target) throws Exception
    if(picSource != null)
         Image image1 = null;
         try
         image1 = loadImage(picSource);
         }catch(Exception e){ }
         if(image1 == null)
         System.out.println("Failed to load image!");
         return;
         image = image1;
         width = image1.getWidth(null);
         height = image1.getHeight(null);
         makeWBMP();
         try
         WBMP.save(buffer, width, height, 30, target);
         }catch (Exception e)
         e.printStackTrace();
    public static void main(String[] arg)
    try
    String target = "target.wbmp";
    String source = "source.jpg";
    Convert2Wbmp.convert( new FileInputStream( new File(source)), new FileOutputStream(target) );
    System.out.println("convertion finish!!");
    catch(Exception err )
    err.printStackTrace();
    ============
    WBMP.java
    ============
    import java.awt.*;
    import java.awt.image.MemoryImageSource;
    import java.io.*;
    public abstract class WBMP
    public WBMP()
    public static Image errorDiff(int ai[], int i, int j, int k, Color color, boolean flag)
    //System.out.println(" [WBMP]-----errorDiff");
    double ad[] = new double[i * j];
    for(int l = 0; l < i * j; l++)
    ad[l] = greypixel(ai[l]);
    double d = 42D;
    for(int i1 = 0; i1 < j; i1++)
    for(int j1 = 0; j1 < i; j1++)
    double d1 = ad[i1 * i + j1];
    if(ad[i1 * i + j1] > (double)k)
    ad[i1 * i + j1] = 255D;
    else
    ad[i1 * i + j1] = 0.0D;
    double d2 = d1 - ad[i1 * i + j1];
    if(j1 < i - 1)
    ad[i1 * i + j1 + 1] = ad[i1 * i + j1 + 1] + (8D / d) * d2;
    if(j1 < i - 2)
    ad[i1 * i + j1 + 2] = ad[i1 * i + j1 + 2] + (4D / d) * d2;
    if(i1 < j - 1 && j1 > 1)
    ad[((i1 + 1) * i + j1) - 2] = ad[((i1 + 1) * i + j1) - 2] + (2D / d) * d2;
    if(i1 < j - 1 && j1 > 0)
    ad[((i1 + 1) * i + j1) - 1] = ad[((i1 + 1) * i + j1) - 1] + (4D / d) * d2;
    if(i1 < j - 1)
    ad[(i1 + 1) * i + j1] = ad[(i1 + 1) * i + j1] + (8D / d) * d2;
    if(i1 < j - 1 && j1 < i - 1)
    ad[(i1 + 1) * i + j1 + 1] = ad[(i1 + 1) * i + j1 + 1] + (4D / d) * d2;
    if(i1 < j - 1 && j1 < i - 2)
    ad[(i1 + 1) * i + j1 + 2] = ad[(i1 + 1) * i + j1 + 2] + (2D / d) * d2;
    if(i1 < j - 2 && j1 > 1)
    ad[((i1 + 2) * i + j1) - 2] = ad[((i1 + 2) * i + j1) - 2] + (1.0D / d) * d2;
    if(i1 < j - 2 && j1 > 0)
    ad[((i1 + 2) * i + j1) - 1] = ad[((i1 + 2) * i + j1) - 1] + (2D / d) * d2;
    if(i1 < j - 2)
    ad[(i1 + 2) * i + j1] = ad[(i1 + 2) * i + j1] + (4D / d) * d2;
    if(i1 < j - 2 && j1 < i - 1)
    ad[(i1 + 2) * i + j1 + 1] = ad[(i1 + 2) * i + j1 + 1] + (2D / d) * d2;
    if(i1 < j - 2 && j1 < i - 2)
    ad[(i1 + 2) * i + j1 + 2] = ad[(i1 + 2) * i + j1 + 2] + (1.0D / d) * d2;
    for(int k1 = 0; k1 < i * j; k1++)
    int l1 = (int)ad[k1];
    if(!flag)
    if("1".equals(handlesinglepixel(l1, k)))
    ai[k1] = color.getRGB();
    else
    ai[k1] = Color.black.getRGB();
    } else
    if("1".equals(handlesinglepixel(l1, k)))
    ai[k1] = Color.black.getRGB();
    else
    ai[k1] = color.getRGB();
    return (new Canvas()).createImage(new MemoryImageSource(i, j, ai, 0, i));
    public static Image errorDiff2(int ai[], int i, int j, int k, Color color, boolean flag)
    //System.out.println(" [WBMP]-----errorDiff");
    char c = '\377';
    byte byte0 = 2;
    double ad[] = new double[i * j];
    for(int l = 0; l < i * j; l++)
    ad[l] = greypixel(ai[l]);
    int i1 = ((c + 1) * 2) / byte0;
    int j1 = c / (byte0 - 1);
    int k1 = (9 * c) / 32;
    int ai1[] = new int;
    for(int k2 = 0; k2 < i; k2++)
    ai1[k2] = k1;
    for(int l2 = 0; l2 < j; l2++)
    int i3 = (7 * c) / 32;
    int k3 = c / 32;
    for(int i4 = 0; i4 < i; i4++)
    int i2 = (int)ad[l2 * i + i4];
    i2 += i3 + ai1[i4];
    int l1 = (i2 / i1) * j1;
    if(l1 > c)
    l1 = c;
    ad[l2 * i + i4] = l1;
    i2 -= l1;
    int j2 = i2 >> 4;
    i3 = 7 * j2;
    ai1[i4] = 5 * j2 + k3;
    if(i4 > 0)
    ai1[i4 - 1] += 3 * j2;
    k3 = i2 - 15 * j2;
    for(int j3 = 0; j3 < i * j; j3++)
    int l3 = (int)ad[j3];
    if(!flag)
    if("1".equals(handlesinglepixel(l3, 30)))
    ai[j3] = color.getRGB();
    else
    ai[j3] = Color.black.getRGB();
    } else
    if("1".equals(handlesinglepixel(l3, 30)))
    ai[j3] = Color.black.getRGB();
    else
    ai[j3] = color.getRGB();
    return (new Canvas()).createImage(new MemoryImageSource(i, j, ai, 0, i));
    private static int greypixel(int i)
    int j = i >> 24 & 0xff;
    int k = i >> 16 & 0xff;
    int l = i >> 8 & 0xff;
    int i1 = i & 0xff;
    return (k + l + i1) / 3;
    public static String handlesinglepixel(int i, int j)
    //      System.out.println(" [WBMP]-----handlesinglepixel");
    int k = i >> 24 & 0xff;
    int l = i >> 16 & 0xff;
    int i1 = i >> 8 & 0xff;
    int j1 = i & 0xff;
    if((l + i1 + j1) / 3 > j)
    return "1";
    else
    return "0";
    public static Image open(String s)
    throws FileNotFoundException
         //System.out.println(" [WBMP]-----open");
    Image image = null;
    FileInputStream fileinputstream = new FileInputStream(s);
    try
    fileinputstream.read();
    fileinputstream.read();
    int i = readMultiByteInteger(fileinputstream);
    int j = readMultiByteInteger(fileinputstream);
    int ai[] = new int[i * j];
    int k = 0;
    for(int l = 0; l < j; l++)
    for(int i1 = 0; i1 < i / 8; i1++)
    int j1 = fileinputstream.read();
    String s1 = Integer.toBinaryString(j1);
    for(int l1 = 0; l1 < 8 - s1.length(); l1++)
    ai[k++] = Color.black.getRGB();
    for(int i2 = 0; i2 < s1.length(); i2++)
    if(s1.charAt(i2) == '0')
    ai[k++] = Color.black.getRGB();
    else
    ai[k++] = Color.white.getRGB();
    if(i % 8 > 0)
    int k1 = fileinputstream.read();
    String s2 = Integer.toBinaryString(k1);
    String s3 = "";
    for(int j2 = 0; j2 < 8 - s2.length(); j2++)
    s3 = s3 + '0';
    s2 = s3 + s2;
    for(int k2 = 0; k2 < i % 8; k2++)
    if(s2.charAt(k2) == '0')
    ai[k++] = Color.black.getRGB();
    else
    ai[k++] = Color.white.getRGB();
    fileinputstream.close();
    image = (new Canvas()).createImage(new MemoryImageSource(i, j, ai, 0, i));
    catch(Exception _ex)
         _ex.printStackTrace();
    try
    fileinputstream.close();
    catch(Exception _ex2) {_ex2.printStackTrace(); }
    return null;
    return image;
    public static int readMultiByteInteger(InputStream inputstream)
    throws IOException
    //System.out.println(" [WBMP]-----readMultiByteInteger");
    StringBuffer stringbuffer = new StringBuffer("");
    StringBuffer stringbuffer1;
    do
    stringbuffer1 = new StringBuffer(Integer.toBinaryString(inputstream.read()));
    int i = 8 - stringbuffer1.length();
    for(int j = 0; j < i; j++)
    stringbuffer1.insert(0, '0');
    stringbuffer.append(stringbuffer1.substring(1));
    } while(stringbuffer1.charAt(0) != '0');
    return Integer.parseInt(stringbuffer.toString(), 2);
    public static boolean save(int ai[], int i, int j, int k, OutputStream outputstream)
         //System.out.println(" [WBMP]-----save");
    try
    outputstream.write(0);
    outputstream.write(0);
    writeMultiByteInteger(outputstream, i);
    writeMultiByteInteger(outputstream, j);
    String s = "";
    for(int l = 0; l < j; l++)
    for(int i1 = 0; i1 < i; i1++)
    s = s + handlesinglepixel(ai[l * i + i1], k);
    if(s.length() == 8)
    outputstream.write(Integer.parseInt(s, 2));
    s = "";
    if(s.length() > 0)
    int j1 = 8 - s.length();
    for(int k1 = 0; k1 < j1; k1++)
    s = s + "0";
    outputstream.write(Integer.parseInt(s, 2));
    s = "";
    catch(NumberFormatException _ex)
    return false;
    catch(IOException _ex)
    return false;
    return true;
    public static Image threshold(int ai[], int i, int j, int k, Color color, boolean flag)
    int ai1[] = new int[i * j];
    int l = 0;
    for(int i1 = 0; i1 < j; i1++)
    for(int j1 = 0; j1 < i; j1++)
    if(!flag)
    if("1".equals(handlesinglepixel(ai[l], k)))
    ai1[l++] = color.getRGB();
    else
    ai1[l++] = Color.black.getRGB();
    } else
    if("1".equals(handlesinglepixel(ai[l], k)))
    ai1[l++] = Color.black.getRGB();
    else
    ai1[l++] = color.getRGB();
    ai = ai1;
    return (new Canvas()).createImage(new MemoryImageSource(i, j, ai1, 0, i));
    public static void writeMultiByteInteger(OutputStream outputstream, int i)
    throws IOException
    String s = Integer.toBinaryString(i);
    int j = s.length();
    int k = j / 7;
    if(j % 7 != 0)
    k++;
    int ai[] = new int[k];
    int l = j;
    for(int i1 = k - 1; i1 >= 0; i1--)
    StringBuffer stringbuffer = new StringBuffer("");
    for(int k1 = 0; k1 < 7; k1++)
    if(--l < 0)
    stringbuffer.insert(0, '0');
    else
    stringbuffer.insert(0, s.charAt(l));
    if(i1 == k - 1)
    stringbuffer.insert(0, '0');
    else
    stringbuffer.insert(0, '1');
    ai[i1] = Integer.parseInt(stringbuffer.toString(), 2);
    for(int j1 = 0; j1 < ai.length; j1++)
    outputstream.write(ai[j1]);

    Hi
    I am working on a project in which I have to perform a task some thing similar to bluemountain.com. the way, they give option to select a background image, then have to fill a form in which one type its message and then on preview, they can see an image having the text written on it.
    Now I am doing to do this thing using JIMI. So far, what I have done is, I was able to create a jpg file and write several text on different coordinates. But one thing I want to do is, I want to load an existing file and then write text on it. I have tried this code. public static void main(String[] ar)
    try
    Frame frame = new Frame();
    frame.addNotify();
    Image image = frame.createImage(100,30);
    Graphics graphic = image.getGraphics();
    graphic.setFont(new Font("Times New Roman",Font.BOLD,20));
    graphic.setColor(Color.black);
    graphic.drawString("Hi Buddy",10,20);
    graphic.drawString("Cool",50,25);
    Jimi.putImage("image/jpg",image,"try.jpg");
    frame.removeNotify();
    catch(Exception e)
    e.printStackTrace();
    This is the code which creates a new image whereas I want to load an existing image and then write text on it.
    I have already used this code in the upper code.
    Image image = Jimi.getImage("filename");
    But as response, I get the following error msg:
    java.lang.IllegalAccessError:
    getGraphics() only valid for images
    created with createImage(w, h)
    now this is the main problem when I am trying to do the stuff. I m kinda new into this stuff. I tried several things but no luck so far. I have seen that u have already worked on these kinda things so thought you might help me out to get the thing done. Please do reply me with some solution.
    Regards,
    Faisal

  • AWT error message, what does it mean?

    Hello,
    I have a java program that uses AWT, and when i try to run it, i get the error:
    java.lang.NoClassDefFoundError: java.awt.Frame
    anybody know what this means? thanks
    james

    The only other thing I can think of is that you imported the Frame class. Also, you could verify that the import statment spelling and syntax is correct.

  • 1.4.2_02 to 1.4.2_04 prob

    Hello!
    I have recently uninstalled jdk1.4.2_02 and installed jdk1.4.2_04, but when I go to start JWS, it says
    "Bad installation. Error invoking Java VM (SysExec) C:\Program Files\Java\j2re1.4.2_02\bin\javaw.exe"
    I have searched all files on my computer for 1.4.2_02 to see if it's in a props file somewhere, I have also looked at my environment variables and searched my registry. I simply can't find what's pointing JWS to my old (no longer existent) version of the JRE.
    Any help appreciated....
    Eric Sandegren

    Uninstall JDK.
    Search for the key containing this value: 'JAVAWEBSTART.DLL' in the windows registry and delete it.
    Reinstall JDK

  • Java 1.4.2_02 keystore password?

    I am trying to import a self-signed cert using the keytool. I am running j2re1.4.2_02 om windows 2000.
    When prompted with the password I enter "changeit" like I have been doing with previous Java release. It seems as though the keystore default password has changed. Because I keep getting the error
    "keytool error: java.io.IOException: Keystore was tampered with, or password was
    incorrect."
    It looks like Java is now using the deployment.jsscerts file below
    "C:\Documents and Settings\dean\Application Data\Sun\Java\Deployment\security\deployment.jssecerts"
    I had previously imported the cert into the cacerts file
    C:\Program Files\Java\j2re1.4.2_02\lib\security\cacerts
    However I see via the Java Plugin control panel that the jsscerts file is now being used.
    Can anyone tell me what the default password is to the deployment.jsscets keystore ?
    Thanks

    The password for deployment.jssecerts keystore is NULL, when you are loading the keystore and EMPTY, when storing the keystore. Since EMPTY password can not be passed to keytool, it can not be used for adding a certificate to the store. We've to write java code for this. Something like this:
    * Installs a certificate into Java Plugin keystore.
    * @author Tarkeshwar Thakur ([email protected])
    * Usage: java CertInstall <certificate-file-path>
    public class CertInstall
         private static void addCertToKeyStore(File certFile, File keystoreFile)
              throws IOException, CertificateException, NoSuchAlgorithmException,
                        KeyStoreException
              // load certificate
              InputStream certStream = new FileInputStream(certFile);
              CertificateFactory cf = CertificateFactory.getInstance("X.509");
              X509Certificate cert = (X509Certificate)cf.generateCertificate(certStream);
              certStream.close();
              // load keystore
              InputStream ksStream = new FileInputStream(keystoreFile);          
              KeyStore keystore = KeyStore.getInstance("JKS");
              keystore.load(ksStream, null); // second argument is password
              ksStream.close();
              // add certificate to keystore
              keystore.setCertificateEntry("", cert); // first argument is alias
              // save keystore
              OutputStream out = new FileOutputStream(keystoreFile);
              keystore.store(out, new String("").toCharArray()); // second argument is password
              out.close();
         public static void main(String[] args) throws Exception
              if (args.length < 1)
                   System.out.println("Usage: java CertInstall <certificate-file-path>");
                   return;
              File certFile = new File(args[0]);
              File keystoreFile = new File(System.getProperty("user.home") + "/Application Data/Sun/Java/Deployment/security/deployment.jssecerts");
              addCertToKeyStore(certFile, keystoreFile);
              System.out.println("Successfully installed certificate into Java Plugin!");           

  • Error When Running ANY Program

    Anytime I try to run ANY Java program, i get the following error:
    Exception in thread "main" java.lang.NoClassDefFoundError: Program Name
    I am POSITIVE I have compiled the programs and the *.class file appears. Anyone have any idea whats going on?

    Anytime I try to run ANY Java program, i get the
    following error:
    Exception in thread "main"
    java.lang.NoClassDefFoundError: Program Name
    I am POSITIVE I have compiled the programs and the
    *.class file appears. Anyone have any idea whats going
    on?I just ran across what appears to be the exact same problem. The solution was to clear the CLASSPATH variable in the registry first, by entering "set classpath=", then calling the program with "java <program name>". In your case:set classpath=
    java InvoiceAppType both in the directory where InvoiceApp.class is located. If, for some reason, that doesn't work, try:set classpath=<path to library directory of Java installation>
    set classpath=
    java InvoiceAppAn example of the library directory of the Java installation would be "\Program Files\Java\j2re1.4.2_02\lib"
    A more permanent solution would be to remove the CLASSPATH key from the registry (the one under the SYSTEM category). This should also cause any other Java program to run correctly. However, the above should take care of the problem in the short-term.
    Here is the link to the thread, in case it might help you out further:
    http://forum.java.sun.com/thread.jsp?forum=32&thread=467639&tstart=0&trange=15
    Best of luck, and hope this helps.

  • Handling oracle commit erros at Appilcaton level in case of AWT

    Hi All,
    Incase AWT, All transactions committed successfully in the TimesTen database will be successfully propagated to and committed in the Oracle database. Execution errors on Oracle cause the transaction in the Oracle database to be rolled back
    BUT AWT recognizes this Errors later , Since AWT propagates the commoted updates to oracle syncronously (The errors may be reported in the AWT error file long after the commit to TimesTen occurs). How these kind of errors handled at Application level, since Timesten do not raise thease errors immediately , mean while application might assumes that it got commited in oracle , it may procede with another set of transactions .
    Kindly help on this
    Thanks,
    -AK

    This is a problem with any type of asynchronous propagation. Details of any AWT apply errors are reported in the datastores .awterrs file. You can process that file to determine if there were any errors and maybe take recovery action. If your application cannot tolerate this type of behaviour then asynchronous propagation is not appropriate for you and you should use a different option.
    Chris

  • IE crashes after extended use of plug-in

    Hi all:
    After moving to v1.4.2 I've noticed that IE will throw an exception after extended use of the plug-in. By extended use I mean we navigate to applet pages and cycle through over and over (which by the way is part of the normal use of our web site).
    Our web site makes use of four different applets, one of which is a larger graphical applet that makes use of a large amount of memory. IE seems to consistely crash upon initialization of this larger applet (after repeated cycles) but not exclusively so. If we cycle between the three other applets without going to the larger one, IE will eventually crash, it just takes longer to do so. This leads me to think that memory is an issue here. Could there be a memory leak in 1.4.2?
    We've been able to reproduce this IE exception consistently on a Windows 2000 platform running IE v6.0.2800.1106 and with java plug-in versions 1.4.2, 1.4.2_02, and 1.4.2_03. IE crashes even faster when we do this test on Windows Me.
    I know there's got to be others of you out there that have seen this problem. Have any of you found good workarounds for this? Staying on version 1.4.1_06 is not possible for us because of the "zip file is closed" exception that is always thrown when you have caching turned on and you call Crypt.getInstance. Sun's workaround for this only works the first two times you use the applet in the browser session. The third or fourth time it always seems to produce the exception.
    I know this isn't a lot of information but any help would be greatly appreciated.
    The IE exception log is below.
    Steve
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_PRIV_INSTRUCTION (0xc0000096) occurred at PC=0x6D2FA457
    Function=[Unknown.]
    Library=C:\Program Files\Java\j2re1.4.2_02\bin\jpicom32.dll
    NOTE: We are unable to locate the function name symbol for the error
    just occurred. Please refer to release documentation for possible
    reason and solutions.
    Current Java thread:
         at sun.plugin.services.WPlatformService.waitEvent(Native Method)
         at sun.plugin.viewer.frame.IExplorerEmbeddedFrame.destroy(Unknown Source)
    Dynamic libraries:
    0x00400000 - 0x00419000      C:\Program Files\Internet Explorer\iexplore.exe
    0x77F80000 - 0x77FFB000      C:\WINNT\system32\ntdll.dll
    0x78000000 - 0x78045000      C:\WINNT\system32\msvcrt.dll
    0x7C4E0000 - 0x7C599000      C:\WINNT\system32\KERNEL32.dll
    0x77E10000 - 0x77E75000      C:\WINNT\system32\USER32.dll
    0x77F40000 - 0x77F7C000      C:\WINNT\system32\GDI32.DLL
    0x70BD0000 - 0x70C35000      C:\WINNT\system32\SHLWAPI.dll
    0x7C2D0000 - 0x7C332000      C:\WINNT\system32\ADVAPI32.dll
    0x77D30000 - 0x77D9E000      C:\WINNT\system32\RPCRT4.DLL
    0x71700000 - 0x71849000      C:\WINNT\system32\SHDOCVW.dll
    0x007A0000 - 0x00824000      C:\WINNT\system32\comctl32.dll
    0x782F0000 - 0x78538000      C:\WINNT\system32\SHELL32.dll
    0x77A50000 - 0x77B3C000      C:\WINNT\system32\ole32.dll
    0x71160000 - 0x7125D000      C:\WINNT\system32\BROWSEUI.dll
    0x71960000 - 0x71972000      C:\WINNT\system32\browselc.dll
    0x775A0000 - 0x77626000      C:\WINNT\system32\CLBCATQ.DLL
    0x779B0000 - 0x77A4B000      C:\WINNT\system32\OLEAUT32.dll
    0x70200000 - 0x70295000      C:\WINNT\system32\WININET.dll
    0x77440000 - 0x774B8000      C:\WINNT\system32\CRYPT32.dll
    0x77430000 - 0x77440000      C:\WINNT\system32\MSASN1.DLL
    0x77840000 - 0x7787E000      C:\WINNT\system32\cscui.dll
    0x770C0000 - 0x770E3000      C:\WINNT\system32\CSCDLL.DLL
    0x10000000 - 0x10008000      C:\Program Files\Adobe\Acrobat 5.0\Reader\ActiveX\AcroIEHelper.ocx
    0x01A90000 - 0x01AA2000      C:\WINNT\system32\BHOManager.dll
    0x780C0000 - 0x78121000      C:\WINNT\system32\MSVCP60.dll
    0x1A400000 - 0x1A47A000      C:\WINNT\system32\urlmon.dll
    0x77820000 - 0x77827000      C:\WINNT\system32\VERSION.dll
    0x759B0000 - 0x759B6000      C:\WINNT\system32\LZ32.DLL
    0x718C0000 - 0x71944000      C:\WINNT\system32\shdoclc.dll
    0x70440000 - 0x704CF000      C:\WINNT\system32\mlang.dll
    0x75050000 - 0x75058000      C:\WINNT\system32\wsock32.dll
    0x75030000 - 0x75044000      C:\WINNT\system32\WS2_32.DLL
    0x75020000 - 0x75028000      C:\WINNT\system32\WS2HELP.DLL
    0x74FD0000 - 0x74FEE000      C:\WINNT\system32\msafd.dll
    0x75010000 - 0x75017000      C:\WINNT\System32\wshtcpip.dll
    0x774E0000 - 0x77513000      C:\WINNT\system32\RASAPI32.DLL
    0x774C0000 - 0x774D1000      C:\WINNT\system32\RASMAN.DLL
    0x77530000 - 0x77552000      C:\WINNT\system32\TAPI32.DLL
    0x77830000 - 0x7783E000      C:\WINNT\system32\RTUTILS.DLL
    0x75AB0000 - 0x75AB5000      C:\WINNT\system32\sensapi.dll
    0x7C0F0000 - 0x7C152000      C:\WINNT\system32\USERENV.DLL
    0x75170000 - 0x751BF000      C:\WINNT\system32\netapi32.dll
    0x7C340000 - 0x7C34F000      C:\WINNT\system32\SECUR32.DLL
    0x751C0000 - 0x751C6000      C:\WINNT\system32\NETRAP.DLL
    0x75150000 - 0x7515F000      C:\WINNT\system32\SAMLIB.DLL
    0x77950000 - 0x7797A000      C:\WINNT\system32\WLDAP32.DLL
    0x77980000 - 0x779A4000      C:\WINNT\system32\DNSAPI.DLL
    0x01F10000 - 0x02114000      C:\WINNT\system32\msi.dll
    0x61220000 - 0x6122B000      C:\Program Files\Microsoft Hardware\Mouse\MSH_ZWF.dll
    0x76620000 - 0x76631000      C:\WINNT\system32\MPR.DLL
    0x75160000 - 0x7516C000      C:\WINNT\System32\ntlanman.dll
    0x75210000 - 0x75225000      C:\WINNT\System32\NETUI0.DLL
    0x751D0000 - 0x75208000      C:\WINNT\System32\NETUI1.DLL
    0x76710000 - 0x76719000      C:\WINNT\system32\LINKINFO.DLL
    0x76FA0000 - 0x76FAF000      C:\WINNT\system32\ntshrui.dll
    0x773E0000 - 0x773F5000      C:\WINNT\system32\ATL.DLL
    0x1C000000 - 0x1C006000      C:\Program Files\AIM95\idlemon.dll
    0x782C0000 - 0x782CC000      C:\WINNT\System32\rnr20.dll
    0x77340000 - 0x77353000      C:\WINNT\system32\iphlpapi.dll
    0x77520000 - 0x77525000      C:\WINNT\system32\ICMP.DLL
    0x77320000 - 0x77337000      C:\WINNT\system32\MPRAPI.DLL
    0x773B0000 - 0x773DF000      C:\WINNT\system32\ACTIVEDS.DLL
    0x77380000 - 0x773A3000      C:\WINNT\system32\ADSLDPC.DLL
    0x77880000 - 0x7790E000      C:\WINNT\system32\SETUPAPI.DLL
    0x77360000 - 0x77379000      C:\WINNT\system32\DHCPCSVC.DLL
    0x777E0000 - 0x777E8000      C:\WINNT\System32\winrnr.dll
    0x777F0000 - 0x777F5000      C:\WINNT\system32\rasadhlp.dll
    0x63580000 - 0x6382C000      C:\WINNT\System32\mshtml.dll
    0x75E60000 - 0x75E7A000      C:\WINNT\system32\IMM32.DLL
    0x6B700000 - 0x6B790000      C:\WINNT\system32\jscript.dll
    0x6B600000 - 0x6B671000      C:\WINNT\system32\vbscript.dll
    0x75AC0000 - 0x75AE8000      C:\WINNT\system32\MSLS31.DLL
    0x70FB0000 - 0x70FEB000      C:\WINNT\System32\iepeers.dll
    0x77800000 - 0x7781E000      C:\WINNT\System32\WINSPOOL.DRV
    0x030C0000 - 0x0324D000      C:\WINNT\System32\macromed\flash\Flash.ocx
    0x77570000 - 0x775A0000      C:\WINNT\system32\WINMM.dll
    0x76B30000 - 0x76B6E000      C:\WINNT\system32\comdlg32.dll
    0x77560000 - 0x77568000      C:\WINNT\system32\wdmaud.drv
    0x77400000 - 0x77408000      C:\WINNT\system32\msacm32.drv
    0x77410000 - 0x77423000      C:\WINNT\system32\MSACM32.dll
    0x70F30000 - 0x70F9E000      C:\WINNT\System32\mshtmled.dll
    0x750A0000 - 0x750C8000      C:\WINNT\system32\NETMSG.DLL
    0x75D40000 - 0x75D46000      C:\WINNT\system32\msadp32.acm
    0x6D440000 - 0x6D450000      C:\Program Files\Java\j2re1.4.2_02\bin\npjpi142_02.dll
    0x695E0000 - 0x69609000      C:\WINNT\system32\OLEPRO32.DLL
    0x6D310000 - 0x6D327000      C:\Program Files\Java\j2re1.4.2_02\bin\jpiexp32.dll
    0x6D380000 - 0x6D398000      C:\Program Files\Java\j2re1.4.2_02\bin\jpishare.dll
    0x08000000 - 0x08138000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\client\jvm.dll
    0x04470000 - 0x04477000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\hpi.dll
    0x04490000 - 0x0449E000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\verify.dll
    0x044A0000 - 0x044B9000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\java.dll
    0x044C0000 - 0x044CD000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\zip.dll
    0x06950000 - 0x06A5F000      C:\Program Files\Java\j2re1.4.2_02\bin\awt.dll
    0x06A60000 - 0x06AB0000      C:\Program Files\Java\j2re1.4.2_02\bin\fontmanager.dll
    0x51000000 - 0x51044000      C:\WINNT\system32\ddraw.dll
    0x728A0000 - 0x728A6000      C:\WINNT\system32\DCIMAN32.dll
    0x5C000000 - 0x5C0C7000      C:\WINNT\system32\D3DIM700.DLL
    0x6D2F0000 - 0x6D304000      C:\Program Files\Java\j2re1.4.2_02\bin\jpicom32.dll
    0x078C0000 - 0x078CF000      C:\Program Files\Java\j2re1.4.2_02\bin\net.dll
    0x07AD0000 - 0x07AF2000      C:\Program Files\Java\j2re1.4.2_02\bin\dcpr.dll
    0x77920000 - 0x77943000      C:\WINNT\system32\imagehlp.dll
    0x72A00000 - 0x72A2D000      C:\WINNT\system32\DBGHELP.dll
    0x690A0000 - 0x690AB000      C:\WINNT\system32\PSAPI.DLL
    Heap at VM Abort:
    Heap
    def new generation total 576K, used 535K [0x10010000, 0x100b0000, 0x10770000)
    eden space 512K, 97% used [0x10010000, 0x1008d520, 0x10090000)
    from space 64K, 53% used [0x10090000, 0x10098860, 0x100a0000)
    to space 64K, 0% used [0x100a0000, 0x100a0000, 0x100b0000)
    tenured generation total 3236K, used 2689K [0x10770000, 0x10a99000, 0x16010000)
    the space 3236K, 83% used [0x10770000, 0x10a10628, 0x10a10800, 0x10a99000)
    compacting perm gen total 6144K, used 6102K [0x16010000, 0x16610000, 0x1a010000)
    the space 6144K, 99% used [0x16010000, 0x16605960, 0x16605a00, 0x16610000)
    Local Time = Fri Dec 05 15:09:45 2003
    Elapsed Time = 29
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_02-b03 mixed mode)

    I am also having problems with ie crashing with the use of java. mine crashes mostly when i try to enter a website like yahoo games and it crashes within a few seconds. here are some of my error reports. i do not know anything about java except that i need it to run on certain gaming websites.
    Unexpected Signal : EXCEPTION_ILLEGAL_INSTRUCTION (0xc000001d) occurred at PC=0x8222206
    Function=java.lang.Object.notifyAll()V (compiled Java code)
    Library=(N/A)
    Current Java thread:
         at java.lang.Object.notifyAll(Native Method)
         at a.a.d.d.i.a(Unknown Source)
         - locked <0x11afe248> (a a.a.d.d.i)
         at a.a.b.a.a.ye.run(Unknown Source)
    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
    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
    0x00A20000 - 0x00AA8000      C:\WINDOWS\system32\shdoclc.dll
    0x5AD70000 - 0x5ADA8000      C:\WINDOWS\system32\UxTheme.dll
    0x77FE0000 - 0x77FF1000      C:\WINDOWS\system32\Secur32.dll
    0x77260000 - 0x772FE000      C:\WINDOWS\system32\urlmon.dll
    0x77A20000 - 0x77A74000      C:\WINDOWS\System32\cscui.dll
    0x76600000 - 0x7661D000      C:\WINDOWS\System32\CSCDLL.dll
    0x77920000 - 0x77A13000      C:\WINDOWS\system32\SETUPAPI.dll
    0x10000000 - 0x1000B000      C:\Program Files\Adobe\Acrobat 6.0\Reader\ActiveX\AcroIEHelper.dll
    0x00E90000 - 0x00F4B000      C:\Program Files\Spybot - Search & Destroy\SDHelper.dll
    0x5EDD0000 - 0x5EDE7000      C:\WINDOWS\system32\olepro32.dll
    0x01050000 - 0x01315000      C:\WINDOWS\system32\xpsp2res.dll
    0x01320000 - 0x0137A000      C:\PROGRA~1\iolo\SYSTEM~1\URLSTO~1.DLL
    0x75E90000 - 0x75F40000      C:\WINDOWS\system32\SXS.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
    0x77C70000 - 0x77C93000      C:\WINDOWS\system32\msv1_0.dll
    0x76D60000 - 0x76D79000      C:\WINDOWS\system32\iphlpapi.dll
    0x01500000 - 0x01522000      C:\Program Files\Panda Software\Panda Antivirus Platinum\enganche.dll
    0x722B0000 - 0x722B5000      C:\WINDOWS\system32\sensapi.dll
    0x06340000 - 0x06355000      C:\Program Files\Panda Software\Panda Antivirus Platinum\Firewall\SSSensor.dll
    0x7D1E0000 - 0x7D492000      C:\WINDOWS\system32\msi.dll
    0x769C0000 - 0x76A73000      C:\WINDOWS\system32\USERENV.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
    0x75C50000 - 0x75CBE000      C:\WINDOWS\system32\jscript.dll
    0x66E50000 - 0x66E8F000      C:\WINDOWS\system32\iepeers.dll
    0x73000000 - 0x73026000      C:\WINDOWS\system32\WINSPOOL.DRV
    0x73300000 - 0x73367000      C:\WINDOWS\system32\vbscript.dll
    0x73DD0000 - 0x73ECE000      C:\WINDOWS\system32\MFC42.DLL
    0x029C0000 - 0x02B67000      C:\WINDOWS\system32\macromed\flash\Flash.ocx
    0x763B0000 - 0x763F9000      C:\WINDOWS\system32\comdlg32.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
    0x6BDD0000 - 0x6BE05000      C:\WINDOWS\system32\dxtrans.dll
    0x76B20000 - 0x76B31000      C:\WINDOWS\system32\ATL.DLL
    0x6D430000 - 0x6D43A000      C:\WINDOWS\system32\ddrawex.dll
    0x73760000 - 0x737A9000      C:\WINDOWS\system32\DDRAW.dll
    0x73BC0000 - 0x73BC6000      C:\WINDOWS\system32\DCIMAN32.dll
    0x6BE10000 - 0x6BE6A000      C:\WINDOWS\system32\dxtmsft.dll
    0x76200000 - 0x76271000      C:\WINDOWS\system32\mshtmled.dll
    0x767F0000 - 0x76817000      C:\WINDOWS\system32\schannel.dll
    0x0FFD0000 - 0x0FFF8000      C:\WINDOWS\system32\rsaenh.dll
    0x68100000 - 0x68124000      C:\WINDOWS\system32\dssenh.dll
    0x71D40000 - 0x71D5C000      C:\WINDOWS\system32\actxprxy.dll
    0x5E0C0000 - 0x5E0CD000      C:\WINDOWS\system32\pstorec.dll
    0x6D460000 - 0x6D470000      C:\Program Files\Java\j2re1.4.2_06\bin\npjpi142_06.dll
    0x6D330000 - 0x6D348000      C:\Program Files\Java\j2re1.4.2_06\bin\jpiexp32.dll
    0x6D3A0000 - 0x6D3B8000      C:\Program Files\Java\j2re1.4.2_06\bin\jpishare.dll
    0x08000000 - 0x08139000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\client\jvm.dll
    0x01CD0000 - 0x01CD7000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\hpi.dll
    0x01CF0000 - 0x01CFE000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\verify.dll
    0x01D00000 - 0x01D19000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\java.dll
    0x023F0000 - 0x023FD000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\zip.dll
    0x05D30000 - 0x05E42000      C:\Program Files\Java\j2re1.4.2_06\bin\awt.dll
    0x05E50000 - 0x05EA1000      C:\Program Files\Java\j2re1.4.2_06\bin\fontmanager.dll
    0x73940000 - 0x73A10000      C:\WINDOWS\system32\D3DIM700.DLL
    0x6D310000 - 0x6D324000      C:\Program Files\Java\j2re1.4.2_06\bin\jpicom32.dll
    0x6D480000 - 0x6D49D000      C:\Program Files\Java\j2re1.4.2_06\bin\RegUtils.dll
    0x062D0000 - 0x062DF000      C:\Program Files\Java\j2re1.4.2_06\bin\net.dll
    0x062E0000 - 0x06302000      C:\Program Files\Java\j2re1.4.2_06\bin\dcpr.dll
    0x5FF20000 - 0x5FF46000      C:\WINDOWS\system32\MSRATING.dll
    0x5FF50000 - 0x5FF61000      C:\WINDOWS\system32\msratelc.dll
    0x75E60000 - 0x75E73000      C:\WINDOWS\system32\cryptnet.dll
    0x4D4F0000 - 0x4D548000      C:\WINDOWS\system32\WINHTTP.dll
    0x07880000 - 0x078A4000      C:\Program Files\Java\j2re1.4.2_06\bin\jsound.dll
    0x07CB0000 - 0x07CCE000      C:\Program Files\Java\j2re1.4.2_06\bin\jpeg.dll
    0x59A60000 - 0x59B01000      C:\WINDOWS\system32\DBGHELP.dll
    0x76BF0000 - 0x76BFB000      C:\WINDOWS\system32\PSAPI.DLL
    Heap at VM Abort:
    Heap
    def new generation total 4096K, used 860K [0x10010000, 0x10480000, 0x10770000)
    eden space 3648K, 13% used [0x10010000, 0x10089160, 0x103a0000)
    from space 448K, 83% used [0x103a0000, 0x103fdf10, 0x10410000)
    to space 448K, 0% used [0x10410000, 0x10410000, 0x10480000)
    tenured generation total 53748K, used 42262K [0x10770000, 0x13bed000, 0x16010000)
    the space 53748K, 78% used [0x10770000, 0x130b5a48, 0x130b5c00, 0x13bed000)
    compacting perm gen total 11264K, used 11147K [0x16010000, 0x16b10000, 0x1a010000)
    the space 11264K, 98% used [0x16010000, 0x16af2f38, 0x16af3000, 0x16b10000)
    Local Time = Wed Feb 02 20:28:08 2005
    Elapsed Time = 918
    # 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_06-b03 mixed mode)
    heres another:
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d7055ba, pid=4008, tid=1456
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_01-b08 mixed mode)
    # Problematic frame:
    # V [jvm.dll+0xc55ba]
    --------------- T H R E A D ---------------
    Current thread (0x02949c20): VMThread [id=1456]
    siginfo: ExceptionCode=0xc0000005, reading address 0xe101ea68
    Registers:
    EAX=0xe101ea68, EBX=0x0575a138, ECX=0x029e220c, EDX=0x6d763f3c
    ESP=0x0514fc04, EBP=0x0514fc1c, ESI=0x029e2204, EDI=0x02936ce0
    EIP=0x6d7055ba, EFLAGS=0x00010282
    Top of Stack: (sp=0x0514fc04)
    0x0514fc04: 6d6b2903 029e220c 02939fd0 6d7a6ba0
    0x0514fc14: 02939fd0 00002ac7 0514fc40 6d6acbb7
    0x0514fc24: 6d7a6ba0 02939fd0 6d7a6ba0 00000001
    0x0514fc34: 6d6ade1f 00000001 00000000 0514fc98
    0x0514fc44: 6d6ade2c 6d7a6ba0 6d7a6b80 00000001
    0x0514fc54: 02939fd0 00000000 00000000 00000001
    0x0514fc64: 00000001 00000000 00000000 00000000
    0x0514fc74: 00000000 000047c0 00000000 02930228
    Instructions: (pc=0x6d7055ba)
    0x6d7055aa: 00 e9 9b fd ff ff 8b 4c 24 04 8b 01 85 c0 74 09
    0x6d7055ba: 8b 00 83 e0 fc 74 02 89 01 c2 04 00 8b 4c 24 04
    Stack: [0x05050000,0x05150000), sp=0x0514fc04, free space=1023k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V [jvm.dll+0xc55ba]
    V [jvm.dll+0x6cbb7]
    V [jvm.dll+0x6de2c]
    V [jvm.dll+0x6da0d]
    V [jvm.dll+0x70fd9]
    V [jvm.dll+0xfd71a]
    V [jvm.dll+0x6c816]
    V [jvm.dll+0x50460]
    V [jvm.dll+0x6c993]
    V [jvm.dll+0x117db0]
    V [jvm.dll+0x117887]
    V [jvm.dll+0x117a27]
    V [jvm.dll+0x1177bc]
    C [msvcrt.dll+0x2a3b0]
    C [kernel32.dll+0xb50b]
    VM_Operation (0x08f5fa3c): generation collection for allocation, mode: safepoint, requested by thread 0x085601c8
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x085601c8 JavaThread "Thread-6" [_thread_blocked, id=888]
    0x08560048 JavaThread "OldCommBridge[lobby]" [_thread_blocked, id=3244]
    0x058626a8 JavaThread "Thread-5" [_thread_blocked, id=3556]
    0x0868e1a8 JavaThread "AWT-EventQueue-2" [_thread_blocked, id=1764]
    0x057f8f60 JavaThread "Keep-Alive-Timer" daemon [_thread_blocked, id=3988]
    0x0871b458 JavaThread "Thread-3" [_thread_blocked, id=1924]
    0x08665980 JavaThread "thread applet-Poker4Applet" [_thread_blocked, id=2292]
    0x05857fe8 JavaThread "TimerQueue" daemon [_thread_blocked, id=468]
    0x05840760 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=3068]
    0x0583e7f0 JavaThread "ConsoleWriterThread" daemon [_thread_blocked, id=3120]
    0x057cb3c8 JavaThread "AWT-EventQueue-1" [_thread_blocked, id=3352]
    0x057b5cb0 JavaThread "traceMsgQueueThread" [_thread_blocked, id=2700]
    0x057aeec8 JavaThread "AWT-Windows" daemon [_thread_in_native, id=696]
    0x057aeae0 JavaThread "AWT-Shutdown" [_thread_blocked, id=3500]
    0x057a93d0 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3204]
    0x02a06a08 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=924]
    0x02a05638 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2796]
    0x02a049c0 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=832]
    0x029fbe90 JavaThread "Finalizer" daemon [_thread_blocked, id=3772]
    0x029faa00 JavaThread "Reference Handler" daemon [_thread_blocked, id=1252]
    0x0294a848 JavaThread "main" [_thread_in_native, id=3440]
    Other Threads:
    =>0x02949c20 VMThread [id=1456]
    0x02a07be0 WatcherThread [id=1080]
    VM state:at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
    [0x0294a3a0/0x00000930] Threads_lock - owner thread: 0x02949c20
    [0x0294a520/0x0000096c] Heap_lock - owner thread: 0x085601c8
    Heap
    def new generation total 576K, used 64K [0x10010000, 0x100b0000, 0x10770000)
    eden space 512K, 0% used [0x10010000, 0x10010000, 0x10090000)
    from space 64K, 100% used [0x10090000, 0x100a0000, 0x100a0000)
    to space 64K, 0% used [0x100a0000, 0x100a0000, 0x100b0000)
    tenured generation total 6228K, used 3805K [0x10770000, 0x10d85000, 0x16010000)
    the space 6228K, 61% used [0x10770000, 0x10b27578, 0x10b34400, 0x10d85000)
    compacting perm gen total 10240K, used 10179K [0x16010000, 0x16a10000, 0x1a010000)
    the space 10240K, 99% used [0x16010000, 0x16a00f30, 0x16a01000, 0x16a10000)
    No shared spaces configured.
    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 - 0x7761d000      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
    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
    0x00a20000 - 0x00aa8000      C:\WINDOWS\system32\shdoclc.dll
    0x5ad70000 - 0x5ada8000      C:\WINDOWS\system32\UxTheme.dll
    0x77fe0000 - 0x77ff1000      C:\WINDOWS\system32\Secur32.dll
    0x77260000 - 0x772fe000      C:\WINDOWS\system32\urlmon.dll
    0x77a20000 - 0x77a74000      C:\WINDOWS\System32\cscui.dll
    0x76600000 - 0x7661d000      C:\WINDOWS\System32\CSCDLL.dll
    0x77920000 - 0x77a13000      C:\WINDOWS\system32\SETUPAPI.dll
    0x10000000 - 0x1000b000      C:\Program Files\Adobe\Acrobat 6.0\Reader\ActiveX\AcroIEHelper.dll
    0x00e90000 - 0x00f4b000      C:\Program Files\Spybot - Search & Destroy\SDHelper.dll
    0x5edd0000 - 0x5ede7000      C:\WINDOWS\system32\olepro32.dll
    0x01050000 - 0x01315000      C:\WINDOWS\system32\xpsp2res.dll
    0x01320000 - 0x0137a000      C:\PROGRA~1\iolo\SYSTEM~1\URLSTO~1.DLL
    0x75e90000 - 0x75f40000      C:\WINDOWS\system32\SXS.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
    0x014c0000 - 0x014e2000      C:\Program Files\Panda Software\Panda Antivirus Platinum\enganche.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
    0x06340000 - 0x06355000      C:\Program Files\Panda Software\Panda Antivirus Platinum\Firewall\SSSensor.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
    0x767f0000 - 0x76817000      C:\WINDOWS\system32\schannel.dll
    0x0ffd0000 - 0x0fff8000      C:\WINDOWS\system32\rsaenh.dll
    0x68100000 - 0x68124000      C:\WINDOWS\system32\dssenh.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
    0x75c50000 - 0x75cbe000      C:\WINDOWS\system32\jscript.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
    0x66e50000 - 0x66e8f000      C:\WINDOWS\system32\iepeers.dll
    0x73000000 - 0x73026000      C:\WINDOWS\system32\WINSPOOL.DRV
    0x73300000 - 0x73367000      C:\WINDOWS\system32\vbscript.dll
    0x73dd0000 - 0x73ece000      C:\WINDOWS\system32\MFC42.DLL
    0x02f00000 - 0x030a7000      C:\WINDOWS\system32\macromed\flash\Flash.ocx
    0x763b0000 - 0x763f9000      C:\WINDOWS\system32\comdlg32.dll
    0x6bdd0000 - 0x6be05000      C:\WINDOWS\system32\dxtrans.dll
    0x76b20000 - 0x76b31000      C:\WINDOWS\system32\ATL.DLL
    0x6d430000 - 0x6d43a000      C:\WINDOWS\system32\ddrawex.dll
    0x73760000 - 0x737a9000      C:\WINDOWS\system32\DDRAW.dll
    0x73bc0000 - 0x73bc6000      C:\WINDOWS\system32\DCIMAN32.dll
    0x6be10000 - 0x6be6a000      C:\WINDOWS\system32\dxtmsft.dll
    0x75e60000 - 0x75e73000      C:\WINDOWS\system32\cryptnet.dll
    0x4d4f0000 - 0x4d548000      C:\WINDOWS\system32\WINHTTP.dll
    0x76200000 - 0x76271000      C:\WINDOWS\system32\mshtmled.dll
    0x71d40000 - 0x71d5c000      C:\WINDOWS\system32\actxprxy.dll
    0x6d590000 - 0x6d5a1000      C:\Program Files\Java\jre1.5.0_01\bin\npjpi150_01.dll
    0x6d400000 - 0x6d417000      C:\Program Files\Java\jre1.5.0_01\bin\jpiexp32.dll
    0x6d450000 - 0x6d468000      C:\Program Files\Java\jre1.5.0_01\bin\jpishare.dll
    0x6d640000 - 0x6d7c5000      C:\PROGRA~1\Java\JRE15~1.0_0\bin\client\jvm.dll
    0x6d280000 - 0x6d288000      C:\PROGRA~1\Java\JRE15~1.0_0\bin\hpi.dll
    0x76bf0000 - 0x76bfb000      C:\WINDOWS\system32\PSAPI.DLL
    0x6d610000 - 0x6d61c000      C:\PROGRA~1\Java\JRE15~1.0_0\bin\verify.dll
    0x6d300000 - 0x6d31d000      C:\PROGRA~1\Java\JRE15~1.0_0\bin\java.dll
    0x6d630000 - 0x6d63f000      C:\PROGRA~1\Java\JRE15~1.0_0\bin\zip.dll
    0x6d000000 - 0x6d166000      C:\Program Files\Java\jre1.5.0_01\bin\awt.dll
    0x73940000 - 0x73a10000      C:\WINDOWS\system32\D3DIM700.DLL
    0x6d240000 - 0x6d27d000      C:\Program Files\Java\jre1.5.0_01\bin\fontmanager.dll
    0x6d1f0000 - 0x6d203000      C:\Program Files\Java\jre1.5.0_01\bin\deploy.dll
    0x6d5d0000 - 0x6d5ed000      C:\Program Files\Java\jre1.5.0_01\bin\RegUtils.dll
    0x6d3e0000 - 0x6d3f4000      C:\Program Files\Java\jre1.5.0_01\bin\jpicom32.dll
    0x6d4c0000 - 0x6d4d3000      C:\Program Files\Java\jre1.5.0_01\bin\net.dll
    0x6d4e0000 - 0x6d4e9000      C:\Program Files\Java\jre1.5.0_01\bin\nio.dll
    VM Arguments:
    jvm_args: -Xbootclasspath/a:C:\PROGRA~1\Java\JRE15~1.0_0\lib\deploy.jar;C:\PROGRA~1\Java\JRE15~1.0_0\lib\plugin.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.5.0_01 -Djavaplugin.nodotversion=150_01 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~1\Java\JRE15~1.0_0 -Djava.protocol.handler.pkgs=sun.plugin.net.protocol -Djavaplugin.vm.options=-Djava.class.path=C:\PROGRA~1\Java\JRE15~1.0_0\classes -Xbootclasspath/a:C:\PROGRA~1\Java\JRE15~1.0_0\lib\deploy.jar;C:\PROGRA~1\Java\JRE15~1.0_0\lib\plugin.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.5.0_01 -Djavaplugin.nodotversion=150_01 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~1\Java\JRE15~1.0_0 -Djava.protocol.handler.pkgs=sun.plugin.net.protocol vfprintf
    java_command: <unknown>
    Environment Variables:
    PATH=C:\PROGRA~1\Java\JRE15~1.0_0\bin;C:\Program Files\Internet Explorer;;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Panda Software\Panda Antivirus Platinum\;C:\Program Files\Support Tools\;.
    USERNAME=Mark
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 12 Stepping 0, AuthenticAMD
    --------------- S Y S T E M ---------------
    OS: Windows XP Build 2600 Service Pack 2
    CPU:total 1 family 15, cmov, cx8, fxsr, mmx, sse, sse2
    Memory: 4k page, physical 1047280k(464504k free), swap 2518976k(2127492k free)
    vm_info: Java HotSpot(TM) Client VM (1.5.0_01-b08) for windows-x86, built on Dec 6 2004 19:51:00 by "java_re" with MS VC++ 6.0
    I am at my wits end trying to correct this problem. Any help would be appreciated. Thanks

  • New JScrollPane() gives NoClassDefFoundError

    Hello,
    I get an error when I try to create a JScrollPane-object.
    My OS is Debian (Linux) and I get this error with:
    j2re1.4.1_04-linux-i586.bin
    j2re1.4.2_01-linux-i586.bin
    j2re1.4.2_02-linux-i586.bin
    j2re1.4.2_03-linux-i586.bin
    j2re1.4.2_04-linux-i586.bin
    j2sdk1.4.2_04-linux-i586.bin
    j2re1.4.2_05-linux-i586.bin
    Hope that someone can help me ...
    Thanks,
    Pieter
    Testcode
    # vim test.java
    1 import javax.swing.JScrollPane;
    2
    3 public class test {
    4 public static void main (String[] args) {
    5 new JScrollPane();
    6 }
    7 }
    # /opt/j2re1.4.2_05/bin/java test
    Exception in thread "main" java.lang.NoClassDefFoundError
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
    at java.awt.Font.initializeFont(Unknown Source)
    at java.awt.Font.<init>(Unknown Source)
    at javax.swing.plaf.metal.DefaultMetalTheme$FontDelegate.getFont(Unknown Source)
    at javax.swing.plaf.metal.DefaultMetalTheme.getFont(Unknown Source)
    at javax.swing.plaf.metal.DefaultMetalTheme.getControlTextFont(Unknown Source)
    at javax.swing.plaf.metal.MetalLookAndFeel$FontActiveValue.createValue(Unknown Source)
    at javax.swing.UIDefaults.getFromHashtable(Unknown Source)
    at javax.swing.UIDefaults.get(Unknown Source)
    at javax.swing.MultiUIDefaults.get(Unknown Source)
    at javax.swing.UIDefaults.getFont(Unknown Source)
    at javax.swing.UIManager.getFont(Unknown Source)
    at javax.swing.LookAndFeel.installColorsAndFont(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonUI.installDefaults(Unknown Source)
    at javax.swing.plaf.metal.MetalButtonUI.installDefaults(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonUI.installUI(Unknown Source)
    at javax.swing.JComponent.setUI(Unknown Source)
    at javax.swing.AbstractButton.setUI(Unknown Source)
    at javax.swing.JButton.updateUI(Unknown Source)
    at javax.swing.AbstractButton.init(Unknown Source)
    at javax.swing.JButton.<init>(Unknown Source)
    at javax.swing.JButton.<init>(Unknown Source)
    at javax.swing.plaf.basic.BasicArrowButton.<init>(Unknown Source)
    at javax.swing.plaf.basic.BasicArrowButton.<init>(Unknown Source)
    at javax.swing.plaf.metal.MetalScrollButton.<init>(Unknown Source)
    at javax.swing.plaf.metal.MetalScrollBarUI.createIncreaseButton(Unknown Source)
    at javax.swing.plaf.basic.BasicScrollBarUI.installDefaults(Unknown Source)
    at javax.swing.plaf.metal.MetalScrollBarUI.installDefaults(Unknown Source)
    at javax.swing.plaf.basic.BasicScrollBarUI.installUI(Unknown Source)
    at javax.swing.JComponent.setUI(Unknown Source)
    at javax.swing.JScrollBar.setUI(Unknown Source)
    at javax.swing.JScrollBar.updateUI(Unknown Source)
    at javax.swing.JScrollBar.<init>(Unknown Source)
    at javax.swing.JScrollBar.<init>(Unknown Source)
    at javax.swing.JScrollPane$ScrollBar.<init>(Unknown Source)
    at javax.swing.JScrollPane.createVerticalScrollBar(Unknown Source)
    at javax.swing.JScrollPane.<init>(Unknown Source)
    at javax.swing.JScrollPane.<init>(Unknown Source)
    at test.main(test.java:5)

    Is the X window system running and the DISPLAY environment variable set?
    Alternatively you could see if setting the system property java.awt.headless to true is enough for you, it lets you do some graphical things that don't really need X but will result in java.awt.HeadlessException if X is needed:
    java -Djava.awt.headless=true test

  • Problems in Classpath and Path 's variables setting in Windows XP

    Here is my drive structure in my PC:
    1. hard drive (primary slave, Partition: C and E where E boot Windows XP
    2. Hard drive 2 (Primary Master), Drive letter: D
    Although my default boot directory is E (for strange reason, i like to keep
    that way for now), I installed other programs in C and D drive dues drive
    space factors.
    So My java sdk1.4.2_02 has been installed in C:\Java_home directory, the
    following is my Classpath and Path values:
    (CLASSPATH Variables)
    Classpath=.;
    c:\java_home\j2sdk1.4.2_02;
    e:\Program Files\java\j2re1.4.2_02;c:\java_home; c:\java_home\j2sdk1.4.2_01
    \lib;e:\Program Files\java; e:\Program Files\java web start;c:\java_home\j2
    sdk1.4.2_02\jre\lib;c:\java_home\java\petstore1.3.2\src\lib\jst1;
    (PATH variables)
    c:\java_home\j2sdk1.4.2_01\bin;C:\java_home;e:\Pr
    ogram Files\java;c:\java_home\jdk1.4.2_2\bin;E:\Program Files\Oracle\jre\1.
    1.8\bin;E:\WINDOWS\system32;E:\WINDOWS;E:\WINDOWS\system32\WBEM;E:\
    Program Files\Support Tools\;
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
    Path=D:\oracle\ora92\bin;E:\Program Files\Oracle\jre\1.3.1\bin;
    My Fruit txt and Fruit.java file is located in my c:\java_home folder
    when I try to compile the my file as <c:\java_home\javadoc Fruit.java), it
    gives me the error message<'javac' is not recognized as an internal or
    external command,operable program or batch file.>
    however, I can compile the Fruit file from C:\java_home\jdk1.4.2_2
    \bin\javadoc Fruit.java; with out any problem of course I have to copy the
    Fruit.java file at the C:\java_home\jdk1.4.2_2\bin\javadoc Fruit.java
    folder.
    I am requesting u please help or advise me to correct my mistakes
    Ely
    [email protected]

    I must confess that I am totally unable to understand what your PATH is set to. The error that you see,
    <'javac' is not recognized as an internal or external command,operable program or batch file.>
    is due to a missing or incorrectly set PATH. It is used by Windows to find executable file (like javac.exe) that you have added to the computer. Item #5 on this page gives you instructions on how to set it: http://java.sun.com/j2se/1.4.2/install-windows.html
    As for the setting of the CLASSPATH, you seem to have a number of different versions of java (1.4.2_02, 1.4.2_01, 1.4.2_2, and 1.1.8) and I doubt that these are all valid. You are also using an unusual syntax C:\java_home\jdk1.4.2_2\bin\javadoc Fruit.java and I wonder if that is really C:\java_home\jdk1.4.2_2\bin\javadoc\Fruit.java? I think the best action is to point you to Sun's instructions and information about setting and using the CLASSPATH.
    The CLASSPATH is a set of pointers that is used by Java to find the files that YOU (not Java) create and want compiled and/or run.
    Setting the Classpath:
    http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/classpath.html
    [NOTE: always start your classpath with ".;" which means the current directory. See my classpath, below]
    How Classes are Found:
    http://java.sun.com/j2se/1.4.2/docs/tooldocs/findingclasses.html
    Examples:
    This is my path
    PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\BATCH;C:\J2SDK1.4.2_01\BIN;C:\PROGRA~1\UTILIT~1;C:\PROGRA~1\WIN98RK
    This is my classpath
    CLASSPATH=.;C:\mjava;C:\mnrx;C:\NetRexx\lib\NetRexxC.jar;C:\j2sdk1.4.2_01\lib\tools.jar;C:\NetRexx\NrxRedBk

  • Exceptions in QuickTimes for JAVA examples - plz help!

    Hello,
    I have a problem with the QuickTime for JAVA Applet Demos.
    I set the correct CLASSPATH and the examples with the Frames are working fine. The Compilation of the Applet examples also works.
    set CLASSPATH=C:\Programs\Java\j2re1.4.2_02\lib\ext\QTJava.zip;.
    javac -classpath C:\Programs\Java\j2re1.4.2_02\lib\ext\QTJava.zip;. QTSimpleApplet.java
    But when I want to run and test them with the Internet Explorer or SUNs appletviewer an
    Exception is thrown (NoClassDefFoundError) and an error message appears in the appletviewer / browser: "Applet could not be initialized".
    java.lang.NoClassDefFoundError: quicktime/QTException
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Class.java:1610)
    at java.lang.Class.getConstructor0(Class.java:1922)
    at java.lang.Class.newInstance0(Class.java:278)
    at java.lang.Class.newInstance(Class.java:261)
    at sun.applet.AppletPanel.createApplet(AppletPanel.java:617)
    at sun.applet.AppletPanel.runLoader(AppletPanel.java:546)
    at sun.applet.AppletPanel.run(AppletPanel.java:298)
    at java.lang.Thread.run(Thread.java:534)
    When I copy the extracted QTJava.zip to the directory where the source file and the class file for the example are located an other Exception is thrown (ExceptionInInitializerError). :-( This Except. is caused by the security.
    java.lang.ExceptionInInitializerError
    at quicktime.jdirect.QTNative.loadQT(QTNative.java:33)
    at quicktime.jdirect.QuickTimeLib.<clinit>(QuickTimeLib.java:17)
    at quicktime.QTSession.<clinit>(QTSession.java:82)
    at QTSimpleApplet.init(QTSimpleApplet.java:34)
    at sun.applet.AppletPanel.run(AppletPanel.java:353)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission loadLibrary.QTJava)
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
    at java.security.AccessController.checkPermission(AccessController.java:401)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
    at java.lang.SecurityManager.checkLink(SecurityManager.java:810)
    at java.lang.Runtime.loadLibrary0(Runtime.java:782)
    at java.lang.System.loadLibrary(System.java:834)
    at quicktime.jdirect.JDirectLinker$1.run(JDirectLinker.java:266)
    at java.security.AccessController.doPrivileged(Native Method)
    at quicktime.jdirect.JDirectLinker$1$PrivelegedAction.establish(JDirectLinker.java:264)
    at quicktime.jdirect.JDirectLinker.<clinit>(JDirectLinker.java:272)
    ... 6 more
    How can I solve these problems? I just want to view some movies in an applet!
    Please help me. Thanks in advance!

    Hi
    I also has similar problem using the QuickTime using via Applet.
    When I connect QuickTime via Applet, I have the error message
    Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission loadLibrary.QTJava)
    I know that
    this error is caused by the Java security "sandbox" for Plug-in.
    Plug-in has restrictions for unsigned applets..and
    I can use the QuickTime via Applet, if did manual editing of the java.policy file in the JRE.
    ( grant { permission java.security.AllPermission; } )
    But editing of the java.policy file is discouraged...
    My question is why loadLibrary.QTJava has restrictions for unsigned applets??
    and how can I use QuickTime via Applet without manual editing of the java.policy??
    Please give me some advice.

  • C execve of $JAVA_HOME/jre/bin/java does not work

    I have a static executable (I don't want to link shared libraries for security reasons) which ultimately tries to execve the java executable in the JRE (Linux). Unfortunately I'm getting the following errors:
    Error: could not find libjava.so
    Error: could not find Java 2 Runtime Environment.
    I've seen mention of these errors in other posts and have tried everything I can find (add stuff to PATH, CLASSPATH, LD_LIBRARY_PATH, JAVA_HOME, and more). Everything I've tried does not seem to do a lick of good. The execve function constructs an explicit environment, so I'm wondering if there is something basic that java needs in the environment that is inherited normally in a shell. I'm at a complete loss here. Any help would be appreciated. A very simple C program to reproduce this is pasted bellow.
    #include <unistd.h>
    void main(void)
    char * arg[2];
    char * env[10];
    int i;
    i=0;
    arg[i++] = "-version";
    arg[i] = NULL;
    i=0;
    //add any environment variables to env like...
    //env[i++] = "LD_LIBRARY_PATH=<java_path>/jre/lib/i386/libjava.so";
    env[i] = NULL;
    execve("/usr/local/j2sdk_nb/j2sdk1.4.2/jre/bin/java", arg, env);
    }

    It fails because you do not set argv[0] to the path of the program you're calling.
    Try:
    #include <unistd.h>
    int main()
    char * arg[3];
    char * env[10];
    int i;
    i=0;
    // This is the big deal:
    arg[i++] = "/usr/java/j2re1.4.2_02/bin/java";
    arg[i++] = "-version";
    arg[i++] = NULL;
    i=0;
    env[i++] = NULL;
    execve("/usr/java/j2re1.4.2_02/bin/java", arg, env);
    }

  • Require Activation code for 11.5.9

    I am trying to install 11.5.9 on Linux it's prompting to enter activation code where do i get

    The the file structure is like this of runinstaller cd when do i invoke install.sh i got that message
    errors.log lib reactivate wizardoptions.txt
    install.sh log4j.properties reactivate.sh wizardoptions.txt.init
    installwizard.jar logs scripts wizardoptions-zippriorities.txt
    j2re1.4.2_02 oracle_jdbc.jar stage wizrapidstart.sh

  • What happen to my setting??????

    I try to type in this line using the JCE
    java -classpath ".:/usr/java1.2/jre/lib/ext/jce1_2_2.jar:/usr/java1.2
    /e/lib/ext/sunjce_provider.jar" Blowfishkey
    i got the error
    Exception in thread "main" java.security.NoSuchAlgorithmException: Algorithm Blo
    wfish not available
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.security.GeneralSecurityException.<init>(GeneralSecurityExceptio
    n.java:48)
    at java.security.NoSuchAlgorithmException.<init>(NoSuchAlgorithmExceptio
    n.java:45)
    at javax.crypto.SunJCE_b.a(Compiled Code)
    at javax.crypto.KeyGenerator.getInstance(DashoA6275)
    at Blowfishkey.main(Blowfishkey.java:32)
    can somebody tell me what happen?? I run the program in Solaris 8.
    Pls help....!!!!I'm dying...

    i dont know for unix but do this for win
    Hi
    I assume you use j2sdk1.4.2-02
    You should first download change the policy of the JCE
    By downloading this
    http://java.sun.com/j2se/1.4.2/download.html
    just JCE a and unzip in a folder read the read me doc so u should cut that 2 file and put here
    C:\j2sdk1.4.2_02\jre\lib\security
    and here
    C:\Program Files\Java\j2re1.4.2_02\lib\security
    done this then download the bouncy jar file from
    http://www.bouncycastle.org/latest_releases.html
    take the bcprov-jdk14-120.jar and put in following directories
    C:\j2sdk1.4.2_02\jre\lib\ext
    C:\Program Files\Java\j2re1.4.2_02\lib\ext
    then u need to change the environment variable so in
    the following directories open "java.security" in both
    C:\j2sdk1.4.2_02\jre\lib\security
    C:\Program Files\Java\j2re1.4.2_02\lib\security
    and edit it and add the extra line
    security.provider.6=org.bouncycastle.jce.provider.BouncyCastleProvider
    save it done this
    to see whether its install or not
    try do run this program
    import java.security.Provider;
    import java.security.Security;
    import java.util.Set;
    import java.util.Iterator;
    public class ProviderInformation {
    public static void main(String[] args) {
    Provider[] providers = Security.getProviders();
    for (int i = 0; i < providers.length; i++) {
    Provider provider = providers;
    System.out.println("Provider name: " + provider.getName());
    System.out.println("Provider information: " + provider.getInfo());
    System.out.println("Provider version: " + provider.getVersion());
    Set entries = provider.entrySet();
    Iterator iterator = entries.iterator();
    while (iterator.hasNext()) {
    System.out.println("Property entry: " + iterator.next());
    u should have some result that show I just cut part of the out put so u can get full out put
    �..
    ��.
    Provider version: 1.0
    Property entry: GssApiMechanism.1.2.840.113554.1.2.2=sun.security.jgss.krb5.Krb5MechFactory
    Provider name: BC
    Provider information: BouncyCastle Security Provider v1.20
    Provider version: 1.2
    Property entry: Alg.Alias.Cipher.RSA//NOPADDING=RSA
    Property entry: Alg.Alias.SecretKeyFactory.PBEWITHHMACRIPEMD160=PBE/PKCS12
    Property entry: KeyFactory.ECDSA=org.bouncycastle.jce.provider.JDKKeyFactory$ECDSA
    Property entry: Alg.Alias.Signature.RMD160withRSA=RIPEMD160WithRSAEncryption
    Property entry: AlgorithmParameterGenerator.1.2.840.113549.3.7=org.bouncycastle.jce.provider.JDKAlgorithmParameterGenerator$DES
    Property entry: Alg.Alias.Mac.HMAC/Tiger=HMACTiger
    Property entry: AlgorithmParameterGenerator.1.2.840.113533.7.66.10=org.bouncycastle.jce.provider.JDKAlgorithmParameterGenerator$CAST5
    Property entry: AlgorithmParameterGenerator.1.2.840.113549.3.2=org.bouncycastle.jce.provider.JDKAlgorithmParameterGenerator$RC2
    Property entry: Alg.Alias.SecretKeyFactory.1.3.14.3.2.26=PBE/PKCS12
    Property entry: Cipher.1.2.840.113549.3.7=org.bouncycastle.jce.provider.JCEBlockCipher$DESedeCBC
    �������..
    ������������..
    ��������������
    wish u luck

Maybe you are looking for

  • Error while creating user for a  domain

    i am developing a web-application which is hosted on tomcat server. it is creating domains and users at another remote domain server. localy it is working fine.. but when i test it online.. the problem is, sometimes it works fine ,the domains are bei

  • Best Practice Question - Business Logic in Value Objects?

    Just wondering what people's thoughts on best practices for setting properties of Value Objects. For instance, I have several getter/setters in one of my Value Objects with logic in the setter that uses the value to set values of other properties. Fo

  • I have a problem in formatting cells in Excel while using OLE method.

    Hi All, I have a problem in formatting cells in Excel while using OLE method. My requirement is to have certain fields of a cell as text and amount fields should be in number format. How to format a cell in Excel in OLE method of downloading data to

  • PSE 4.0

    Wahrscheinlich habe ich aus Dusseligkeit einen von zwei gleichlautenden Programm-Ordnern gelöscht. Jetzt erscheint bei Programmaufruf die Fehlermeldung "Ihre Angabe für Ihren Adobe Photoshop Elements-Benutzernamen, Ihr Unternehmen oder Ihre Seriennum

  • How do I troubleshoot or repair a corrupt wiki page?

    I have a wiki that started acting strange when I was editing a table that i had just inserted.  Now the page will not respond to any input.  I cannot click on any links or documents and you cannot scroll up or down the page.  All pages connected to t