N
newbie
Hi All
I am trying to compile some code, but can not since the compiler can
not find the junit package.
The line in questions is:
[javac] C:\EclipseProjects\chs\src\com\sample\foo\AllTests.java:3:
package junit.framework does not exist
[javac] import junit.framework.TestCase;
The classpath is as follows:
C:\EclipseProjects\test>set BUILD_ROOT_HOME=C:\EclipseProjects\test\
C:\EclipseProjects\test>set ANT_HOME=C:\EclipseProjects\test\3rdparty
\apache-ant-1.7.0
C:\EclipseProjects\test>set ANT_OPTS=-Xms256M -Xmx1024M
C:\EclipseProjects\test>set JUNIT_HOME=C:\prj\lib\junit.jar
C:\EclipseProjects\test>set JAVA_HOME=C:\EclipseProjects\test\3rdparty
\jdk\latest\windows
C:\EclipseProjects\test>set PATH=C:\EclipseProjects\test\3rdparty
\apache-ant-1.7.0\bin;C:\EclipseProjects\test\3rdparty\jdk\latest
\windows\bin;C:\ccviews
\torero\cvp1\lib\junit.jar;C:\Program Files\ThinkPad\Utilities;C:
\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files
\QuickTime\QTSy
stem\;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program
Files\Intel\Wireless\Bin\;C:\WINDOWS\Downloaded Program Files;C:
\Program Files\Cr
edant\CMG Shield;C:\Program Files\Rational\ClearCase\bin;C:\Program
Files\Rational\common;C:\Program Files\Diskeeper Corporation\Diskeeper
\;C:\Program
Files\Attachmate\Reflection\;C:\Program Files\ssh communications
security\ssh Secure Shell;C:\Program Files\Java\jdk1.5.0_15\bin;
From Eclipse, the project compile fine, but from the command line, I
get the package not found error.
I have included junit.jar in the classpath, still I can not compile.
Help would be appreciated.
Thanks
PurvaHi All
I am trying to compile some code, but can not since the compiler can
not find the junit package.
The line in questions is:
[javac] C:\EclipseProjects\chs\src\com\sample\foo\AllTests.java:3:
package junit.framework does not exist
[javac] import junit.framework.TestCase;
The classpath is as follows:
C:\EclipseProjects\test>set BUILD_ROOT_HOME=C:\EclipseProjects\test\
C:\EclipseProjects\test>set ANT_HOME=C:\EclipseProjects\test\3rdparty
\apache-ant-1.7.0
C:\EclipseProjects\test>set ANT_OPTS=-Xms256M -Xmx1024M
C:\EclipseProjects\test>set JUNIT_HOME=C:\prj\lib\junit.jar
C:\EclipseProjects\test>set JAVA_HOME=C:\EclipseProjects\test\3rdparty
\jdk\latest\windows
C:\EclipseProjects\test>set PATH=C:\EclipseProjects\test\3rdparty
\apache-ant-1.7.0\bin;C:\EclipseProjects\test\3rdparty\jdk\latest
\windows\bin;C:\ccviews
\torero\cvp1\lib\junit.jar;C:\Program Files\ThinkPad\Utilities;C:
\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files
\QuickTime\QTSy
stem\;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program
Files\Intel\Wireless\Bin\;C:\WINDOWS\Downloaded Program Files;C:
\Program Files\Cr
edant\CMG Shield;C:\Program Files\Rational\ClearCase\bin;C:\Program
Files\Rational\common;C:\Program Files\Diskeeper Corporation\Diskeeper
\;C:\Program
Files\Attachmate\Reflection\;C:\Program Files\ssh communications
security\ssh Secure Shell;C:\Program Files\Java\jdk1.5.0_15\bin;
From Eclipse, the project compile fine, but from the command line, I
get the package not found error.
I have included junit.jar in the classpath, still I can not compile.
Help would be appreciated.
Thanks
newbie
I am trying to compile some code, but can not since the compiler can
not find the junit package.
The line in questions is:
[javac] C:\EclipseProjects\chs\src\com\sample\foo\AllTests.java:3:
package junit.framework does not exist
[javac] import junit.framework.TestCase;
The classpath is as follows:
C:\EclipseProjects\test>set BUILD_ROOT_HOME=C:\EclipseProjects\test\
C:\EclipseProjects\test>set ANT_HOME=C:\EclipseProjects\test\3rdparty
\apache-ant-1.7.0
C:\EclipseProjects\test>set ANT_OPTS=-Xms256M -Xmx1024M
C:\EclipseProjects\test>set JUNIT_HOME=C:\prj\lib\junit.jar
C:\EclipseProjects\test>set JAVA_HOME=C:\EclipseProjects\test\3rdparty
\jdk\latest\windows
C:\EclipseProjects\test>set PATH=C:\EclipseProjects\test\3rdparty
\apache-ant-1.7.0\bin;C:\EclipseProjects\test\3rdparty\jdk\latest
\windows\bin;C:\ccviews
\torero\cvp1\lib\junit.jar;C:\Program Files\ThinkPad\Utilities;C:
\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files
\QuickTime\QTSy
stem\;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program
Files\Intel\Wireless\Bin\;C:\WINDOWS\Downloaded Program Files;C:
\Program Files\Cr
edant\CMG Shield;C:\Program Files\Rational\ClearCase\bin;C:\Program
Files\Rational\common;C:\Program Files\Diskeeper Corporation\Diskeeper
\;C:\Program
Files\Attachmate\Reflection\;C:\Program Files\ssh communications
security\ssh Secure Shell;C:\Program Files\Java\jdk1.5.0_15\bin;
From Eclipse, the project compile fine, but from the command line, I
get the package not found error.
I have included junit.jar in the classpath, still I can not compile.
Help would be appreciated.
Thanks
PurvaHi All
I am trying to compile some code, but can not since the compiler can
not find the junit package.
The line in questions is:
[javac] C:\EclipseProjects\chs\src\com\sample\foo\AllTests.java:3:
package junit.framework does not exist
[javac] import junit.framework.TestCase;
The classpath is as follows:
C:\EclipseProjects\test>set BUILD_ROOT_HOME=C:\EclipseProjects\test\
C:\EclipseProjects\test>set ANT_HOME=C:\EclipseProjects\test\3rdparty
\apache-ant-1.7.0
C:\EclipseProjects\test>set ANT_OPTS=-Xms256M -Xmx1024M
C:\EclipseProjects\test>set JUNIT_HOME=C:\prj\lib\junit.jar
C:\EclipseProjects\test>set JAVA_HOME=C:\EclipseProjects\test\3rdparty
\jdk\latest\windows
C:\EclipseProjects\test>set PATH=C:\EclipseProjects\test\3rdparty
\apache-ant-1.7.0\bin;C:\EclipseProjects\test\3rdparty\jdk\latest
\windows\bin;C:\ccviews
\torero\cvp1\lib\junit.jar;C:\Program Files\ThinkPad\Utilities;C:
\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files
\QuickTime\QTSy
stem\;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program
Files\Intel\Wireless\Bin\;C:\WINDOWS\Downloaded Program Files;C:
\Program Files\Cr
edant\CMG Shield;C:\Program Files\Rational\ClearCase\bin;C:\Program
Files\Rational\common;C:\Program Files\Diskeeper Corporation\Diskeeper
\;C:\Program
Files\Attachmate\Reflection\;C:\Program Files\ssh communications
security\ssh Secure Shell;C:\Program Files\Java\jdk1.5.0_15\bin;
From Eclipse, the project compile fine, but from the command line, I
get the package not found error.
I have included junit.jar in the classpath, still I can not compile.
Help would be appreciated.
Thanks
newbie