Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 19/20 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 28th January 2005, 10:31 AM
bigred Offline
Registered User
 
Join Date: Sep 2004
Location: Ottawa, Ontario, Canada
Posts: 36
Question trying to install the J2SE JDK 5.0 and NetBeans IDE 4.0, file not recognized????

I'm trying to install the J2SE JDK 5.0 and NetBeans IDE 4.0 Software Bundle and I'm experiencing the following error message:

[root@localhost ~]# chmod 755 jdk-1_5_01-nb-4_0-bin-linux.bin
chmod: cannot access `jdk-1_5_01-nb-4_0-bin-linux.bin': No such file or directory
[root@localhost ~]#

Sun's installation instructions state that i must do this to change the files permissions so that the file may be installed. The file is located in the directory above but Linux doesn't seem to recognize it, how come? Any help with this would be appreciated

Bigred (noob) ;-)
Reply With Quote
  #2  
Old 28th January 2005, 12:08 PM
krisnalada Offline
Registered User
 
Join Date: Jan 2005
Location: United kingdom
Age: 34
Posts: 79
are you sure you have not downloaded a compressed version ??
If yes uncrompress it before.
can you do a ls -l command on the repertory where the file is located
Reply With Quote
  #3  
Old 28th January 2005, 12:31 PM
bigred Offline
Registered User
 
Join Date: Sep 2004
Location: Ottawa, Ontario, Canada
Posts: 36
I can do an ls -l command....it lists all the files in the directory, nothing else. it is not a compressed version, i dont think....tried to uncompress it but it was already uncomressed.
Reply With Quote
  #4  
Old 28th January 2005, 10:37 PM
krisnalada Offline
Registered User
 
Join Date: Jan 2005
Location: United kingdom
Age: 34
Posts: 79
strange, have you try to redownload it or try another one for exemple the rpm :
jdk-1_5_0_01-linux-i586-rpm.bin
Reply With Quote
  #5  
Old 29th January 2005, 05:37 AM
tiberiu Offline
Registered User
 
Join Date: Dec 2004
Location: Bucharest / Romania
Age: 36
Posts: 164
Hi Bigred!

What file have you downloaded?
rpm.bin or .bin?
__________________
Tiberiu


powered by FC4
Registered Linux User: #376611
Bucharest, Romania
Reply With Quote
  #6  
Old 29th January 2005, 05:45 AM
tiberiu Offline
Registered User
 
Join Date: Dec 2004
Location: Bucharest / Romania
Age: 36
Posts: 164
Ya man! U're right!

They made a small, little (let's say) mistake:

in their example the name of the file is: chmod a+x jre-1_5_0-linux-i586-rpm.bin

if the name of the file which u've downloaded is: jre-1_5_0_01-linux-i586-rpm.bin
then our command must be: chmod a+x jre-1_5_0_01-linux-i586-rpm.bin

It works! I've just installed it!

Best regards!
__________________
Tiberiu


powered by FC4
Registered Linux User: #376611
Bucharest, Romania

Last edited by tiberiu; 29th January 2005 at 05:49 AM.
Reply With Quote
  #7  
Old 29th January 2005, 11:23 AM
slvrsrfr Offline
Registered User
 
Join Date: Jan 2005
Location: uk
Posts: 94
if the name of the file which u've downloaded is: jre-1_5_0_01-linux-i586-rpm.bin
then our command must be: chmod a+x jre-1_5_0_01-linux-i586-rpm.bin

ok i am ver green to fedora i followed your instructions above and created a file called "jre-1_5_0_01-linux-i586.bin" but not sure what to do next .
Please help
Thank you
Slvrsrfr.
Reply With Quote
  #8  
Old 29th January 2005, 12:26 PM
krisnalada Offline
Registered User
 
Join Date: Jan 2005
Location: United kingdom
Age: 34
Posts: 79
slvrsrfr if you have a .bin file after just type

./jre-1_5_0_01-linux-i586.bin
if you have the execution right, it should execute and you will be able to install java
Reply With Quote
  #9  
Old 29th January 2005, 12:43 PM
slvrsrfr Offline
Registered User
 
Join Date: Jan 2005
Location: uk
Posts: 94
Quote:
Originally Posted by krisnalada
slvrsrfr if you have a .bin file after just type

./jre-1_5_0_01-linux-i586.bin
if you have the execution right, it should execute and you will be able to install java
hello thank you for that info i have got 2 files the original .rpm.bin file and the newly created .rpm file created by using Tiberiu instructions but i am unable to execute either without errors ??

thanks Slvrsrfr
Reply With Quote
  #10  
Old 29th January 2005, 07:08 PM
krisnalada Offline
Registered User
 
Join Date: Jan 2005
Location: United kingdom
Age: 34
Posts: 79
?? slvrsrfr could you post the errors here, plz
Reply With Quote
  #11  
Old 29th January 2005, 07:38 PM
tiberiu Offline
Registered User
 
Join Date: Dec 2004
Location: Bucharest / Romania
Age: 36
Posts: 164
Hi!

The command must be:
./jre-1_5_0_01-linux-i586-rpm.bin

You may find usefull information here:
http://www.java.com/en/download/help/5000010500.xml
__________________
Tiberiu


powered by FC4
Registered Linux User: #376611
Bucharest, Romania
Reply With Quote
  #12  
Old 29th January 2005, 08:01 PM
xveganx Offline
Registered User
 
Join Date: Jan 2005
Posts: 16
I had a problem with J2SE as well.
I downloaded and installed the program and when I try to compile a java file it says command not found.
Example

CD /home/xveganx/java
javac Example1.java


It dosent recognize the command Javac
what am I doing wrong?
Reply With Quote
  #13  
Old 29th January 2005, 10:02 PM
slvrsrfr Offline
Registered User
 
Join Date: Jan 2005
Location: uk
Posts: 94
Quote:
Originally Posted by krisnalada
?? slvrsrfr could you post the errors here, plz
Hello infomation as requested
line i use is "./jre-1_5_0_01-linux-i586-rpm.bin"
seems to go ok till near the end and lines below r what happens,

"Unpacking...
./jre-1_5_0_01-linux-i586-rpm.bin: line 233: install.sfx.9106: No such file or directory
Checksumming...
/usr/bin/sum: install.sfx.9106: No such file or directory
expr: syntax error
expr: syntax error
chmod: cannot access `install.sfx.9106': No such file or directory
Extracting...
./jre-1_5_0_01-linux-i586-rpm.bin: line 263: ./install.sfx.9106: No such file or directory
error: can't create transaction lock

Done."
and thats it any help on this would be good
thank q
Slvrsrfr
Reply With Quote
  #14  
Old 30th January 2005, 12:19 AM
crackers Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Seattle, WA, USA
Age: 57
Posts: 3,423
Quote:
Originally Posted by xveganx
It dosent recognize the command Javac
what am I doing wrong?
There are several How-To's in that section of the forum: http://fedoraforum.org/forum/forumdisplay.php?f=12
__________________
Linux User #28251 (April '93)
Professional Java Geek :cool:
Reply With Quote
  #15  
Old 30th January 2005, 12:39 AM
krisnalada Offline
Registered User
 
Join Date: Jan 2005
Location: United kingdom
Age: 34
Posts: 79
slvrsrfr : Which hardware platform are you working with ?? Intel Pentium IV ? Pentium III, II I, AMD Athlon, duron, Athlon 64, Athlon Xp ???

xveganx : I think you are not doing wrong, you just don't have the javac path in your default path ^_^

if your using bash, edit your .bash_profile file which is in our home directory
in the file, you have a line : PATH=...
at the end add the path to your java and javac bin directory.
to know where they are :

as root
Code:
updatedb
(it may take some time)
Code:
locate javac
it will return several aswer, look at the one within a /bin/ directory for instance : /opt/jdk1.5.0/bin/javac
then add is to your path, it may look like this
Code:
PATH=$PATH:$HOME/bin:/sbin:/usr/sbin:/usr/local/sbin:/opt/jdk1.5.0/bin
it should solve your problems
NB : you could also do alias in the /usr/bin directory with the ln -s command
Reply With Quote
Reply

Tags
file, ide, install, j2se, jdk, netbeans, recognized

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
install j2se sdk talkstock888 Installation, Upgrades and Live Media 0 23rd April 2006 03:15 AM


Current GMT-time: 07:03 (Friday, 31-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin Copyright 2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Chlef Photos on Instagram - Awgu Photos - Valsad