[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/30436] New: import java.util.Scanner cannot be resolved
From: |
debian-gcc at lists dot debian dot org |
Subject: |
[Bug classpath/30436] New: import java.util.Scanner cannot be resolved |
Date: |
11 Jan 2007 14:36:53 -0000 |
[forwarded from http://bugs.debian.org/401948]
The following program compiles fine with
/usr/lib/jvm/java-1.5.0-sun/bin/javac
--8<---------------cut here---------------start------------->8---
import java.util.Scanner;
class TestScanner
{
public static void main(String[] args)
{
System.out.println ("hi");
}
}
--8<---------------cut here---------------end--------------->8---
But the eclipse compiler says,
(debian-unstable)address@hidden:~/tmp$ /usr/bin/ecj-bootstrap
TestScanner.java
----------
1. ERROR in TestScanner.java (at line 1)
import java.util.Scanner;
^^^^^^^^^^^^^^^^^
The import java.util.Scanner cannot be resolved
----------
The eclipse compiler should be fixed to compile the program (the ecj compiler
here is configured to use the libgcj.jar).
--
Summary: import java.util.Scanner cannot be resolved
Product: classpath
Version: 0.93
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: classpath
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: debian-gcc at lists dot debian dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30436
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug classpath/30436] New: import java.util.Scanner cannot be resolved,
debian-gcc at lists dot debian dot org <=