LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Which version JRE for AMD64X2 and Ubuntu 7.10? (https://www.linuxquestions.org/questions/linux-software-2/which-version-jre-for-amd64x2-and-ubuntu-7-10-a-609704/)

bettyhills 12-28-2007 07:50 PM

Which version JRE for AMD64X2 and Ubuntu 7.10?
 
Which version of JRE should I install for AMD64X2 and Ubuntu 7.10?

Synaptic offers Sun Java JRE 5.0 and Sun Java JRE 6.

Also, JRE5 and 6 are each offered in two versions, Architecture Dependent Files, and Architecture Independent Files.

AND, to further complicate things, JRE 5.0 and 6 are each offered in 32 bit as well.

Which version should I install, and, since I want to learn everything I can, why is that version the better option?

shorun 12-29-2007 08:41 AM

so, you want the 64 bit java?
go for jre6 for sure, it's the newest and works fine.
and if you are running 64 bits, that's the other question solved.

bettyhills 12-29-2007 02:21 PM

Complete beginner here...
I am running GG 7.10 AMD64 version. Is that considered 64-bit?

Do I want the 64 bit java?
Is jre6 64-bit?

Folks, please advise. I completely destroyed FF 7.04 trying to install java and azureus and started over. In the new clean install of GG 7.10, azureus crashes with Java GCJ.

I just want to install a stable version of java AND a stable version of azureus without bringing down anything else like Firefox (version Mozilla Firefox 2.0.0.11, Copyright (c) 1998 - 2007 mozilla.org). I keep reading about conflicts.

I need to know what version of JRE to install and the same for azureus? I do not know if I am allowed to install 32-bit software with a 64-bit Ubuntu installation.

The choices in Synaptic are:
1. JRE 5.0 32-bit 1.5.0.13 Oubuntu1
2. JRE 5.0 Architecture Dependent Files 1.5.0.13 Oubuntu1
3. JRE 5.0 Architecture Independent Files 1.5.0.13 Oubuntu1
4. JRE 6 32-bit 6-03 Oubuntu2
5. JRE 6 Architecture Dependent Files 6-03 Oubuntu2
6. JRE 6 Architecture Independent Files 6-03 Oubuntu2

Can anyone advise me exactly what to do here?

David the H. 12-30-2007 11:14 AM

I've been wondering about this myself. I've been trying to get the gnu java runtime (gcj/gij) to work, but every time I try to run a something, it goes into a memory-hogging loop that completely takes over my system and becomes almost impossible to shut down. I think I need to install Sun java instead. But which one?

Anyway, AMD64 means you have an AMD 64-bit cpu (specifically, it's an x86-64, which means it can run both 32 and 64-bit programs), so yes, you probably want the 64-bit packages.

However, the big question right now has to do with browser plugins. I'm not sure if the 64-bit java is able to be used with a browser plugin yet. If you want to be able to access java applications on the web, you may need to run the 32-bit version of java instead and use nspluginwrapper to allow your browser(s) to access it. That or run a 32-bit browser with the 32-bit java. I don't know, it's all quite complicated figuring out what works and what doesn't right now. Is anyone using Sun java on x86-64 with a browser plugin here?

As for dependent and independent, you need both. Dependent means the files that are designed to work specifically with your cpu and provide the base system, and independent means the parts of java that run on top of those and are designed to work on any system. It's easier to see when you look at directly at the package names. On my Debian system they're called sun-java6-bin and sun-java6-jre, respectively, and the latter calls the former as a dependency. And the 32-bit java package is really just the corresponding 32-bit architecture-dependent bin (program binary) package, which the jre (the "java runtime environment") can use instead, if you want a 32 bit java environment.

So you'll want to install either the JRE-32 or the JR6 (64-bit) architecture-dependent bin packages, depending on the version you want to run, then the architecture-independent jre to run on top of it.


All times are GMT -5. The time now is 09:36 PM.