On Sat, 27 Nov 1999 00:14:21 -0000, James Butler wrote:
>Sorry but I'm getting nowhere here.
>
>I run 'java' and './java' from /usr/share/jdk1.2/bin and the system says
>file 'java' not found.
>
>Do I have to fiddle around with .java_wrapper, in some way?
What tool did you use to untar the archive?
If you used a Windows based tool (such as WinZip) a whole bunch file
files will be missing.
Actually, they are not "files" in the traditional sense - they are soft-links
which is a concept that Windows does not understand. Thus, if you use
a Windows based tool to decompress/install the JDK you will be missing
all of the java/javac/jar/etc tools that should live in the /usr/share/jdk1.2/bin
directory.
All of these are just soft-links to the .java_wrapper script.
To make them (and to test this fact) try the following:
cd /usr/share/jdk1.2/bin
ln -s .java_wrapper java
/usr/share/jdk1.2/bin/java -version
This should now run your JDK.
Now - there is one more possible problem if you used a Windows tool
to untar the files - you may not have execute permission on the files.
If you did use a Windows tool - the best thing to do is to redo the
operation under Linux with the tar tool that comes with Linux.
--
Michael Sinz ---- Technology and Engineering Director/Consultant
"Starting Startups" mailto:[EMAIL PROTECTED]
My place on the web ---> http://www.users.fast.net/~michael_sinz
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]