From: GuyG <gu...@wa...> - 2007-12-17 20:07:10
|
Hello, I'm really new in the DrJava thing, I'm learning it right now in school.. lol I'm trying to use now drjava at home. I downloaded the drjava from : http://drjava.org version: drjava-stable-20070828-1759, I got the compiler (JDK 1.4.2_16) Now, I've done this newbie program: {code}import java.util.Scanner; public class Boom7 { public static void main(String[] args) { Scanner in=3Dnew Scanner(System.in); int a; System.out.println("Enter A Number"); a=3Din.nextInt(); if (a%7=3D=3D0) {System.out.println("Boom");} } }{code} but when i try to compile it sais: {code}3 errors found: File: D:\=D7=AA=D7=95=D7=9B=D7=A0=D7=95=D7=AA\drjava\Boom7.java [line: 1] Error: cannot resolve symbol symbol : class Scanner=20 location: package util File: D:\=D7=AA=D7=95=D7=9B=D7=A0=D7=95=D7=AA\drjava\Boom7.java [line: 6] Error: cannot resolve symbol symbol : class Scanner=20 location: class Boom7 File: D:\=D7=AA=D7=95=D7=9B=D7=A0=D7=95=D7=AA\drjava\Boom7.java [line: 6] Error: cannot resolve symbol symbol : class Scanner=20 location: class Boom7{code} Like it has something with the Scanner,, a problem?..=20 please help me what do I need to do..? --=20 View this message in context: http://www.nabble.com/A-begginer-question-tp1= 4374022p14374022.html Sent from the drjava-users mailing list archive at Nabble.com. |