DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to install the J2sdk1.5 and have had very little success. Every instruction tutorial I have seen starts with
apt-get install fakeroot java-package
fakeroot installs fine. Java-package does not.
I get an error that says "Couldn't find package java-package". I looked for a couple of hours and I finally found a source file for the package but I haven't been able to complete the installation.
The steps I took to install the source:
1) Untar java-package OR java-package-0.24 OR java-package-xxx, whatever you downloaded
2) Type cd java-package-xxx
3) Rename make-jpkg to make-jpkg.out
4) Type fakeroot make install to install the java-package using fakeroot
5) I then copied the sun-j2sdk1.5 folder from the untarred archive java-package-xxx to /usr/share/java-package and placed it there.
7) In the terminal window, I just typed make-jpkg followed by the Java SDK pathname
When I go to this last step I couldn't go any further. I have no idea what the Java SDK pathname is. I have searched all over my system and nothing.
My system is a new install and nothing beyond the default web server install has been added or removed.
Any help will be greatly appreciated. I'm getting a little desperate now.
See the instructions I've written: Debian Java JRE/JDK installation. I have brought up both creating a .deb from the .bin, and the way of using 3rd party repositories, and the last-resort way of installing it "manually".
The thing with java-package is that it resides in the contrib section of Debian's repositories, which is not included by default after the installation. Most instructions regarding this omit that small yet important thing, apparently assuming that the user is capable enough to figure that out.
I added the line you (ingvildr) listed above then used 'apt-get update' but I am getting the package not found error again. Is there something else I need to do?
I have been using the command 'apt-get install java-package'. Is this not the command? Do I need to use the package names you listed above (i.e. 'apt-get install sun-j2se5.0-jce-binary').
Look at your sources list sarge lines they should have main contrib non-free at end. If you go thru sources lists sticky at top of this forum you can get better oriented. Dastrike's method works as well as the backport site. But be careful with number of backports used for you may get apt-get dependency errors later.
Have fun
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.