Q. I'm trying to install Jython, but when I type java
Jython-21, it tells me the file is missing!
- Make sure that you have changed to the correct directory. If you are
not in the directory that contains the Jython-21.class file, then the
computer won't be able to find the file! Remember, if you want to check
what files are present in the current directory, type ls
on Mac and Linux, and dir on Windows.
- Q. I'm trying to install Jython, but when I type java
Jython-21, it tells me that java is not a command!
- This could happen if you installed java someplace other than the place
specified in the instructions. Try uninstalling java and reinstalling
it in the proper location.
If you believe that your java files are in the right place, then something
may have prevented your path from being set correctly. Your "path"
is what tells the computer where to look for programs when you type
a command. When you installed Java, you may have put it in a place where
the computer isn't looking. If that happened, then your computer can't
recognize "java" as a command. The solution is to modify your
path to include the location where Java is installed. See help for modifying
the path.
|