LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 08-13-2010, 04:23 PM   #1
moxieman99
Member
 
Registered: Feb 2004
Distribution: Dabble, but latest used are Fedora 13 and Ubuntu 10.4.1
Posts: 413

Rep: Reputation: 82
java install not showing license agreement


Installed Fedora 13 on an old computer (Sony Vaio RX660 with a 1.8 gig P4 cpu). Downloaded java 21 bin file and as root, placed it in a folder I created: /usr/java so it would be accessible to all users.

as root in terminal I did a chmod a+x to the file. Then ls -l, which showed I had full read/write with it. Finally, still root, and in terminal, I did the ./jre <etc>.bin and the package immediately unpacked and created files, but never showed me a license agreement to accept.

Java, of course, does not work. What am I doing wrong? Why no license agreement?

Thanks

Moxieman
 
Old 08-13-2010, 04:56 PM   #2
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,342

Rep: Reputation: 184Reputation: 184
Make a symbolic link from /usr/java/java-???/bin/java to /usr/bin/java should get java working.
Quote:
Why no license agreement?
have no idea, maybe a bad download?

Last edited by colorpurple21859; 08-13-2010 at 04:59 PM.
 
Old 08-14-2010, 01:43 AM   #3
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
Isn't there rpm for Fedora 13? Why everybody try to manually install things on RPM based distro's? 80-90% of those attempts finish here on forums asking why it does not work.
 
Old 08-14-2010, 02:44 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,522

Rep: Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503
@ DrLove73 : RPM :
I think these two rpm methods are described quite often at LQ :

jre-6u21-linux-i586-rpm.bin
http://www.mjmwired.net/resources/mj...-f13.html#java
( Is also the first hit by Googling .. sun java fedora 13 .. ).

And the ScientificLinux jdk - RPM :
http://ftp.scientificlinux.org/linux...0-fcs.i586.rpm
..

Last edited by knudfl; 08-14-2010 at 02:53 AM.
 
Old 08-14-2010, 08:58 PM   #5
moxieman99
Member
 
Registered: Feb 2004
Distribution: Dabble, but latest used are Fedora 13 and Ubuntu 10.4.1
Posts: 413

Original Poster
Rep: Reputation: 82
Thanks, but I can't get java to show a license. It installs enough to make the computer think that it's there, but firefox and everything else don't see it.

Didn't have this problem in F 10, so I'll probably downgrade.

Thanks for your help. I learned a lot.
 
Old 08-15-2010, 04:00 AM   #6
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
I NEVER EVER saw Java's licence on package based systems, maybe just a reminder while yum installs. And if you bothered to read first link @knudfl wrote, you would solve your "no one sees it" problem.

@knudfl, I used that method on CentOS 5.x long time ago, and I DO know they exist, I just like to make them wonder and interested in simple solutions. I download and place jre rpms (for few years) now in my own repository and install from there. Linking unfortunately must be done manually for now.
 
Old 08-15-2010, 05:18 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,522

Rep: Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503
#5 :
Quote:
.. but firefox and everything else don't see it.
Linking : the default method is .. example :
1) su
2)
Code:
/usr/sbin/alternatives --install /usr/bin/java java /usr/java/jdk1.6.0_21/bin/java 2
3) /usr/sbin/alternatives --config java
.. and choose "sun".

Firefox : You can just make a direct link like this :
cd /usr/lib/mozilla/plugins
# ln -s /usr/java/java-1.6.0-sun-1.6.0.21/jre/lib/i386/libnpjp2.so
.......

Last edited by knudfl; 08-15-2010 at 05:20 AM.
 
Old 08-15-2010, 07:17 AM   #8
moxieman99
Member
 
Registered: Feb 2004
Distribution: Dabble, but latest used are Fedora 13 and Ubuntu 10.4.1
Posts: 413

Original Poster
Rep: Reputation: 82
Quote:
Originally Posted by DrLove73 View Post
I NEVER EVER saw Java's licence on package based systems, maybe just a reminder while yum installs. And if you bothered to read first link @knudfl wrote, you would solve your "no one sees it" problem.
I did read @knudfl's link, and found it quite helpful. Unfortunately, I still could not get a proper installation. I used the rpm package, uninstalled and tried yum which borked saying that java was already installed.

My "no seeing the lincese" I took to be a symptom of the underlying problem with the install. In and of itself, not seeing a license is not a problem.

Like I said, F10 was not a problem. RPM'd, manual linked, and on my way. I will tinker some more and if no success, will downgrade.

Thanks.

Last edited by moxieman99; 08-15-2010 at 07:20 AM. Reason: typo
 
Old 08-15-2010, 03:39 PM   #9
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
Do you by any chance use 64-bit system? Or JRE instead of JDK?

This is text I keep and use for my CentOS systems:
Quote:
2. Now you need to add the Java you have installed to the list of alternatives for the java executable:
/usr/sbin/alternatives --install /usr/bin/java java /usr/java/latest/bin/java 2

Note: There is two - (hypen) before install. However wordpress may replace both of them with a separate character, so just don't copy-paste here.

Note: Tinker with /usr/java/latest/bin/java if you do not have Java installed at this location. In other words change it to point to the location of your installed Java executable from Sun.

3. Now configure alternatives to select the latest Java executable under /usr/java:
/usr/sbin/alternatives --config java

Check the version of Java to ensure that it is from Sun:
java -version

For example, this is the output I get:

java version "1.6.0_16″
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) 64-Bit Server VM (build 14.2-b01, mixed mode)

Go to /usr/lib64/mozilla/plugins:
cd /usr/lib64/mozilla/plugins

4. Create a symbolic link to libnpjp2.so (Firefox plugin for Java):

JDK:
ln -s /usr/java/latest/jre/lib/amd64/libnpjp2.so

JRE:
Note: The above is applicable for JDK installation. For JRE it is likely to be:
ln -s /usr/java/latest/lib/amd64/libnpjp2.so

5. Restart Firefox and type the following in URL field and press Enter:
aboutlugins

You should now see a section titled Java(TM) Plug-in 1.6.x

You are done installing Java Plugin / Applet support in Firefox on CentOS 5.

ln -s /usr/java/latest/plugin/i386/ns7libjavaplugin_oji.so u /usr/lib/mozilla/plugins
 
Old 08-17-2010, 08:15 PM   #10
moxieman99
Member
 
Registered: Feb 2004
Distribution: Dabble, but latest used are Fedora 13 and Ubuntu 10.4.1
Posts: 413

Original Poster
Rep: Reputation: 82
I will check it out. Thanks.
 
  


Reply


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
Can't install extension on Openoffice: License agreement breaks it Chriswaterguy Linux - Software 4 12-14-2008 08:53 PM
how to accept license agreement when installing java linux newb Ubuntu 4 08-17-2008 11:29 PM
auto scroll license agreement in bash doronunu Linux - General 2 12-27-2007 01:22 AM
License agreement - violation? Acrobat. kaz2100 Linux - Software 4 08-23-2007 06:41 PM
license agreement in linux sailu_mvn General 65 01-10-2006 03:55 PM


All times are GMT -5. The time now is 07:23 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration