Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6282111

Exception thrown for /demo/jfc/SwingApplet and /demo/plugin/jfc/SwingApplet

XMLWordPrintable

    • x86
    • linux_redhat_3.0

      Target platform: RHEL AS 4.0 u1 beta with RPM package, Window 2000 Pro
             build: J2SE 6.0-build 39

      Problem:
      This is NOT a regression. It never works.

      Steps to reproduce:
      - Install JDK 6.0-build 39 onto the system test
      - Excecute <installed_JDK-b39-dir>/demo/jfc/SwingApplet/java -jar SwingApplet.jar
      - Excecute <installed_JDK-b39-dir>/demo/plugin/jfc/SwingApplet/java -jar SwingApplet.jar

      Expect result:
      - Display the "Hello, I'm a Swing Button!" GUI

      Actual result:
      - ERROR: Exception in thread "main" java.lang.NoSuchMethodError: main

      Detailed Log:

      [root@pictor SwingApplet]# uname -a
      Linux pictor 2.6.9-6.37.EL #1 Tue Mar 29 15:34:14 EST 2005 i686 i686
      i386 GNU/Linux
      [root@pictor SwingApplet]# java -version
      java version "1.6.0-ea"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b39)
      Java HotSpot(TM) Client VM (build 1.6.0-ea-b39, mixed mode, sharing)
      [root@pictor SwingApplet]# pwd
      /usr/java/jdk1.6.0/demo/jfc/SwingApplet
      [root@pictor SwingApplet]# java -jar SwingApplet.jar
      Exception in thread "main" java.lang.NoSuchMethodError: main

      [root@pictor SwingApplet]# pwd
      /usr/java/jdk1.6.0/demo/plugin/jfc/SwingApplet
      [root@pictor SwingApplet]# java -jar SwingApplet.jar
      Exception in thread "main" java.lang.NoSuchMethodError: main


      ###@###.### 2005-06-08 02:15:39 GMT

            loneid Leonid Popov (Inactive)
            mtvo Hang Vo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: