|
From: GuyG <gu...@wa...> - 2007-12-18 13:47:03
|
ok i downloaded the 1.6 (Kit 6 Update 3) and it seems to be fine.
Just one last question.
In school when I run the program, when the drjavav need to print to the use=
r
something (lets say: println("Enter a number") it's open a window (pop-up)
and in the 1.6 it just write it in the interactions (bottom screen), can i
change it to the pop-up thing?.. it's more comfortable..
thx,
Guy=20
Geoffrey Knauth wrote:
>=20
> The class java.util.Scanner was introduced with JDK 1.5. If you can =20
> install a newer JDK than 1.4.2 on your computer, you should be in =20
> business. You can get one from java.sun.com.
>=20
> Geoffrey
> --
> Geoffrey S. Knauth | http://knauth.org/gsk
>=20
> On Dec 17, 2007, at 15:06, GuyG wrote:
>=20
>> Hello, I'm really new in the DrJava thing, I'm learning it right now =20
>> 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
>> 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
>> 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
>> location: class Boom7{code}
>>
>> Like it has something with the Scanner,, a problem?..
>> please help me what do I need to do..?
>> --=20
>> View this message in context:
>> http://www.nabble.com/A-begginer-question-tp14374022p14374022.html
>> Sent from the drjava-users mailing list archive at Nabble.com.
>>
>>
>> ------------------------------------------------------------------------=
-
>> SF.Net email is sponsored by:
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services
>> for just about anything Open Source.
>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketp=
lace
>> _______________________________________________
>> Drjava-users mailing list
>> Drj...@li...
>> https://lists.sourceforge.net/lists/listinfo/drjava-users
>=20
>=20
>=20
>=20
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services
> for just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketpl=
ace
> _______________________________________________
> Drjava-users mailing list
> Drj...@li...
> https://lists.sourceforge.net/lists/listinfo/drjava-users
>=20
>=20
--=20
View this message in context: http://www.nabble.com/A-begginer-question-tp1=
4374022p14397203.html
Sent from the drjava-users mailing list archive at Nabble.com.
|