How to install SmartSVN in Ubuntu 10.04 (Lucid Lynx)? JRE installation is suspected

2650
Kim Stacks

I followed the instructions in How To: Install/Setup SmartSVN in Ubuntu. I followed everything and it didn't start. I also tried to update my JRE:

sudo apt-get install sun-java6-jre sun-java6-plugin 

But it does not work for me, because the terminal complains about package sun-java6-jre not being available, but is referred to by another package.

This may mean that the package is missing, has been obsoleted, or is only available from another source. Error message:

Package sun-java6-jre has no installation candidate

I did run Synaptic, so I managed to install Java JRE, I think. But I cannot view JRE on Chrome using the test applet Othello.

So I think I did not successfully install JRE hence my Chrome and my SmartSVN are not working as expected.

1

2 Antworten auf die Frage

1
quack quixote

The Sun Java packages are not available in the default Ubuntu repositories. You need to enable Canonical's partner repositories. After following the below procedure they should be available:

  1. Open System -> Administration -> Software Sources
  2. Switch to the "Other Software" tab.
  3. Enable the repository with this listing:
    http://archive.canonical.com/ubuntu lucid partner
  4. Update your Apt cache; either in Synaptic (press the Reload button), or on the commandline (sudo aptitude update).
  5. Now the packages should be available in Synaptic or via your installation command. You can also use this aptitude variation:
    sudo aptitude install sun-java6-jre sun-java6-plugin
Vielen Dank. Zumindest habe ich mein Chrome Java Applet zum Laufen gebracht. aber mein smart svn funktioniert immer noch nicht. irgendwelche Ideen? Kim Stacks vor 13 Jahren 0
1
Octavian Vladu

Holen Sie sich sun-java-jdk, indem Sie eine PPA eines Drittanbieters hinzufügen:

sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-jdk