LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Java 2 Runtime Environment (https://www.linuxquestions.org/questions/linux-general-1/java-2-runtime-environment-533415/)

phantom_cyph 02-28-2007 07:16 PM

Java 2 Runtime Environment
 
I need to download Java 2 Runtime Environment, where can i get it?

pixellany 02-28-2007 07:52 PM

How about at the java website?:
http://www.java.com/en/download/linux_manual.jsp

Funny that they call it java 2---the files are actually 1.5 + something

phantom_cyph 02-28-2007 08:11 PM

I downloaded the Linux self extracting as opposed to the .rpm, Ubuntu doesn't read .rpm's does it?

Matir 02-28-2007 08:17 PM

Ubuntu can use .rpm through alien, OR you could install the official ubuntu packages, such as sun-java6-jre. (This is the 1.6 runtime environment)

phantom_cyph 02-28-2007 08:17 PM

this is what i'm getting on the install in a root terminal

root@kevanr:/home/kevan# cd jre.bin
bash: cd: jre.bin: Not a directory
root@kevanr:/home/kevan#

phantom_cyph 02-28-2007 08:19 PM

I have to have the Java 2 Runtime-I need it for a program I have to get.

Matir 02-28-2007 08:23 PM

You might need to execute the installer, though I still recommend use of the apt repositories.

phantom_cyph 02-28-2007 08:31 PM

I am trying to get alien-and this is the page I am following:

http://ubuntuguide.org/wiki/Ubuntu_E...er_.28Alien.29

However, this is what I get:

root@kevanr:/home/kevan# aptitude install alien
Reading package lists... Done
Building dependency tree
Reading state information... Done
Initializing package states... Done
Building tag database... Done
The following NEW packages will be automatically installed:
debhelper dpkg-dev html2text libbeecrypt6 librpm4 rpm
The following packages have been kept back:
firefox firefox-gnome-support libnspr4 libnss3
The following NEW packages will be installed:
alien debhelper dpkg-dev html2text libbeecrypt6 librpm4 rpm
0 packages upgraded, 7 newly installed, 0 to remove and 4 not upgraded.
Need to get 1573kB/2490kB of archives. After unpacking 8327kB will be used.
Do you want to continue? [Y/n/?] Y
Writing extended state information... Done
Get:1 http://security.ubuntu.com edgy-security/main librpm4 4.4.1-9.1ubuntu0.1 [973kB]
Media Change: Please insert the disc labeled 'Ubuntu 6.10 _Edgy Eft_ - Release i386 (20061025.1)' in the drive '/cdrom/' and press enter

Get:2 http://security.ubuntu.com edgy-security/main rpm 4.4.1-9.1ubuntu0.1 [600kB]
Fetched 1573kB in 1m19s (19.8kB/s)
Selecting previously deselected package dpkg-dev.
(Reading database ... 117510 files and directories currently installed.)
Unpacking dpkg-dev (from .../dpkg-dev_1.13.22ubuntu7_all.deb) ...
Selecting previously deselected package html2text.
Unpacking html2text (from .../html2text_1.3.2a-3_i386.deb) ...
Selecting previously deselected package debhelper.
Unpacking debhelper (from .../debhelper_5.0.37.3ubuntu4_all.deb) ...
Selecting previously deselected package libbeecrypt6.
Unpacking libbeecrypt6 (from .../libbeecrypt6_4.1.2-5_i386.deb) ...
Selecting previously deselected package librpm4.
Unpacking librpm4 (from .../librpm4_4.4.1-9.1ubuntu0.1_i386.deb) ...
Selecting previously deselected package rpm.
Unpacking rpm (from .../rpm_4.4.1-9.1ubuntu0.1_i386.deb) ...
Selecting previously deselected package alien.
Unpacking alien (from .../a/alien/alien_8.64_all.deb) ...
Setting up dpkg-dev (1.13.22ubuntu7) ...
Setting up html2text (1.3.2a-3) ...

Setting up debhelper (5.0.37.3ubuntu4) ...
Setting up libbeecrypt6 (4.1.2-5) ...

Setting up librpm4 (4.4.1-9.1ubuntu0.1) ...

Setting up rpm (4.4.1-9.1ubuntu0.1) ...

Setting up alien (8.64) ...
root@kevanr:/home/kevan# ./configure
bash: ./configure: No such file or directory
root@kevanr:/home/kevan# make checkinstall
make: *** No rule to make target `checkinstall'. Stop.
root@kevanr:/home/kevan#

I am somewhat new to command line, so go easy on me...

Matir 02-28-2007 08:33 PM

You're mixing two sections. Just use the first part, the one about " How to install & use .rpm to .deb Converter (Alien)"

rickh 02-28-2007 08:35 PM

Quote:

I am somewhat new to command line, so go easy on me...
Why should anyone attempt to help you when you pay no attention to their suggestions.

# sudo apt-get install sun-java6-jre

pixellany 02-28-2007 09:52 PM

Quote:

Originally Posted by kalabanta
I have to have the Java 2 Runtime-I need it for a program I have to get.

As I stated earlier, they call it "2" on the site, but it is really 1.5.0.X

And--it is in the Ubuntu repositories (On my Mepis, it was installed by default

Have you looked using Synaptic (in the GUI)

phantom_cyph 03-01-2007 05:33 AM

OK-it seems it was in my synaptic package manager. Is J2R another program that runs without you seeing it? Oh, and rickh, why did you think I wasn't paying attention to people's suggestions? I was down and out all yesterday with strep throat.

pixellany 03-01-2007 05:48 AM

Quote:

Originally Posted by kalabanta
OK-it seems it was in my synaptic package manager. Is J2R another program that runs without you seeing it? Oh, and rickh, why did you think I wasn't paying attention to people's suggestions? I was down and out all yesterday with strep throat.

Based on reading at the java site, I think that jre 1.5.0.X is also called "java 2" If you have jre already, I don't think there is some other program to install....

rickh read you as ignoring other posts---I read as simply that you were struggling to understand. Not to worry....

phantom_cyph 03-01-2007 10:37 AM

OK-so my problem is, I installed a program for dial-up through a company called netzero. They have the file for Linspire in a .deb format. See this other thread: http://www.linuxquestions.org/questi...d.php?t=532071
In the link to the Ubuntu forum, it said that I need to have J2R installed to be able to see/run it. I have to have this figured out by Saturday...

Matir 03-01-2007 10:54 AM

I repeat: install sun-java5-jre. (This is Sun's official java 2, version 1.5 runtime environment)


All times are GMT -5. The time now is 10:41 AM.