Coder Social home page Coder Social logo

Comments (6)

enternoescape avatar enternoescape commented on August 30, 2024

I obviously cannot speak for everyone, but this would allow the older docker container to work with Java 8 again which would address some compatibility issues with older plugins. On a side note, when I was building to fix an issue on Windows, I had to upgrade to Java 9 to be able to successfully compile the current code as it is on Github. I wasn't expecting that and spent a lot of time troubleshooting assuming I created the issue.

from sagetv.

wnjj avatar wnjj commented on August 30, 2024

Iā€™m pretty sure I built the last windows version with JDK 8 which would explain the difference. JDK9 was a result of needing to update the distribution for the automated build on GitHub.

from sagetv.

jusjoken avatar jusjoken commented on August 30, 2024

I currently do not have a build system for windows nor Linux but as time permits I will set one up again. If someone doesn't beat me to it I will test out the release=8 option under jdk9 and see what happens.

I think if we can support Java 8 as long as possible the better as we have many older in use plugins that could be affected. The Jetty issue may be the biggest but I am close to a jetty 9 release that works well on Java 8+

from sagetv.

jusjoken avatar jusjoken commented on August 30, 2024

I found a resolution to this. I could not make it work with a build system that uses JDK9 as the --release option under Gradle is broken and Gradle does not plan to resolve it. So I built a build system as follows...

  • JDK 11 and ubuntu 20 (I actually used "adoptopenjdk/openjdk11:jdk-11.0.11_9" docker as my base image).
  • Gradle 7.3.3 (needed as it supports --release)
  • Had to change the gradle.build a bit to support Gradle 7+ as compile has been removed and now needed to use implementation

I manually uploaded the linux installer to my jusjoken/sagetv-linux forked repo and setup a Java 8 docker to use that as the sagetv install file and the docker works well.

If anyone want to try out the docker it is the one available in unraid and dockerhub under "sagetvopen/sagetv-server-java8"

I can create a PR for these changes but it would also force the github workflow process to be updated as in the end that is what is building the linux releases. I am not sure how to test those changes although in theory it should just be a matter of changing it to use ubuntu 20 and JDK 11. The --release flag is in the updated build.gradle file

Let me know your thoughts and I will clean up the changes from my testing and create a PR.

Ken

from sagetv.

jusjoken avatar jusjoken commented on August 30, 2024

For record purposes on this issue I updated the PR to include the workflow changes needed to test build on ubuntu 20.04 and use JDK 11 and it passed the PR tests....good news. If the PR is accepted then the 9.2.7 build should run again on a java 8 docker (I guess I still need to change the version and push that too)

from sagetv.

jusjoken avatar jusjoken commented on August 30, 2024

I did another PR to move the build process to use ubuntu 18.04 so the SageTV build would run on 18.04+. Although we could just expect users to update the linux os (that is what I did on the dockers), as 18.04 is under support for at least more than 1 more year I thought it better to also support 18.04.

from sagetv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.