Comments (7)
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.
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.
I have submitted a pull request that restores Java6 compatability: nirima/jDocker#2
from docker-plugin.
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.
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.
Just noticed that Java 6 compatiblity has been restored so ignore my previous comments :) Presumably this issue can be closed now?
from docker-plugin.
I've updated to 0.6.1 and appears to be working with Java6. Closing.
from docker-plugin.
Related Issues (20)
- NullPointerException on DockerComputerSSHConnector.getBindingForPort HOT 1
- docker build too slow
- Uninstallation Process HOT 1
- Add possibility to have a custom named Dockerfile HOT 1
- Add runtime docker agent template container option
- Can't make plugin to work over unix socket HOT 18
- Dynamic provision of Docker Agent Templates HOT 14
- can not get container id if the Jenkins is running in a podman HOT 4
- Client certificate doesn't provide to remote docker daemon HOT 1
- NPE in DockerComputerJNLPConnector.beforeContainerCreated starting with Jenkins 2.437 HOT 9
- Docker cloud does not show credentials dropdown HOT 1
- Support to connect to docker/podman socket via SSH tunnel HOT 2
- Docker.inside() sh block doesn't wait until "$@" is executed
- Unable to run Jenkins build node if I set "User Jenkins" in the dockerfile HOT 11
- No logs when using awslogs log driver
- Deprecated value in DEFAULT_ENTRY_POINT_ARGUMENTS
- Is there a way to add build time options like --add-host?
- uninstallation pending HOT 1
- Pipeline withDockerContainer() report an Error:Cannot run program "docker": error=2, No such file or directory HOT 1
- Add Instance Number to Environment Variables
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-plugin.