LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-08-2006, 02:38 AM   #1
Lokathor
Member
 
Registered: Oct 2005
Location: Boise, ID
Distribution: Debian testing
Posts: 99

Rep: Reputation: 15
Java installation trouble.


I installed java-pacakage and then tried to use the "fakeroot make-jpkg binaryFile" command (like it says to in the how-to), and it spat back at me the following:
Code:
daniel@compy:~$ fakeroot make-jpkg jre-1_5_0_07-linux-i586.bin
Creating temporary directory: /tmp/make-jpkg.ZGlpnF2827
Loading plugins: blackdown-j2re.sh blackdown-j2sdk.sh common.sh ibm-j2re.sh ibm-j2sdk.sh j2re.sh j2sdk.sh j2se.sh sun-j2re.sh sun-j2sdk.sh

No matching plugin was found.
Removing temporary directory: done
daniel@compy:~$
The topic doesn't seem to talk about any kind of "plugin" except for the browser plugins. What did I do wrong (or what didn't I install)?
 
Old 07-08-2006, 02:56 AM   #2
binary_y2k2
Member
 
Registered: Jul 2005
Location: England, UK
Distribution: Ubuntu 8.04 Server, Kubuntu 12.04
Posts: 698
Blog Entries: 1

Rep: Reputation: 31
//posted on wrong thread, sorry

Last edited by binary_y2k2; 07-08-2006 at 10:09 PM.
 
Old 07-08-2006, 07:15 AM   #3
Lokathor
Member
 
Registered: Oct 2005
Location: Boise, ID
Distribution: Debian testing
Posts: 99

Original Poster
Rep: Reputation: 15
I'm sorry, but how does a windows driver to read ext2 help my debian system?
 
Old 07-08-2006, 08:53 AM   #4
manishsingh4u
Member
 
Registered: Oct 2005
Location: Bhopal, India
Distribution: RHEL 6
Posts: 422

Rep: Reputation: 30
Please check this page. Hope it will be helpfull
http://wiki.serios.net/wiki/Debian_J...T_repositories
 
Old 07-08-2006, 12:08 PM   #5
JackieBrown
Member
 
Registered: Dec 2004
Location: San Antonio, TX
Distribution: Debian-AMD64 Sid
Posts: 481

Rep: Reputation: 31
sun-java5-jre is in the repos now.
 
Old 07-08-2006, 02:33 PM   #6
Lokathor
Member
 
Registered: Oct 2005
Location: Boise, ID
Distribution: Debian testing
Posts: 99

Original Poster
Rep: Reputation: 15
compy:/home/daniel# apt-get install sun-java5-jre
Code:
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package sun-java5-jre
compy:/home/daniel# apt-get install sun-j2se5.0-jdk-binary
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package sun-j2se5.0-jdk-binary
compy:/home/daniel# cat /etc/apt/sources.list
#deb http://ftp.us.debian.org/debian/ sarge main

deb http://mirrors.kernel.org/debian/ stable main
deb-src http://mirrors.kernel.org/debian/ stable main

deb http://security.debian.org/ stable/updates main

deb http://ftp.debian.org/debian/ testing main
deb-src http://ftp.debian.org/debian/ testing main

deb http://download.videolan.org/pub/videolan/debian sid main
deb-src http://download.videolan.org/pub/videolan/debian sid main

# Debian Unofficial
deb http://ftp.debian-unofficial.org/debian sarge main contrib non-free restricted

I added the repos, updated, and then tried to install it and it still says that those packages don't exist.

Do the "free-java-sdk" and "kaffe" packages provide the same functionality as the normal java setup? Truth be told, i'm not particualrly intrested in using java beyond getting Limewire to run, i'm not a fan of the language. maybe that's why it won't work for me.
 
Old 07-08-2006, 06:13 PM   #7
manishsingh4u
Member
 
Registered: Oct 2005
Location: Bhopal, India
Distribution: RHEL 6
Posts: 422

Rep: Reputation: 30
Alright then, we will configure it manually.

1) Download the J2SE v 1.4.2_12 SDK package from sun's website. Here's the link
http://java.sun.com/j2se/1.4.2/download.html
Please select the "self-extracting file" under this section
Linux Platform - Java(TM) 2 SDK, Standard Edition 1.4.2_12 for download.

2) Make this j2sdk-1_4_2_12-linux-i586.bin executable
Code:
chmod 0755 j2sdk-1_4_2_12-linux-i586.bin
3) Run this file
Code:
./j2sdk-1_4_2_12-linux-i586.bin
4) You will see some "Terms and Conditions" screen. Keep pressing ENTER till you are being asked to type "yes" or "no". Type "yes" and press ENTER.
5) A directory named j2sdk1.4.2_12 will be created in the current working directory. Copy/Move this directory to your desired installation directory. I would prefer /usr/local
Code:
mv j2sdk1.4.2_12 /usr/local/ -v
6) Add the path to /usr/local/j2sdk1.4.2_12/bin to your system's PATH variable
Code:
export PATH=$PATH:/usr/local/j2sdk1.4.2_12/bin
7) Now check if it's configured correcly. Try running java and javac
Code:
java
Code:
javac
8) If you see some output other than "command not found", then you are done.
9) To make this PATH variable hold the path of the java executables, add the export command used above at the end of /etc/profile file
Code:
export PATH=$PATH:/usr/local/j2sdk1.4.2_12/bin
Please let me know if it works.

Last edited by manishsingh4u; 07-13-2006 at 04:23 PM.
 
Old 07-08-2006, 11:41 PM   #8
Lokathor
Member
 
Registered: Oct 2005
Location: Boise, ID
Distribution: Debian testing
Posts: 99

Original Poster
Rep: Reputation: 15
yeah, manual installing did work, thanks. I was somehow under the impression that a deb file was required to get everything into the proper location. Guess not.
 
Old 07-09-2006, 01:45 PM   #9
JackieBrown
Member
 
Registered: Dec 2004
Location: San Antonio, TX
Distribution: Debian-AMD64 Sid
Posts: 481

Rep: Reputation: 31
Quote:
Originally Posted by Lokathor
compy:/home/daniel# apt-get install sun-java5-jre
[CODE]Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package sun-java5-jre
compy:/home/daniel# apt-get install sun-j2se5.0-jdk-binary
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package sun-j2se5.0-jdk-binary

I should have said where. Sorry. It is in non-free secction of sid by that name exacly. Even has an optional mozilla plugin.

I checked the depenicies. It will install in testing without any problems. It will stay in unstable for a while because people keep filing bugs against it licence.
 
  


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
JAVA JRE installation to view java applet through browser dipenchaudhary Linux - Software 1 01-23-2006 09:20 AM
Java SDK installation trouble vous Linux - Software 6 03-02-2005 12:56 PM
Java Virtual Machine ? J2re? installation & plug in trouble moridon77 Linux - Software 16 06-21-2004 08:12 PM
Java Runtime Environment installation trouble Mechanic Linux - Software 2 06-25-2003 10:33 PM

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

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