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 03-19-2006, 08:00 PM   #1
TheMagicMnM
LQ Newbie
 
Registered: Mar 2006
Posts: 4

Rep: Reputation: 0
mpkg-j2se


Does anyone know where I can find the mpkg-j2se package? I need it to install Java and Netbeans.
 
Old 03-20-2006, 12:38 AM   #2
dracae
Member
 
Registered: Feb 2006
Location: Oklahoma
Distribution: Debian Sid and Etch
Posts: 423

Rep: Reputation: 30
apt-get install java-package
 
Old 03-20-2006, 09:47 AM   #3
TheMagicMnM
LQ Newbie
 
Registered: Mar 2006
Posts: 4

Original Poster
Rep: Reputation: 0
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?
 
Old 03-20-2006, 09:55 AM   #4
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643

Rep: Reputation: 32
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...


Last edited by utanja; 03-20-2006 at 09:56 AM.
 
Old 03-20-2006, 10:03 AM   #5
dracae
Member
 
Registered: Feb 2006
Location: Oklahoma
Distribution: Debian Sid and Etch
Posts: 423

Rep: Reputation: 30
The command is
make-jpkg
 
Old 03-20-2006, 01:56 PM   #6
TheMagicMnM
LQ Newbie
 
Registered: Mar 2006
Posts: 4

Original Poster
Rep: Reputation: 0
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
 
Old 03-20-2006, 03:30 PM   #7
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643

Rep: Reputation: 32
i installed the runtime package...j2re.....again...i believe that this procedure will not with net beans be compatible...
 
Old 03-21-2006, 12:18 PM   #8
dracae
Member
 
Registered: Feb 2006
Location: Oklahoma
Distribution: Debian Sid and Etch
Posts: 423

Rep: Reputation: 30
You need java-package from testing, the one in sarge does not support v1.5+
 
Old 03-21-2006, 04:29 PM   #9
TheMagicMnM
LQ Newbie
 
Registered: Mar 2006
Posts: 4

Original Poster
Rep: Reputation: 0
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.
 
Old 03-21-2006, 05:00 PM   #10
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
According to http://debian-unofficial.org/installation.html

Quote:
Add the following line into your /etc/apt/sources.list file. You may need root privilegies to edit the file.

deb http://ftp.debian-unofficial.org/debian ${DIST} main contrib non-free restricted

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):

deb-src http://ftp.debian-unofficial.org/debian ${DIST} main contrib non-free restricted

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.
Then
Code:
apt-get install netbeans4.1-en-binary
 
Old 03-21-2006, 11:35 PM   #11
dracae
Member
 
Registered: Feb 2006
Location: Oklahoma
Distribution: Debian Sid and Etch
Posts: 423

Rep: Reputation: 30
Quote:
Originally Posted by TheMagicMnM
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.
 
  


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
Installing J2SE 1.5.0 ivoencarnacao Slackware 2 10-03-2005 02:34 PM
J2SE: Configuration Dark Severance Red Hat 2 05-09-2005 10:33 AM
Slackware 10.1 and J2SE 1.4.x License question nosaku Slackware 6 12-15-2004 09:23 AM
How to install J2SE on Core 1? DeepSPiN Fedora 0 02-16-2004 05:10 AM
problems installing J2SE on REDHAT 9.0 sP1v Linux - Newbie 5 05-15-2003 07:03 PM

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

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