Page 1 of 1

[DONE]Java ver 8

PostPosted: Mar 1st, '15, 14:42
by mackowiakp
Is it planned to update Java in M4 repo to ver 8 ? Becuse at this moment I have:

Code: Select all
java -version
java version "1.7.0_75"
OpenJDK Runtime Environment (mageia-2.5.4.1.mga4-i386 u75-b13)
OpenJDK Client VM (build 24.75-b04, mixed mode, sharing)


But newest version of Serviio DLNA server needs ver 8

Or can I install it from Couldron? If so can You show me command how to do it, that is which packages should be installed?

Re: Java ver 8

PostPosted: Mar 1st, '15, 15:44
by doktor5000
mackowiakp wrote:Is it planned to update Java in M4 repo to ver 8 ?

Nope.

mackowiakp wrote:Or can I install it from Couldron? If so can You show me command how to do it, that is which packages should be installed?

Install from cauldron is probably a bad idea. You would need to rebuild at least openjdk1.8 itself under mga4 and also all the new dependencies it might require.

Check viewtopic.php?f=4&t=5530
src.rpm: ftp://ftp.snt.utwente.nl/pub/os/linux/m ... a5.src.rpm

Re: Java ver 8

PostPosted: Mar 12th, '15, 10:01
by mackowiakp

Re: Java ver 8

PostPosted: Mar 12th, '15, 21:18
by doktor5000
Right way compared to what?

It sets up alternatives the same way our packages do, looks good. The only thing that could be done differently is set JAVA_HOME
either via /etc/java/java.conf or also via a small script that is only enabled when jdk8 is enabled via alternatives mechanism,
so you still can have several java versions in parallel and easily switch between those without fiddling with your ~/.bashrc

Re: Java ver 8

PostPosted: Mar 12th, '15, 22:52
by mackowiakp
THX I will try!