newbie compiling question.

Hi I'm trying to compile my program but I get the following error:

C:\Program Files\Java\jdk1.6.0_01\bin>javac -classpath c:\test -sourcepath c:\test\*.java

c:\test\ProcessStatementLine.java:22: cannot find symbol

symbol : class AnalyzeAccNum

location: class test.ProcessStatementLine

static AnalyzeAccNum analyzeAccNum;

^

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

1 error

It looks to me it could not find the file AnalyzeAccNum. All files are in the package test, is that enough?

[619 byte] By [klaasdea] at [2007-11-27 8:42:19]
# 1
I found it, it was the classpath. That should be c:\But now I get a waring:c:\test\QueryManager.java:548: warning: [unchecked] unchecked call to add(E) as a member of the raw type java.util.Vectorv.add(new Integer(i));^How can I fix this?
klaasdea at 2007-7-12 20:41:37 > top of Java-index,Developer Tools,Java Compiler...
# 2

Please paste the code first. Right now I'm just guessing that you forgot to parametrize the Vector object. If you have the following:

Vector v = new Vector();

change it to:

Vector<Integer> v = new Vector<Integer>();

and it should work without the warning.

antononea at 2007-7-12 20:41:37 > top of Java-index,Developer Tools,Java Compiler...