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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
04-16-2012, 09:16 AM
|
#1
|
Member
Registered: Apr 2012
Posts: 115
Rep:
|
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
|
|
|
04-16-2012, 09:54 AM
|
#2
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
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
|
|
|
04-16-2012, 10:54 AM
|
#3
|
Member
Registered: Apr 2012
Posts: 115
Original Poster
Rep:
|
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
|
|
|
04-16-2012, 11:11 AM
|
#4
|
Member
Registered: Apr 2012
Posts: 115
Original Poster
Rep:
|
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
|
|
|
04-16-2012, 11:19 AM
|
#5
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
# 3
Please use yum to install Fedora 14 packages. ( There are 17,000 packages.)
# yum install gnuplot
.
|
|
|
04-16-2012, 11:23 AM
|
#6
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
# 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.
|
|
|
04-16-2012, 11:31 AM
|
#7
|
Member
Registered: Apr 2012
Posts: 115
Original Poster
Rep:
|
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.
|
|
|
04-16-2012, 12:14 PM
|
#8
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
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".
.
|
|
|
04-16-2012, 12:25 PM
|
#9
|
Member
Registered: Apr 2012
Posts: 115
Original Poster
Rep:
|
Hi,
Quote:
Originally Posted by knudfl
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
|
|
|
04-16-2012, 12:41 PM
|
#10
|
Member
Registered: Apr 2012
Posts: 115
Original Poster
Rep:
|
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.
|
|
|
04-16-2012, 01:52 PM
|
#11
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
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.
|
|
|
04-16-2012, 02:32 PM
|
#12
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,639
|
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
|
|
|
04-20-2012, 09:09 PM
|
#13
|
Member
Registered: Apr 2012
Posts: 115
Original Poster
Rep:
|
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
|
|
|
05-28-2014, 04:27 AM
|
#14
|
LQ Newbie
Registered: May 2014
Posts: 28
Rep:
|
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.
|
|
|
05-28-2014, 05:57 AM
|
#15
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
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.
|
All times are GMT -5. The time now is 06:15 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|