[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt and java



This is all very confusing to new users.
Having to create a package is kind of awkward, since I just want to install someone else's packages. is it not possible to bundle sun's Java as a basic package (in contrib, for example), and allow users to choose which java they want to install the free kafee, or the not so free j2sdk? as a java developer, I find it quite sad that its so hard to install java applications through get-apt, the reason is, as far as I can tell (and I am a newbie with Debian), is that sun's java is not bundled as a deb, so its impossible to put anything that relies on it in. of course, there are other java implementations, which are free, but the truth is, that in my almost five years of programming java professionaly, I have never heared of them - and surely not tested anything I wrote on them, so - to say the least, I am not keen to run my programs on them yet, I have enough problems with the migration to debian now, and would not like bring some more on myself. I know the process of creating the package with java-package, or similar tools may not be hard, but its much more than new users want to do, and it pretty much a thorn in apt-get pretty butt, at least for me.


Damien Raude-Morvan wrote:

Le Vendredi 1 Octobre 2004 18:37, Rishabh Manocha a écrit :
I have this problem too..apt usually tries to install kaffe when I am
installing a java program even though i have sun VM(not thru apt). Like
the other day I was trying to install ant and it said that it will
install kaffe too and hence I had to abort.
Is there any way around this??
thanks

You should try java-package [1] :
Very useful to build JDK ou JRE debian package from a .bin downloaded on sun website. Create alternative so you can switch easily between sun-jdk1.5, blackdown-jdk1.4, sun-jdk1.4, kaffe, sablevm, etc !

[1] http://packages.debian.org/java-package




Reply to: