[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#445930: marked as done ([fixed in classpath-0.96] Problem to compile and to execute java Swing code)



Your message dated Sun, 17 May 2009 10:50:10 +0200
with message-id <4A0FCFC2.2060504@ubuntu.com>
and subject line gcj-4.2 removed in unstable, fixed in gcj-4.4
has caused the Debian Bug report #445930,
regarding [fixed in classpath-0.96] Problem to compile and to execute java Swing code
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
445930: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=445930
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libgcj8-1
Version: 4.2.1-5
Severity: important

Hi,

Since upgrading to the 4.2 version of gcc/gcj, I have errors for
programs that worked before (with 4.1).  Maybe I do not have all the
packages installed?!  Here are the errors:

1. Compilation error:
snoopy:~/smart-surface/simulator$ javac Main.java
Exception in thread "main" java.lang.NoClassDefFoundError:
org.eclipse.jdt.internal.compiler.batch.Main
   at gnu.java.lang.MainThread.run(libgcj.so.81)
Caused by: java.lang.ClassNotFoundException:
org.eclipse.jdt.internal.compiler.batch.Main not found in
gnu.gcj.runtime.SystemClassLoader{urls=[],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
   at java.net.URLClassLoader.findClass(libgcj.so.81)
   at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.81)
   at java.lang.ClassLoader.loadClass(libgcj.so.81)
   at java.lang.ClassLoader.loadClass(libgcj.so.81)
   at gnu.java.lang.MainThread.run(libgcj.so.81)
snoopy:~/smart-surface/simulator$ 

2. Execution error:
snoopy:~/smart-surface/simulator$ gcj -O2 -Wall --main=Main Main.java
Main.java:59: warning: The serializable class IG does not declare a
static final serialVersionUID field of type long
        class IG extends JFrame{
              ^^
Main.java:89: warning: The serializable class MainPanel does not
declare a static final serialVersionUID field of type long
        class MainPanel extends JPanel{
              ^^^^^^^^^
Main.java:109: warning: The serializable class CtlPanel does not
declare a static final serialVersionUID field of type long
        class CtlPanel extends JPanel{
              ^^^^^^^^
3 problems (3 warnings)
snoopy:~/smart-surface/simulator$ ./a.out 

[During execution, depending on the program, either all the interface
is shown, but no event is generated (the interface does not respond to
any click, key press), or the interface is not shown at all.]

I can attach the program, if needed.

Greetings,
Eugen Dedu

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.22-2-powerpc
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages libgcj8-1 depends on:
ii  gcj-4.2-base            4.2.1-5          The GNU Compiler Collection (gcj b
ii  libasound2              1.0.14a-2        ALSA library
ii  libc6                   2.6.1-1          GNU C Library: Shared libraries
ii  libgcc1                 1:4.2.1-4        GCC support library
ii  libgcj-common           1:4.2.1-6        Java runtime library (common files
ii  zlib1g                  1:1.2.3.3.dfsg-5 compression library - runtime

Versions of packages libgcj8-1 recommends:
ii  libgcj8-1-awt                 4.2.1-5    AWT peer runtime libraries for use
ii  libgcj8-jar                   4.2.1-5    Java runtime library for use with 

-- no debconf information



--- End Message ---
--- Begin Message ---
gcj-4.2 removed in unstable, fixed in gcj-4.4


--- End Message ---

Reply to: