Code Monkey home page Code Monkey logo

Comments (7)

thomassuckow avatar thomassuckow commented on July 25, 2024

This seems to be getting pulled in from jDocker which is getting pulled in from:
java.lang.UnsupportedClassVersionError: org/glassfish/jersey/client/proxy/WebResourceFactory : Unsupported major.minor version 51.0

The jDocker README is also out of date claiming Java 1.6 compatibility.

from docker-plugin.

larrycai avatar larrycai commented on July 25, 2024

I meet same problem, it works ok for 0.3.5 with Java 1.6. Do you have plan to support Java1.6 again, or will stay with Java 7 ?

from docker-plugin.

thomassuckow avatar thomassuckow commented on July 25, 2024

I have submitted a pull request that restores Java6 compatability: nirima/jDocker#2

from docker-plugin.

magnayn avatar magnayn commented on July 25, 2024

So 1.7 is required for any Jersey version >= 2.7 (current release is now 2.9).

When diagnosing why the API was failing (which seemed eventually be that the version of docker I was testing against returned a content-type header, but no actual content), the first course is usually to upgrade dependencies.

Whilst it's probably possible to revert backwards in this instance, there isn't a 1.6 maintenance version for Jersey from what I can see.

I used to be somewhat more sympathetic to Java versioning when it wasn't open-source, and significant platforms (like Macs) were perennially a version behind. That's not true any more; Java 1.6 was EOL over a year ago, 1.7 will EOL in under a year, and the roadmaps that state when these events happen have been around a long time.

What seems to happen however is that Corporate IT departments are slow to upgrade. They want their free software to run, without doing any work themselves. My worry is that by bowing to requests to maintain compatibility with obsolete platform versions, we're actually rewarding that behaviour - and making it even harder to move the platform on and take advantage of modern platform features.

from docker-plugin.

rbywater avatar rbywater commented on July 25, 2024

From the sound of an email response on the Jenkins list (https://groups.google.com/d/msg/jenkinsci-users/QCOzryzieeo/l9VZUul1U2EJ) it sounds like it is expected that plugins continue to support Java 6. Not sure if thats official guidelines or not but perhaps if there is a way to do so the plugin should?

from docker-plugin.

rbywater avatar rbywater commented on July 25, 2024

Just noticed that Java 6 compatiblity has been restored so ignore my previous comments :) Presumably this issue can be closed now?

from docker-plugin.

thomassuckow avatar thomassuckow commented on July 25, 2024

I've updated to 0.6.1 and appears to be working with Java6. Closing.

from docker-plugin.

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.