Bug#361806: java-gcj-compat-dev: Can't build with javac
Package: java-gcj-compat-dev
Severity: important
root@namakemono:/tmp# cat hello.java
class HelloWorldApp {
public static void main(String[] args) {
System.out.println("Hello World!"); //Display the string.
}
}
root@namakemono:/tmp# javac hello.java
----------
1. ERROR in hello.java
(at line 1)
class HelloWorldApp {
^
The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
----------
1 problem (1 error)
root@namakemono:/tmp# CLASSPATH=/usr/share/java/libgcj-4.0.jar javac hello.java root@namakemono:/tmp#
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Reply to: