LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-16-2012, 09:16 AM   #1
fabe856
Member
 
Registered: Apr 2012
Posts: 115

Rep: Reputation: Disabled
Java JDK6 installation on fedora14


Hi all,
I want to install Java JDK version 6 or above on Fedora 14. I have downloaded the file jre-6u31-linux-i586.bin. Plz tell how to install

Regards
Fabe
 
Old 04-16-2012, 09:54 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
May be easier with this package ..

http://ftp.scientificlinux.org/linux...1-fcs.i586.rpm

# rpm -Uvh jdk-1.6.0_31-fcs.i586.rpm
 
Old 04-16-2012, 10:54 AM   #3
fabe856
Member
 
Registered: Apr 2012
Posts: 115

Original Poster
Rep: Reputation: Disabled
Thanks

Any package for gnuplot
I had downloaded gnuplot-4.6.0.tar.gz
If the package is right, plz tell how to install.
Regards
Fabe
 
Old 04-16-2012, 11:11 AM   #4
fabe856
Member
 
Registered: Apr 2012
Posts: 115

Original Poster
Rep: Reputation: Disabled
Thanks

[Q]# rpm -Uvh jdk-1.6.0_31-fcs.i586.rpm[/Q]
i used the above package and then
# java -jar /crcn.jar
following message appeared.
Unable to access jarfile /crcn.jar

How to run CRCN.jar

Regards
Fabe
 
Old 04-16-2012, 11:19 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 3

Please use yum to install Fedora 14 packages. ( There are 17,000 packages.)


# yum install gnuplot


.
 
Old 04-16-2012, 11:23 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 4

The file I know is named CRCN.jar , not crcn.jar or /crcn.jar .


Please try : $ java -jar CRCN.jar

( Not to be run as root ! )

.

Last edited by knudfl; 04-16-2012 at 11:27 AM.
 
Old 04-16-2012, 11:31 AM   #7
fabe856
Member
 
Registered: Apr 2012
Posts: 115

Original Poster
Rep: Reputation: Disabled
I had also used the same
$ java -jar CRCN.jar
it is still showing the same.
Any problem with java installation

Last edited by fabe856; 04-20-2012 at 09:23 AM.
 
Old 04-16-2012, 12:14 PM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Please show the output from the command : java -version


And : May be you will have to configure java :
1) su
2)
/usr/sbin/alternatives --install /usr/bin/java java /usr/java/jdk1.6.0_31/bin/java 2

3) /usr/sbin/alternatives --config java
.. And then select the "sun jdk6".

.
 
Old 04-16-2012, 12:25 PM   #9
fabe856
Member
 
Registered: Apr 2012
Posts: 115

Original Poster
Rep: Reputation: Disabled
Hi,

Quote:
Originally Posted by knudfl View Post
Please show the output from the command : java -version
I have downloaded the package

jdk-1.6.0_31-fcs.i586.rpm

then i used the command
# rpm -Uvh jdk-1.6.0_31-fcs.i586.rpm
i have placed the file CRCN.jar in the home folder.
I run the command
$ java -jar CRCN.jar
the output is
Unable to access jarfile CRCN.jar

Thanks again
 
Old 04-16-2012, 12:41 PM   #10
fabe856
Member
 
Registered: Apr 2012
Posts: 115

Original Poster
Rep: Reputation: Disabled
Thanks
By running commands of Post #8 it gave following three options
1 /usr/lib/jvm/jre-1.6.0-openjdk/bin/java
2 /usr/lib/jvm/jre-1.5.0-gcj/bin/java
3 /usr/java/jdk1.6.0_31/bin/java

and the jar file opened on selecting option 2.

Now in GUI window (for CRCN) when I press Confirm button following message appears in command terminal

$ java -jar CRCN.jar
Yeah
GC Warning: Repeated allocation of very large block (appr. size 2297856):
May lead to memory leak and poor performance.
/root/ns-allinone-2.31/ns-2.31/test.tcl
Can't open file simsetfile!
java.io.FileNotFoundException: /root/ns-allinone-2.31/ns-2.31/test.tcl (No such file or directory)

What may be possible reason

Thanks again for your guidance

Regards
Fabe

Last edited by fabe856; 04-16-2012 at 12:43 PM.
 
Old 04-16-2012, 01:52 PM   #11
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Looks like you have some files in /root/ ?
"/root/" is not meant to be used for anything. /home/<name>/ is the right place.

Suggest : Reinstall all ns2 to /home/<name>/.
Or you will have to do 'su' every time you are using the files in /root/.


P.S. :
CRCN.jar runs OK here with jdk1.6.0_31 : No warnings or errors in Fedora 14.

.

Last edited by knudfl; 04-16-2012 at 01:55 PM.
 
Old 04-16-2012, 02:32 PM   #12
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,639

Rep: Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653
also be advised

Fedora 14 is PAST it's END OF LIVE
there is and NEVER will be any more support for it
please stay current

Install Fedora 16

Quote:
I have downloaded the file jre-6u31-linux-i586.bin. Plz tell how to install
The DEAD fedora 14 shipped with OpenJDK already installed
fedora will NEVER NEVER ship with non open source code

that is why adobe flash and Oracle java were NOT installed

PLEASE read and FALLOW Mjmwired's guide
-- for the SUPPORTED fedora 16 --
http://www.mjmwired.net/resources/mj...-f16.html#java
-- might not work for the dead fedora 14
-- fedora 14 ---
http://www.mjmwired.net/resources/mj...-f14.html#java

Quote:
/root/ns-allinone-2.31/ns-2.31/test.tcl
fedora back in fedora 11 STOPPED the root login to the gui

if YOU installed software to the /root folder you made a very big mistake

I am guessing you used the NOT RECOMMENDED "pam hack"

DO NOT install software to the /root folder
 
Old 04-20-2012, 09:09 PM   #13
fabe856
Member
 
Registered: Apr 2012
Posts: 115

Original Poster
Rep: Reputation: Disabled
Thanks,
There was some problem with the working directory path.
i also used the following command
sudo make install

CRCN.jar is now working

Thanks for valuable suggestions
 
Old 05-28-2014, 04:27 AM   #14
nayanb2k7
LQ Newbie
 
Registered: May 2014
Posts: 28

Rep: Reputation: Disabled
Solution Needed

ERROR>Can't open perl script ".//throughput.pl": No such file or directory

Process exitValue: 2

Last edited by nayanb2k7; 05-28-2014 at 05:10 AM.
 
Old 05-28-2014, 05:57 AM   #15
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Post #14, @nayanb2k7 : Welcome to LQ.

? Which command are you using to get :
» Can't open perl script ".//throughput.pl": No such file or directory «

Solution :
Copy "throughput.pl" to the directory, where it's expected to be found.

" .// " means ``the current directory´´.

-
 
1 members found this post helpful.
  


Reply

Tags
crcn, ns2, throughput.pl


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I need some help understanding some java results. Fedora14 rmknox Programming 4 03-28-2011 10:21 AM
Installing JDK6 ratcateme Linux - Software 3 11-19-2008 02:59 AM
Problem with jdk6 koolKing123 Linux - Software 5 03-21-2008 03:36 PM
Uninstalling jdk6 valdezr1 Fedora 6 03-24-2007 10:06 PM
Installing JDK6? GSMD Debian 2 01-11-2007 11:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration