Hi,
I was going to upgrade to Pro version on my Ubuntu server and according to the manual I should install min Java 7.
And trough:
sudo apt-get install openjdk-7-jre
But I can’t do that:
sudo apt-get install openjdk-7-jre
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package openjdk-7-jre is not 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
E: Package 'openjdk-7-jre' has no installation candidate
I recommend you to use Java in version 8, because it is the current stable version for production.
Java 9 is not completely finished yet and still in development.
And Seafile Pro does not use any feature of Java 9, so you should be able to use OpenJDK 8 as long as it is supported itself.
I did try my thing and now when I write java -version I get:
java -version
openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-0ubuntu1.16.04.2-b11)
OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)
I guess I have version 8 now right?
And now when I do the autoremove thing I get:
sudo apt-get autoremove openjdk-9-jre
[sudo] password for xxx:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'openjdk-9-jre' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.