Does ws-agent require JDK?
See original GitHub issueI’m getting the below error when starting a ubuntu workspace using a base image that doesn’t have JDK.
[STDOUT] 2017/04/28 10:20:12 Terminal routes:
[STDOUT] 2017/04/28 10:20:12 ✓ Connect to pty(webscoket) ............... GET /pty
[STDOUT] 2017/04/28 10:20:12
[STDERR] /bin/sh: 57: [: Illegal number: <<<<<<<<<<<<<<<<<
[STDOUT] Reading package lists...
[STDOUT] Building dependency tree...
[STDOUT] Reading state information...
[STDOUT] software-properties-common is already the newest version (0.96.20.6).
I think this refers to https://github.com/eclipse/che/blob/master/wsagent/agent/src/main/resources/org.eclipse.che.ws-agent.script.sh#L57
Is JDK required to use the ws-agent? We are developing with PHP in the ws not Java and the docs seem to imply it isn’t required.
Dockerfile in use https://github.com/outeredge/edge-docker-che-base/blob/master/Dockerfile
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
che wsagent can't load Java stack when only JDK 11 ... - GitHub
Using the new EAP 7.2 RHEL 8 JDK 11 base image, I managed to get a clean scratch build [0] from this commit...
Read more >How to Use the Latest Certified JDK 8 Update with 13.5 Agents
This document will be updated as and when a newer version is certified. This document provides instructions on How to use the Latest...
Read more >java.lang.instrument (Java SE 11 & JDK 11 )
An implementation is not required to provide a way to start agents from the command-line interface. When it does, then it supports the...
Read more >Extra licensing required for Java JDK/JRE? — oracle-mosc
From version 1.8.0_202 Java is no longer free. Does this Java now have to be licensed additionally if it is only used by...
Read more >jdk.management.agent (Java SE 17 & JDK 17)
This module allows a Java Virtual Machine to be monitored and managed via JMX API. See more information from the Monitoring and Management...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah, got it. Will issue a PR to fix it.
@davidwindell yes, jdk is required for a workspace agent.
And it looks like a bug in a bash script. Testing it on a clean ubuntu image now.