Computing.Net > Forums > Programming > java executable: No such file or directory

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

java executable: No such file or directory

Reply to Message Icon

Name: rakesh411
Date: July 8, 2009 at 06:06:39 Pacific
OS: Debian
Subcategory: Java
Comment:

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 directory

I 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.



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

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


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: java executable: No such file or directory

does winxp have opengl installed al www.computing.net/answers/programming/does-winxp-have-opengl-installed-al/12056.html

delete known text from txt file www.computing.net/answers/programming/delete-known-text-from-txt-file/15684.html

C++ constructor prob www.computing.net/answers/programming/c-constructor-prob/11351.html