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)

phantom_cyph 03-01-2007 04:35 PM

Matir-the reason I did not follow your suggestion is because you did not explain how to. If you would like to take the time and explain it to me, I would be very grateful.

pixellany 03-01-2007 05:04 PM

Quote:

Originally Posted by kalabanta
Matir-the reason I did not follow your suggestion is because you did not explain how to. If you would like to take the time and explain it to me, I would be very grateful.

I thought you said that you found it in Synaptic:confused: :confused: :confused:

Maybe Matir did not give complete details, but--as a group--we have given you what you need.

Perhaps post a summary of what you have done, tried, etc. and exactly what questions remain.

phantom_cyph 03-01-2007 05:07 PM

I located it in the Synaptic Package Manager and installed it, there is no icon for it in my menu or anything-so my question is, does it run without me starting it or what? Like I have said, I need a netzero file to run, and it says it need J2R-will it work now?

phantom_cyph 03-01-2007 05:18 PM

OK-thank all of you for your help! Finally the netzero setup is working! Is there a way I can copy J2R to my boss's computer to set it up there?

pixellany 03-01-2007 05:18 PM

The reason there is no icon is that you would not run jre as a standalone app.

If you want the plug-in to work in your browser--eg Firefox--you may need to set up a link.
Quote:

Like I have said, I need a netzero file to run, and it says it need J2R-will it work now?
Why don't you try it??

phantom_cyph 03-01-2007 06:43 PM

Is there anyway to copy the J2R to a disc and transfer it to another computer?

Matir 03-01-2007 06:47 PM

Why not just install it in the same way on the other computer?

phantom_cyph 03-01-2007 06:58 PM

No internet on the other computer-its at work, and what I need J2R for is the Netzero ISP program for dial-up at work.

Matir 03-01-2007 07:01 PM

Well, you could download the .deb file from http://packages.ubuntu.com/edgy/libs/sun-java5-jre and use "dpkg -i" to install it on the other machine.

Because of dependencies, you probably also need http://packages.ubuntu.com/edgy/libs/sun-java5-bin and http://packages.ubuntu.com/edgy/misc/java-common. That SHOULD be all.

phantom_cyph 03-01-2007 07:09 PM

sweet! thanks Matir!

phantom_cyph 03-02-2007 07:12 AM

Hey-another question, for some reason, I can only open it using command line.

http://www.geocities.com/whitehat4u/netzero.png

How can I make a desktop icon?

phantom_cyph 03-02-2007 07:49 AM

Continue of Java 2 Runtime thread
 
this is a continuation of this thread:

http://www.linuxquestions.org/questi...d.php?t=533415

I can only open netzero using command line.

http://www.geocities.com/whitehat4u/netzero.png

How can I make a desktop icon?

reddazz 03-02-2007 08:50 AM

Since you are using KDE, right click on the Desktop -> Create New -> Link to Application and use the box that pops up to create you desktop launcher.

Matir 03-02-2007 09:11 AM

Right click on the desktop and select "Create Launcher".

Matir 03-02-2007 09:13 AM

Since both of your threads pertained to a single issue, I have merged them to help keep the conversation in one place. This will allow users to understand your issue.

phantom_cyph 03-02-2007 11:19 AM

Ok-um, by the way, I am using gnome, not KDE.

phantom_cyph 03-02-2007 03:07 PM

problem with launcher-what do I put in command? when I go to my file system, I can't find the netzero installation, but I can open it from command line. any ideas?

reddazz 03-03-2007 03:05 PM

Quote:

Originally Posted by kalabanta
problem with launcher-what do I put in command? when I go to my file system, I can't find the netzero installation, but I can open it from command line. any ideas?

The commands that you enter in a terminal to start your program are the same ones you enter when configuring a launcher.

phantom_cyph 03-03-2007 03:42 PM

oh-OK. The dumb thing is, my command was:

sudo bash /opt/nzclient/runclient.sh

lol-I just realized I could just have the launcher open runclient.sh, and it worked. Thanks though! :-)


All times are GMT -5. The time now is 03:56 PM.