LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Mixing 13 and 13-current Java packages; pros and cons (https://www.linuxquestions.org/questions/slackware-14/mixing-13-and-13-current-java-packages%3B-pros-and-cons-804774/)

catkin 04-28-2010 10:36 AM

Mixing 13 and 13-current Java packages; pros and cons
 
Hello :)

I understand it is not generally a good idea to mix 13 and 13-current packages but I am installing OpenProj which requires JDK and the installed JRE (6-18) is up-level from 13's JRE (6-16) and back-level from the 13-current JDK (6-19). Presumably JRE and JDK should be at the same level.

Would it be better to take both JRE and JDK to 13-current (6-19) or to take both to 13 (6-16)?

The reason for installing JRE 6-18 was in the hope of solving a Vuze startup segmentation fault problem (it didn't) as discussed in this LQ thread.

Best

Charles

Didier Spaier 04-28-2010 11:02 AM

Openproj 1.4 made with the SlackBuild from slackbuilds.org works well on Slackware64-13.0 here, so I don't see why you'd need to mix -stable and -current packages, at least in this case.

In any case I wouldn't mix versions between JRE and JDK. And I avoid using -current packages on -stable.

If you really need a package upgrade, IMHO it's better to make it yourself re-using the slackbuild included in -stable if that works.

Richard Cranium 04-28-2010 01:19 PM

Your JDK and JRE should match, but the two java versions that you mention are API compatible.

Plus the JDK comes with a copy of the JRE; there's really no good reason to have both unless you need to run under different JVMs for some external reason.

catkin 04-29-2010 04:50 AM

Thanks Didier ad Richard :-)

Especially useful to learn that Openproj 1.4 SlackBuild works well on Slackware(64)-13.0 and that JDK includes JRE. Given that there's no reason for using JRE 6-18, I'll uninstall it and install JDK from Slackware 13.0 (32 bit).


All times are GMT -5. The time now is 09:02 PM.