[DONE]Java ver 8

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[DONE]Java ver 8

Postby mackowiakp » Mar 1st, '15, 14:42

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?
Last edited by mackowiakp on Mar 12th, '15, 22:52, edited 1 time in total.
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland

Re: Java ver 8

Postby doktor5000 » Mar 1st, '15, 15:44

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
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18061
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Java ver 8

Postby mackowiakp » Mar 12th, '15, 10:01

Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland

Re: Java ver 8

Postby doktor5000 » Mar 12th, '15, 21:18

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
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18061
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Java ver 8

Postby mackowiakp » Mar 12th, '15, 22:52

THX I will try!
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron