Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

chmod cannot access jdk-6u21-linux-x64.bin: no such file or directory

Posted on 2010-09-08
14
Medium Priority
?
1,294 Views
Last Modified: 2013-12-06
I am installing Java in the cent os 64 bit, but i get an error chmod cannot access jdk-6u21-linux-x64.bin: no such file or directory.
0
Comment
Question by:network16
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 9
  • 5
14 Comments
 
LVL 18

Expert Comment

by:TobiasHolm
ID: 33630100
put a dot first

chmod ./jdk-6u21-linux-x64.bin
0
 
LVL 18

Expert Comment

by:TobiasHolm
ID: 33630115
and the rights you want. example:

chmod 777 ./jdk-6u21-linux-x64.bin
0
 
LVL 18

Expert Comment

by:TobiasHolm
ID: 33630124
btw, have you set the X-flag to be able to run the file? Type this:

chmod a+x jdk-6u21-linux-x64.bin
./jdk-6u21-linux-x64.bin
0
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 

Author Comment

by:network16
ID: 33630143
I get the following error now chmod: missing operand after chmod cannot access jdk-6u21-linux-x64.bin:
0
 
LVL 18

Expert Comment

by:TobiasHolm
ID: 33630144
(ignore the first two posts, I'm a bit tired right now...;)
0
 
LVL 18

Accepted Solution

by:
TobiasHolm earned 1000 total points
ID: 33630254
My third post should work:

chmod a+x jdk-6u21-linux-x64.bin
./jdk-6u21-linux-x64.bin

But here's a guide: http://kmaiti.blogspot.com/2010/07/how-to-install-jdk16021-on-64-bit-linux.html

There are more steps after the two I wrote above.
0
 

Author Comment

by:network16
ID: 33630295
chmod cannot access jdk-6u21-linux-x64.bin: no such file or directory. why does it say no such file or directory. I saved it in usr/local
0
 
LVL 18

Expert Comment

by:TobiasHolm
ID: 33630335
are you logged in as root? (use 'su')
0
 

Author Comment

by:network16
ID: 33630406
yes i logged in as root.what is su, i am new to linux , can you explain me in detail. Thanks for your posts
0
 
LVL 18

Expert Comment

by:TobiasHolm
ID: 33630588
'su' is the command to get root access. If you're a user you have a $ in the terminal. If you're root you'll have a # in the terminal.

To use 'su' just type su in a terminal window and enter your password.
0
 
LVL 18

Expert Comment

by:TobiasHolm
ID: 33630612
In a terminal, can you type

chmod a+x /usr/local/jdk

and then press TAB (not enter). If you have the file in that directory your shell will complete the file name for you. Press TAB twice to list several names (if you have several matches).
0
 

Author Comment

by:network16
ID: 33631168
Yes it displays the all files. Now how should i install them
0
 
LVL 18

Expert Comment

by:TobiasHolm
ID: 33631217
0
 

Author Closing Comment

by:network16
ID: 33767731
solved
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This video teaches viewers about errors in exception handling.
Suggested Courses

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question