LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-08-2006, 02:59 AM   #1
megaprog
Member
 
Registered: Sep 2006
Posts: 74

Rep: Reputation: 15
I have problems with JDK help me please !


Hi guys, I would love if anyone here could help me with a lil big problem, I'm trying to install the SUN JDK, the recomended way, making a .deb from the .bin file, I have done everything in line, download fakeroot and java-package besides the jdk.bin of course, but when I try to install it I get an error that I have tried to solve but I can't and I don't know what else to do, here is the output:

Note: I change the file name from the original name to an easier one, and I'm sure everything is well done.

Code:
[E-MAIL-PROTECTED]:~$ fakeroot make-jpkg jdk-1.bin
Creating temporary directory: /tmp/make-jpkg.XXXXz2Lk7b
Loading plugins: blackdown-j2re.sh blackdown-j2sdk.sh common.sh ibm-j2re.sh ibm-j2sdk.sh j2re.sh j2sdk-doc.sh j2sdk.sh j2se.sh sun-j2re.sh sun-j2sdk-doc.sh sun-j2sdk.sh

Detected Debian build architecture: i386
Detected Debian GNU type: i486-linux-gnu

No matching plugin was found.
Removing temporary directory: done
[E-MAIL-PROTECTED]:~$
Thanks, please I'll be waiting for your answer.
 
Old 09-08-2006, 10:24 PM   #2
JackieBrown
Member
 
Registered: Dec 2004
Location: San Antonio, TX
Distribution: Debian-AMD64 Sid
Posts: 481

Rep: Reputation: 31
I would have thought the recommended way would be apt-get install sun-java5-jdk.

Enable Sid if you aren't using it. The package maintainers were careful to make sure it was installable on sarge up.

It's stuck in unstable due to bug reports on the license.
 
Old 09-09-2006, 08:52 AM   #3
megaprog
Member
 
Registered: Sep 2006
Posts: 74

Original Poster
Rep: Reputation: 15
I know what you say

Quote:
Originally Posted by JackieBrown
I would have thought the recommended way would be apt-get install sun-java5-jdk.

Enable Sid if you aren't using it. The package maintainers were careful to make sure it was installable on sarge up.

It's stuck in unstable due to bug reports on the license.
I perfectly understand what you recomend man, and thanks for the answer, BUT ! I already did it, in fact I already have Java installed on my system (Etch), but they support JDK 1.4.x, and I got some applications that depend on jdk 1.5, so let's say that I need that lastest versions, I could install it from the .bin file, but I know I don't know how to configure the path and all that stuff, I've tried so many ways, but I can't find the right one , please help
 
Old 09-09-2006, 11:44 AM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by megaprog
I perfectly understand what you recomend man, and thanks for the answer, BUT ! I already did it, in fact I already have Java installed on my system (Etch), but they support JDK 1.4.x, and I got some applications that depend on jdk 1.5, so let's say that I need that lastest versions, I could install it from the .bin file, but I know I don't know how to configure the path and all that stuff, I've tried so many ways, but I can't find the right one , please help
Try getting the sun-java5-jre or -bin depending on which you need the paths should be set properly with the Debian packages.

Code:
apt-cache policy sun-java5-jre
sun-java5-jre:
  Installed: (none)
  Candidate: 1.5.0-08-1
  Version table:
     1.5.0-08-1 0
        600 http://ftp2.de.debian.org sid/non-free Packages
 
Old 09-09-2006, 03:59 PM   #5
JackieBrown
Member
 
Registered: Dec 2004
Location: San Antonio, TX
Distribution: Debian-AMD64 Sid
Posts: 481

Rep: Reputation: 31
Quote:
Originally Posted by megaprog
I perfectly understand what you recomend man, and thanks for the answer, BUT ! I already did it, in fact I already have Java installed on my system (Etch), but they support JDK 1.4.x, and I got some applications that depend on jdk 1.5, so let's say that I need that lastest versions, I could install it from the .bin file, but I know I don't know how to configure the path and all that stuff, I've tried so many ways, but I can't find the right one , please help
Not to be rude but I said sid not etch
 
Old 09-10-2006, 12:41 AM   #6
megaprog
Member
 
Registered: Sep 2006
Posts: 74

Original Poster
Rep: Reputation: 15
Perfect !

Code:
sun-java5-jre:
  Installed: 1.5.0-08-1
  Candidate: 1.5.0-08-1
  Version table:
 *** 1.5.0-08-1 0
JackieBrown: I know you said sid, and I just said that I have etch, but I installed the package from sid since it's not yet on the Etch, thanks anyway bro.

HappyTux: Thanks for the info, as you can see up I just realized that I have 1.5 installed on my system, so what I really need is to configure it (wich of course I have tried but I didn't could), I don't know if it's correct to talk about this here o should I make a new post ?

Anyway, please don't kill me, I have tried to configure the vaiable JAVA_HOME on my bashrc, but it dosen't seem to work, I'm pretty sure I'm not doing it right

Last edited by megaprog; 09-10-2006 at 12:42 AM.
 
  


Reply



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
Jdk onelung02 Linux - Software 5 07-14-2006 03:43 PM
Java problems, JDK 1.5.x, server crashes/hangs InJesus Programming 4 10-28-2005 04:16 PM
jdk not working crash_override_me Ubuntu 3 10-18-2005 12:35 PM
how to use Jdk 1.3.1 in RH 9 Egyptian_Isis Linux - Newbie 1 11-06-2003 04:15 AM
Mandrake 9.0 and Java jdk + Forte problems lolmc Linux - Software 0 12-14-2002 12:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:04 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