Installing Java SDK 1.4.2 grrr...........
The Sun Java SDK is really starting to piss me off. I set my $PATH even my $CLASSPATH (even though the Sun docs so ya don't need $CLASSPATH for 1.4.x . Supposedly smart enough to figure that all out. umm..... bullshit) Finally I added :. to the end of my classpath and it seems to work half ass. What the hell does :. mean ?? Keep getting package does not exist errors even though I'm sitting here looking @ them right where my $CLASSPATH points to.
Throw me a frickin bone people. _h |
I going to do a little guessing here, but I think that bit you've added at the end ought to be :./ not :.
With the ./, you're adding your current directory to your classpath and I think that is why you're getting the error message. Just a . doesn't quite do it. And the : is just the approved separator between the individual paths on the classpath. That said, I run into this problem as well from time to time. The only reliable solution I've found is using the -classpath flag when I compile and run javac -classpath ./:/any/other/driectory/I/need Filename.class |
All times are GMT -5. The time now is 02:22 PM. |