LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-29-2004, 06:39 PM   #1
Jaster
Member
 
Registered: Jun 2004
Posts: 105

Rep: Reputation: 15
Installing java...oy...


ok, I'm running debian on 2.6. I want to install java and a good IDE. The sun website is confusing me, every post I look up here confuses me further and don't even get me started on the stuff I'm seeing on google... Anyways can people help me out with the exact steps necessary to install java (I'll go find an IDE after that). Assume I don't know much (ha ha strong assumption) and guide me through it if you dare lol. Thanks all.
 
Old 11-29-2004, 06:54 PM   #2
cyent
Member
 
Registered: Aug 2001
Location: ChristChurch New Zealand
Distribution: Ubuntu
Posts: 398

Rep: Reputation: 87
Java, as M$ has found, has some strings attached. So Debian isn't working so very nicely with it. Bascially pull in the http://www.eclipse.org stuff and go with that.

Or even better, go with a nice clean, easy it all just works language like Ruby http://www.ruby-lang.org (It is nicely debianised.)
 
Old 11-29-2004, 07:02 PM   #3
Jaster
Member
 
Registered: Jun 2004
Posts: 105

Original Poster
Rep: Reputation: 15
Well, right now I want to install everything I need to write/compile/run java programs. So far, the best I have is this: http://www.linuxquestions.org/questi...nstalling+java
I've gotten to the part about writing soemthing to /etc/profile.d and I do know what that means, I have no such file. What all do I need to write/compile/run java programs on linux and how do I get it on there? lol
 
Old 11-29-2004, 07:15 PM   #4
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
In agreement here... Sun homepage _is_ messy, if not even more messy then Microsoft's page. Rants apart, I wrote this:

http://www.linuxquestions.org/questi...171#post921171

it's also about installing Limewire and Java RE, but the principle is the same: Download, run the javaee_whateverxxx.bin and create either links.

Read that link and further suggestions in that same link and see if helps. Or else post here how much far you are, what you have done, etc and we see if that would help.

Best Regards!
 
Old 11-29-2004, 08:25 PM   #5
Jaster
Member
 
Registered: Jun 2004
Posts: 105

Original Poster
Rep: Reputation: 15
ok, I just went from lost and confused to very confuzzled. When I try to ./j2re-1_4_2_04-linux-i586.bin I get a 'permission denied' error. I'm root for sure which just means I am very confuzzled, what's up? I'm sure it's something basic I'm just missing.
 
Old 11-29-2004, 08:34 PM   #6
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
Is the file executable: use "ls -l j2re-1_4_2_04-linux-i586.bin" to see the permissions. If it is not executable, run the command "chmod +x j2re-1_4_2_04-linux-i586.bin" to make it executable.

Then follow MegaManX's instructions to install java.

--Ian
 
Old 11-29-2004, 08:36 PM   #7
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Ok, lemme see.. First, you are using the Java 2 Runtime Environment (j2re) meaning that it's not what you want. The Runtime Environment does not come with the compiler javac, so it's basicaly only to run java and browser plugin, I guess... The one you want is Java 2 SDK Standard Edition, v 1.4.2 (J2SE):

http://java.sun.com/j2se/1.4.2/download.html

The installation instructions is found here:

http://java.sun.com/j2se/1.4.2/install-linux.html

Drop a line in here if you get stuck. I understand it can be quite confusing my fellow. We all been there and done that (some once in a while too like me)

Last edited by Mega Man X; 11-29-2004 at 08:37 PM.
 
Old 11-30-2004, 01:09 AM   #8
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
i don't know what debian 2.6 is (you mean 2.6 kernel yes?)
the blackdown debian archives are now running sarge and sid have dropped potatoe and woody
i wonder why they did that ? blackdown has always been the debian way for java
if you are using sarge or sid
but by all means use these
ftp://metalab.unc.edu/pub/linux/deve...wn.org/debian/
or another blackdown mirror for debian java packages for apt to use
edit
oy... as you say the web post trashed the link
above without deb ftp:// to trick it into posting without truncate
metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/debian sarge main non-free

i also have used and like ibm's jdk
http://www-106.ibm.com/developerwork.../jdk/linux140/

Last edited by foo_bar_foo; 11-30-2004 at 01:13 AM.
 
Old 11-30-2004, 08:58 AM   #9
Jaster
Member
 
Registered: Jun 2004
Posts: 105

Original Poster
Rep: Reputation: 15
sorry, I meant 2.6 kernel. I'm really not trying to be difficult, but... foo_bar_foo you have lost me lol. I really don't understand what that command in the 'code' line is doing, and I really don't understand what I am to do with the ftp. Please enlighten me!
 
  


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
Help installing java Lakota Mandriva 18 12-12-2004 03:02 AM
Installing Java VM? broham Arch 1 11-12-2004 03:33 AM
Installing Java tarballed Linux - Software 7 08-27-2004 10:23 PM
Installing Java? loganwva Linux - General 4 02-17-2002 04:44 AM
Installing Java mrl Linux - Newbie 4 05-23-2001 03:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:35 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
Open Source Consulting | Domain Registration