help: path variables...huh?

Scott Talbot talbotscott at cox.net
Sun Jun 20 23:30:11 UTC 2004


On Sat, 2004-06-19 at 18:03, javac javac wrote:
> i'm running FC1 and've never understood the path variable stuff.  when i type "pine" or "pico" at the terminal i get the expected response, but...
> 
> to use the java compiler i have to enter the full path, along the lines of:
> 
> /home/net/j2../javac foo.java
> 
> which seems a bit much.  what i want is to "javac foo.java" without all that path info.
> 
> 
> thanks,
> 

	An alternative, since you only have the one executable file in the j2re
directory is to make a link from some place normally on the PATH, i.e.
ln -s /home/myname/...j3re/jfac  /usr/bin/javac

see 'man ln' for more

Scott





More information about the fedora-list mailing list