Create .class from .java - maintain references
I know, I'm a fool, but I can not get this to work..
I have JDK on my machine, and wanted to turn a .java file into a .class file.
When I compile the code;
javac -implicit:class C:\Excel_To_XML\src\test\generator\ExcelToTestCases.java
It gives me 36 errors. They all basically "cant find package" and point to different classes or packages that I have imported in the source.
How do I make these classes available to the file so it will compile.
a few of the error lines;
C:\Excel_To_XML\src\test\generator\ExcelToTestCases.java:18:package org.apache.poi.hssf.usermodel does not exist
import org.apache.poi.hssf.usermodel.*;
^
C:\Excel_To_XML\src\test\generator\ExcelToTestCases.java:23:package test.models does not exist
import test.models.*;
^
C:\Excel_To_XML\src\test\generator\ExcelToTestCases.java:66: cannot find symbol
symbol : variable AddressCleanse
location:class test.generator.ExcelToTestCases
FIELD_COUNT = AddressCleanse.FIELD_COUNT;// number of fields that contain data
These packages DO exist, and the code runs fine in eclipse, so I knwo they can be read. I guess it would be an issue of location or referencing,, please help me..

