Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hello,
I am having problems using the java executable on my Debian system after unpacking the java SDK from a GZipped Tar file. Here are the steps I followed. I was logged in as root.
1. Unpacked IBMJava2-JRE-1.4.2-12.0.tar.gz to /opt/IBMJava2-142
2. Navigate to /opt/IBMJava2-142/jre/bin (which contains the java executable)
3. Placed a simple HelloWorld.class program in the above mentioned directory.
4. Try to run the program as follows: opt/IBMJava2-142/jre/bin/java HelloWorld
5. I get this error:
-bash: /opt/IBMJava2-142/jre/bin/java: No such file or directoryI know that the file is there as I do an ls on the opt/IBMJava2-142/jre/bin directory and can see the java executable showing up.
I've tried numerous ways to fix this but always end up at the same outcome -- that error message.
Does anybody have any ideas how I can fix this?
Thank you for any input,
Rakesh T.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |