LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-22-2004, 02:54 AM   #1
thejokker
LQ Newbie
 
Registered: Jun 2004
Distribution: fedora core 2
Posts: 24

Rep: Reputation: 15
Java 2 Enviro Install help


ok i swear to god i did search the threads here and i couldnt find this answer, i did find a few posts with similar questions but no resolution.

im a linux newbie and have been installing most things with yum and rpms. but to get the new java i dl a rpm.bin file. ok so how do i get the rpm to where i can run it, command line is fine, just how do i do it
 
Old 06-22-2004, 03:03 AM   #2
thejokker
LQ Newbie
 
Registered: Jun 2004
Distribution: fedora core 2
Posts: 24

Original Poster
Rep: Reputation: 15
sorry if this was a dumb question found the answer in irc

chmod u+x rpm.bin
./rpm.bin

thx for looking anyways maybe it helps someone else
 
Old 06-22-2004, 03:10 AM   #3
ardee
LQ Newbie
 
Registered: Jun 2004
Distribution: Gentoo Linux, Ubuntu, Manderake 10 Official
Posts: 5

Rep: Reputation: 0
Wink Re: Java 2 Enviro Install help

here is how I installed my J2sdk1.4.2

0.)Open a console (if you are using X), and go to the folder where the .bin is located. For the purposes of providing an example, let us say that your installer is j2sdk-1_4_2_04-linux-i586.bin (I believe this is the latest version of JDK1.4 series. Haven't tried 1.5 yet, though... )

1.) since you might need root priveleges to install, type
su root
and enter you password

2.) type
chmod 777 j2sdk-1_4_2_04-linux-i586.bin
This would tell linux that the installer is executable

3.) type
./j2sdk-1_4_2_04-linux-i586.bin
This will execute the binary installer

4.) There will be the some agreements to be agreed upon, some settings to set, (for example, the directory where you would want you java environment to be installed). Mine is installed in /usr/local/j2sdk1.4.2_04/.

5.) You now have installed your Java Environment. To use it, you might use /<java installation>/java myprogram

Cheers!
 
Old 06-22-2004, 04:47 AM   #4
Pseudonym88
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Rep: Reputation: 0
cheers adz for the walkthrough, had the same problem, works fine now.
 
Old 06-22-2004, 05:27 AM   #5
DaGiGi
LQ Newbie
 
Registered: Jun 2004
Location: Huizen, Netherlands
Posts: 4

Rep: Reputation: 0
hello i got a different Question, but it has something to do with JRE though.
I just started with linux and want to have a download program for bittorent, so i chose Azureus, i tried to install it but it said my version was too old--> java1.2 instead of java 1.4, well i installed java and it says still the same, som1 can help me out? btw this is the error:

Starting Azureus...
Java exec found in PATH. Verifying...
1.2
OOPS, your java version is too old [java = 1.2]
You need to upgrade to JRE 1.4.x or newer from http://java.sun.com
ls: /usr/java: No such file or directory
OOPS, unable to locate java exec in /usr/java/ hierarchy
You need to upgrade to JRE 1.4.x or newer from http://java.sun.com
[gigi@c5147018a azureus]$
 
  


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
How to use Enlightenment Desktop Enviro? justiceisblind Linux - Newbie 8 06-05-2008 10:34 AM
what directory is java install? what CMD determined where java is install? Thks. suse2166 Linux - Newbie 2 09-04-2005 09:24 PM
trouble installing Qt and setting up enviro variables cheezies Linux - Software 2 07-19-2004 09:16 PM
Desktop Enviro vs Window Man. kierl Linux - General 1 01-15-2003 05:49 PM
PATH enviro var nightvip Linux - Newbie 3 08-17-2002 07:38 PM


All times are GMT -5. The time now is 08:28 AM.

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