Hi
I have been trying to get java working for the last couple of days with no luck. So far, I have done the following:
1. Manual install from java website. This appeared to be successful but actually wasn't.
2. Trouble shooting from java website. Including enabling java in web browser (firefox) I wasn't able to clear the cache as per the instructions though because I couldn't find it.
3. Searched forums here and tried the these commands in the terminal: sudo apt-get install java, sudo apt-get install kubuntu-restricted-extras (a lot were installed before there was an error)
sudo apt-get install sun-java6-jre sun-java6-plugin This one seemed to work. I ended up with a page of text about configuring java and the licensing agreement but it still didn't work. The java website tells me in the test that the java executable is not found.
Then I tried the code sudo ln -s /usr/lib/jvm/java-6-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so /etc/alternatives/mozilla-javaplugin.so This seemed to do what it was supposed to so I put in the next code (these two are from another thread) sudo ln -s /etc/alternatives/mozilla-javaplugin.so /usr/lib/mozilla-firefox/plugins/mozilla-javaplugin.so and the following is what happened next:
/usr/lib/mozillaln: creating symbolic link `/usr/lib/mozilla-firefox/plugins/mozilla-javaplugin.so': No such file or directory
judi@laptop:~$ sudo apt-get install sun-java6-bin sun-java6-jre
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correctthe problem.
judi@laptop:~$ sudo update-alternatives --config java
No alternatives for java.
judi@laptop:~$ sudo apt-get install java
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correctthe problem.
judi@laptop:~$ dpkg --configure -a
dpkg: requested operation requires superuser privilege
judi@laptop:~$ sudo dpkg --configure -a
Setting up java-common (0.30ubuntu3) ...
Processing triggers for man-db ...
judi@laptop:~$ sudo apt-get install java
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package java
judi@laptop:~$
I also looked at Adept but wasn't able to do anything from there. I tried to find out about automatix as mentioned in another thread but didn't have any luck. The page seems to have moved.
If anyone can give me some very basic step by step instructions I would really appreciate it.
Thanks
I have been trying to get java working for the last couple of days with no luck. So far, I have done the following:
1. Manual install from java website. This appeared to be successful but actually wasn't.
2. Trouble shooting from java website. Including enabling java in web browser (firefox) I wasn't able to clear the cache as per the instructions though because I couldn't find it.
3. Searched forums here and tried the these commands in the terminal: sudo apt-get install java, sudo apt-get install kubuntu-restricted-extras (a lot were installed before there was an error)
sudo apt-get install sun-java6-jre sun-java6-plugin This one seemed to work. I ended up with a page of text about configuring java and the licensing agreement but it still didn't work. The java website tells me in the test that the java executable is not found.
Then I tried the code sudo ln -s /usr/lib/jvm/java-6-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so /etc/alternatives/mozilla-javaplugin.so This seemed to do what it was supposed to so I put in the next code (these two are from another thread) sudo ln -s /etc/alternatives/mozilla-javaplugin.so /usr/lib/mozilla-firefox/plugins/mozilla-javaplugin.so and the following is what happened next:
/usr/lib/mozillaln: creating symbolic link `/usr/lib/mozilla-firefox/plugins/mozilla-javaplugin.so': No such file or directory
judi@laptop:~$ sudo apt-get install sun-java6-bin sun-java6-jre
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correctthe problem.
judi@laptop:~$ sudo update-alternatives --config java
No alternatives for java.
judi@laptop:~$ sudo apt-get install java
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correctthe problem.
judi@laptop:~$ dpkg --configure -a
dpkg: requested operation requires superuser privilege
judi@laptop:~$ sudo dpkg --configure -a
Setting up java-common (0.30ubuntu3) ...
Processing triggers for man-db ...
judi@laptop:~$ sudo apt-get install java
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package java
judi@laptop:~$
I also looked at Adept but wasn't able to do anything from there. I tried to find out about automatix as mentioned in another thread but didn't have any luck. The page seems to have moved.
If anyone can give me some very basic step by step instructions I would really appreciate it.
Thanks
Comment