Page 1 of 1

Need help!

Posted: Fri Jan 16, 2009 7:44 pm
by LiquidSnake
ok so I downloaded textpad and I downloaded a jdk, went to config, tools, added the jdk tools and it works fine if I have like a print statement but when ever I try to have a user input in my code it does not work and will give me some error codes for example the one below:

C:\Users\Jeff\Desktop\ScannerExercise1.java:7: cannot resolve symbol
symbol : class Scanner
location: package util
import java.util.Scanner;


---
Anyways I searched around the other topics and could not find anything to help me, if you can help me please guide me step by step cause i'm a noob :( btw I am trying to use the java compile tools

thanks in advance


BTW I once had it installed and working but I reinstalled windows so everything was deleted and I forget what I had to do

Posted: Sat Jan 17, 2009 1:00 am
by talleyrand

Posted: Sat Jan 17, 2009 4:24 am
by LiquidSnake
none of those come close to helping me, those aren't the same problems I think I just need to download some file somewhere but I don't know what or where

EDIT: btw I prolly should mention i'm trying so I will be able to use the: import java.util.Scanner;



line of code

Posted: Wed Jan 21, 2009 7:44 pm
by talleyrand
Good point, the error message you have is that it can't find the Scanner class http://www.tech-faq.com/cannot-resolve-symbol.shtml Seems classpath-ish as it's part of the core library http://java.sun.com/j2se/1.5.0/docs/api ... anner.html

Does a Hello World level program work?

However, do be aware that capturing input from the command line is not supported which is what I was attempting to convey with my links.

Posted: Sat Jan 24, 2009 12:07 am
by LiquidSnake
oh sorry talley ur too late I got it to work but thanks anyways