Hello, I installed Kubuntu three weeks ago and I am very happy with it. I love the speed of browsing the web compared to what I had before. I am just on dial-up (that's what u get for living too much north) and let me tell you: It's much faster.
Anyways. I encountered some a problem with the Java. I installed the Java plugin through
sudo apt-get install kubuntu-restricted-extras
but something went wrong in the installation. Everything else works (MP3, playing DVDs, etc) but the Java seems not. I remember some error about dependency problems.
If I type "Java" in the console, I get he following:
loslocos@loslocos:~$ java
The program 'java' can be found in the following packages:
* cacao
* j2re1.4
* kaffe
* jamvm
* java-gcj-compat
* gij-4.1
* gij-4.2
* sablevm
Try: sudo apt-get install <selected package>
bash: java: command not found
loslocos@loslocos:~$
I tried to reinstall it using sudo apt-get install sun-java6-plugin but this is what happens:
loslocos@loslocos:~$ sudo apt-get install sun-java6-plugin
Reading package lists... Done
Building dependency tree
Reading state information... Done
sun-java6-plugin is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0B of archives.
After unpacking, 0B of additional disk space will be used.
Setting up sun-java6-bin (6-03-0ubuntu2) ...
/var/lib/dpkg/info/sun-java6-bin.postinst: 84: /usr/lib/jvm/java-6-sun-1.6.0.03/bin/java: not found
dpkg: error processing sun-java6-bin (--configure):
subprocess post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of sun-java6-plugin:
sun-java6-plugin depends on sun-java6-bin (= 6-03-0ubuntu2); however:
Package sun-java6-bin is not configured yet.
dpkg: error processing sun-java6-plugin (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
sun-java6-bin
sun-java6-plugin
E: Sub-process /usr/bin/dpkg returned an error code (1)
loslocos@loslocos:~$
hmm. Then I tried purging it (is is installed or not) but this is what I am getting:
sudo dpkg --purge sun-java6-bin
dpkg: dependency problems prevent removal of sun-java6-bin:
sun-java6-jre depends on sun-java6-bin (= 6-03-0ubuntu2) | ia32-sun-java6-bin (= 6-03-0ubuntu2); however:
Package sun-java6-bin is to be removed.
Package ia32-sun-java6-bin is not installed.
dpkg: error processing sun-java6-bin (--purge):
dependency problems - not removing
Errors were encountered while processing:
sun-java6-bin
loslocos@loslocos:~$
The folder /usr/lib/jvm/java-6-sun-1.6.0.03/bin exists, there a bunch of files in there but there is no subdirectory.
Anybody having an idea what I can do to get the Java working? I appreciate your help.
Anyways. I encountered some a problem with the Java. I installed the Java plugin through
sudo apt-get install kubuntu-restricted-extras
but something went wrong in the installation. Everything else works (MP3, playing DVDs, etc) but the Java seems not. I remember some error about dependency problems.
If I type "Java" in the console, I get he following:
loslocos@loslocos:~$ java
The program 'java' can be found in the following packages:
* cacao
* j2re1.4
* kaffe
* jamvm
* java-gcj-compat
* gij-4.1
* gij-4.2
* sablevm
Try: sudo apt-get install <selected package>
bash: java: command not found
loslocos@loslocos:~$
I tried to reinstall it using sudo apt-get install sun-java6-plugin but this is what happens:
loslocos@loslocos:~$ sudo apt-get install sun-java6-plugin
Reading package lists... Done
Building dependency tree
Reading state information... Done
sun-java6-plugin is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0B of archives.
After unpacking, 0B of additional disk space will be used.
Setting up sun-java6-bin (6-03-0ubuntu2) ...
/var/lib/dpkg/info/sun-java6-bin.postinst: 84: /usr/lib/jvm/java-6-sun-1.6.0.03/bin/java: not found
dpkg: error processing sun-java6-bin (--configure):
subprocess post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of sun-java6-plugin:
sun-java6-plugin depends on sun-java6-bin (= 6-03-0ubuntu2); however:
Package sun-java6-bin is not configured yet.
dpkg: error processing sun-java6-plugin (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
sun-java6-bin
sun-java6-plugin
E: Sub-process /usr/bin/dpkg returned an error code (1)
loslocos@loslocos:~$
hmm. Then I tried purging it (is is installed or not) but this is what I am getting:
sudo dpkg --purge sun-java6-bin
dpkg: dependency problems prevent removal of sun-java6-bin:
sun-java6-jre depends on sun-java6-bin (= 6-03-0ubuntu2) | ia32-sun-java6-bin (= 6-03-0ubuntu2); however:
Package sun-java6-bin is to be removed.
Package ia32-sun-java6-bin is not installed.
dpkg: error processing sun-java6-bin (--purge):
dependency problems - not removing
Errors were encountered while processing:
sun-java6-bin
loslocos@loslocos:~$
The folder /usr/lib/jvm/java-6-sun-1.6.0.03/bin exists, there a bunch of files in there but there is no subdirectory.
Anybody having an idea what I can do to get the Java working? I appreciate your help.
Comment