Originally posted by Haizea O'Brien:
I tried what you said and unfortunately, it didn't work.
No, that's a different and more basic problem. And why didn't you say so earlier? The "can't run javac" problem is probably the first one discussed here. If that doesn't help, please return to your original thread and post the actual error message.
Originally posted by felicia adedotun:
@poster, am having same problem too and same operating system
i can only run java but can't run javac
you know, it is so frustrating.
Originally posted by Campbell Ritchie:
and there are three ways to compile it.
Put Bar in the foo folder, navigate inside the folder foo and write java Bar.java
Originally posted by Gamini Sirisena:
Expanding a bit on Campbell's option1..
You can also do javac -d . *.java
And I guess this is a typo..
You mean, write javac Bar.java and not java Bar.java, right?
[ November 22, 2008: Message edited by: Gamini Sirisena ]