Can Java just shoot me?

Karl Larsen k5di at zianet.com
Thu Nov 22 16:30:07 UTC 2007


Craig White wrote:
> On Thu, 2007-11-22 at 06:58 -0700, Karl Larsen wrote:
>   
>> Craig White wrote:
>>     
>>> On Wed, 2007-11-21 at 19:24 -0700, Karl Larsen wrote:
>>>   
>>>       
>>>> Knute Johnson wrote:
>>>>     
>>>>         
>>>>>> On Wed, 2007-11-21 at 14:27 -0700, Karl Larsen wrote:
>>>>>> Sun's java (neither 32 nor 64 bit) will run as plugin inside of 64 bit
>>>>>> firefox
>>>>>>
>>>>>> Craig
>>>>>>     
>>>>>>         
>>>>>>             
>>>>> Craig:
>>>>>
>>>>> I thought there was supposed to be some software to make that work.  
>>>>> Somebody else here mentioned it a couple of days ago.
>>>>>
>>>>> Just curious,
>>>>>
>>>>>   
>>>>>       
>>>>>           
>>>>     Well I have F7 and F7-64bit and F8 on this computer and after a day 
>>>> of gaining information and finding things I have Java running on F7 and 
>>>> F8 both 32 bit machines. Another expert said you have to compile a new 
>>>> Firefox for a 64 bit system with special words to make sure the new one 
>>>> is 32 bit. It *SHould* work then on 64 bit system.
>>>>     
>>>>         
>>> ----
>>> you are talking apples and I am talking oranges
>>>
>>> I clearly stated running as a plugin within Firefox
>>>
>>> Please pay attention.
>>> ----
>>>   
>>>       
>>>>     If I knew how bad this was going to be I would never have started 
>>>> trying to make Java work. It is just TOO HARD!
>>>>     
>>>>         
>>> ----
>>> and from what I gather, you had no reason to do so, your needs
>>> undoubtedly would have been met with java-compat version automatically
>>> included in Fedora.
>>>
>>> let's see if you actually got it to work...what do you get when you type
>>> (as root)
>>>
>>> alternatives --config java
>>>
>>> ?
>>>
>>> Craig
>>>
>>>   
>>>       
>> [root at k5di ~]# alternatives --config java
>>
>> There is 1 program that provides 'java'.
>>
>>   Selection    Command
>> -----------------------------------------------
>> *+ 1           /usr/lib/jvm/jre-1.5.0-gcj/bin/java
>>
>> Enter to keep the current selection[+], or type selection number:
>>
>>
>> I seem to have one.
>>
>> And this is on F7. The F8 may not be right but the test web page worked....
>>     
> ----
> for the record...
>
> jre-1.5.0-gcj is the open source java, not Sun's java
>
> # rpm -q --info java-1.5.0-gcj-1.5.0.0-14.fc7
> Name        : java-1.5.0-gcj               Relocations: (not
> relocatable)
> Version     : 1.5.0.0                           Vendor: Red Hat, Inc.
> Release     : 14.fc7                        Build Date: Mon 16 Apr 2007
> 09:17:36 AM MST
> Install Date: Fri 07 Sep 2007 08:14:11 PM MST      Build Host:
> hs20-bc1-5.build.redhat.com
> Group       : Development/Languages         Source RPM:
> java-1.5.0-gcj-1.5.0.0-14.fc7.src.rpm
> Size        : 113281                           License: GPL
> Signature   : DSA/SHA1, Fri 18 May 2007 12:36:46 PM MST, Key ID
> b44269d04f2a6fd2
> Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
> URL         : http://sources.redhat.com/rhug/java-gcj-compat.html
> Summary     : JPackage runtime compatibility layer for GCJ
> Description :
> This package installs directory structures, shell scripts and symbolic
> links to simulate a JPackage-compatible runtime environment with GCJ.
>
> Craig
>
>   
    All that be what it may. I checked my F8 and changed from the one 
that was there I gather from the start or maybe a yum product. But I 
changed to the one I installed and will see how that works. Here is what 
I did on F8:

[karl at k5di ~]$ su -
Password:
[root at k5di ~]# alternatives --config java

There are 2 programs which provide 'java'.

  Selection    Command
-----------------------------------------------
*+ 1           /usr/lib/jvm/jre-1.7.0-icedtea/bin/java
   2           /usr/lib/jvm/jre-1.5.0-gcj/bin/java

Enter to keep the current selection[+], or type selection number: 2
[root at k5di ~]#

The Java web page checker didn't like the icedtea version for some reason.



-- 

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.




More information about the fedora-list mailing list