Have switched computers and updated to JDK1.5.0_05. Env vars as below. When I compile, why do I get: DBAccess.java:75: cannot find symbol symbol : class RecordNotFoundException
Classpath is fine -- all classes are in C:\javaClasses\code. Thought this was a classpath error...argh..nearly finished as well...any clues obviously have something simple wrong. DBAccess is not in a package at this stage...packaging it all later...clues? Won't compile with -cp either
PATH: \datasearch\lib\apache\libexec;C:\datasearch\lib;C: ystem32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Progr I Control Panel;C:\Program Files\Director\bin;C:\Pro m\;C:\Program Files\Java\jdk1.5.0_05\bin
Hi Lucy - as Barry say's more detail would be useful. I'm assuming that you're using javac from the command line rather than an ant build script for instance. Try specifying the -verbose switch on javac to see if you get more information about why it's going wrong. Did you specify -sourcepath ?? Should you have?
yea it works if I supply a sourcepath - but I compile from that directory so I would have thought it would have looked there automatically, always has before with JDK - any clues why it would need the source path now? O well, I guess I can just set sourcepath as an evironment variable?