Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

path / classpath for JUnit

 
Wolfgang Obi
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi i'm trying to configure my Textpad to be able to make use of the JUnit framework...
after configuring i tried compiling this class with JUnit:



this is what comes out....

javac: no source files
Usage: javac <options> <source files>
where possible options include:


can anyone help please?

-W.O.
 
Garrett Rowe
Ranch Hand
Posts: 1296
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you compiling from the command line or from some shortcut within Textpad?
[ May 01, 2006: Message edited by: Garrett Rowe ]
 
Wolfgang Obi
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
compiling from the "Tools" menu within Textpad.

however, i have finally managed to get the programme to compile...
now the problem lies with running it....

here's the output i keep on getting:

C:\Quellen\gru\MyTestClass.java:3: cannot find symbol
symbol: class TestCase
public class MyTestClass extends TestCase
^
C:\Quellen\gru\MyTestClass.java:6: cannot find symbol
symbol : class Test
location: class MyTestClass
public static Test suite() {
^

*PS: the markers actually point to "TestCase" and "Test" (and not public as is seen in the above output)....so obviously my .jar file isnt beeing found right?

OR


javac: invalid flag: ArrayListTst01
Usage: javac <options> <source files>
where possible options include:
-g Generate all debugging info


I've been on ths for ridiculously long,....i havent even gotten down to understanding how to use the tool properly,....very frustrating indeed! :-/
[ May 01, 2006: Message edited by: Wolfgang Obi ]
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic