I have a java project in which the file system is as follows:
I have 3 directories: bin, src, and lib.
- src contains my *.java files
- bin contains my *.class files (compiled using the files in src)
- lib contains a few *.jar files imported by most of the src files
I am learning how to use jdb but every time I try and use the list command it just says that the source file cannot be found. I am running the following command from within my bin directory:
jdb -classpath ../lib/*:. -sourcepath ../src envelope.Envelope
where my main method is contained within the Envelope class which is part of the envelope package, what am I doing wrong?