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

Re: sun-java6-jre



On Tue, 17 Jul 2007 00:50:05 +0200, Marcin wrote:

> Can anybody tell me what's wrong with the sun-java6-jre package. Some
> dependencies seem to be broken and i can't install it. I am running
> unstable.

As suggested, install "javapackage" and then from java.sun.com download 
"jre-6u2-linux-amd64.bin". Then just issue:

$ make-jpkg jre-6u2-linux-amd64.bin

and wait for the .deb to be created. At this point:

jack@vasquez:~/Desktop$ sudo dpkg -i sun-j2re1.6_1.6.0+update2_amd64.deb
Password:
Selecting previously deselected package sun-j2re1.6.
(Reading database ... 103988 files and directories currently installed.)
Unpacking sun-j2re1.6 (from sun-j2re1.6_1.6.0+update2_amd64.deb) ...
Setting up sun-j2re1.6 (1.6.0+update2) ...

jack@vasquez:~/Desktop$ which java
/usr/bin/java
jack@vasquez:~/Desktop$ ls -l /usr/bin/java
lrwxrwxrwx 1 root root 22 2007-07-15 21:48 /usr/bin/java -> /etc/
alternatives/java
jack@vasquez:~/Desktop$ ls -l /etc/alternatives/java
lrwxrwxrwx 1 root root 29 2007-07-17 07:24 /etc/alternatives/java -> /usr/
lib/j2re1.6-sun/bin/java

There you go :)

-- 
Best Regards, Jack
Linux user #264449
Powered by Debian PPC



Reply to: