> I've been programming in java for some time now, but always on a
> university machine that was already set up to do so.
[quoted text clipped - 3 lines]
> at the command prompt it tells me javac is not recognised... where am I
> going wrong?
Set yout PATH to the java bin directory.
On Windows, this is done in Control panel .... environment variables.
On Linux/Unix, there are various places you can do this.

Signature
Of course there's no reason for it, it's just our policy.
adwords@pulpjava.com - 05 Oct 2006 03:33 GMT
Getting a Java program to compile can be one of the must frustrating
experiences, but it is absolutely required if you want to have any
street cred in the Java community.
Sometimes text editors append a .txt to the end of the Java file. Be
careful. Also, everything is case sensitive. Be careful of that.
Here are some multimedia tutorials on how to compile a Java class using
javac and J2SE version 1.5. It's the basic HelloWorld.java stuff, but
it shows you everything you need.
http://www.technicalfacilitation.com/examscam/get.php?link=../scja/tutorials
There's also some tutorials in there and mock exam questions that will
help you if you're studying for the Sun SCJA exam (Sun Certified Java
Associate)
Cheers!
-Cameron McKenzie
www.scja.com www.pulpjava.com www.cameronmckenzie.com
> > I've been programming in java for some time now, but always on a
> > university machine that was already set up to do so.
[quoted text clipped - 7 lines]
> On Windows, this is done in Control panel .... environment variables.
> On Linux/Unix, there are various places you can do this.