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.
Which says that it can't find the package. I checked the version of my java-package and it says that its up to date. Are the j2se files just in a directory that I need to specify when I'm creating my .deb file?
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643
Rep:
Quote:
Originally Posted by TheMagicMnM
Already did that in addition to
apt-get install mpkg-j2se
Which says that it can't find the package. I checked the version of my java-package and it says that its up to date. Are the j2se files just in a directory that I need to specify when I'm creating my .deb file?
i dont believe if will debianize netbeans...not really sure but i recall reading this somewhere but forget where...
you also need fakeroot.....
btw....i recently decided to debianize my java by doing the same thing...i found out the following...
the deb file will be in the same directory as the directory you are working in..in my case i use home/<username>
also...you must do the conversion from the bin file to the deb as a user and not as root....after all is done...then switch to root to install the deb with dpkg...
I installed fakeroot and java-package, when I try to install, the following happens:
#fakeroot make-jpkg jdk-1_5_0-linux.bin
Creating temporary directory: /tmp/make-jpkg.XXXXUZLOuz
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
The package I'm trying to install is the developer's kit with java 1.5.0 and netbeans v5.0. I'm not sure what the actual deal is at this point, but I've run out of useful links on message boards and whatnot. Thanks for the help everyone, anything else would be great, sorry I'm so hopeless
Replace ${DIST} with your distribution: either with the codename (sarge, etch, sid, or woody), or with the suite (stable, testing, unstable, or oldstable).
If you are going to rebuild some of the packages, you may want to add the following source-line too (normal users don't need that):
Take a look at the list of official mirrors to come to know about what lines you have to add to your sources.list if you want to use one of our mirrors (recommended).
If you want to mirror the packages, use rsync://rsync.debian-unofficial.org/. Please do not just run wget on this site, this would be a waste of traffic.
Check the repository changelog if you want to know about the changes in this repository.
I'm not sure if anyone is still interested in this, but I managed to get the jdk and netbeans installed. As it turns out I just did the following:
1) download the jdk-1.5.0....bin
2) chmod +x jdk-1.5.0.......bin
3) ./jdk-1.5.0.......bin
I don't know why this is the way it worked, I'm still getting the hang of debian. Thanks for all the help everyone.
You should not install the jdk in this fashion. Sun has a nasty habit of writing files all over your system. This may work now, but don't be surprised when you find one day that it no longer works.
I highly recommend removing it and reinstalling it "The Debian Way". Debian's package management system is what makes it so much better than any rpm based distro (IMHO). Why would you want to crap all over it? Look at /usr/share/java-package/sun-j2sdk.sh to see what versions of the jdk are supported by java-package.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.