Installation with JDK11 does not work
See original GitHub issuesteps
I’m executing
wget -q https://raw.githubusercontent.com/foundweekends/conscript/master/setup.sh -O- | sh
~/.conscript/bin/cs foundweekends/giter8
problem
While the first command works, the second one fails with:
WARNING: Illegal reflective access by org.jboss.netty.util.internal.ByteBufferUtil (file:/home/skirsch/.conscript/boot/scala-2.11.12/org.foundweekends.conscript/conscript/0.5.3/netty-3.9.2.Final.jar) to method java.nio.DirectByteBuffer.cleaner()
WARNING: Please consider reporting this to the maintainers of org.jboss.netty.util.internal.ByteBufferUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
An unexpected error occurred: Please check your internet connection.
Exception message: https://api.github.com/repos/foundweekends/giter8/git/refs/heads/master
stack trace
there is none
expectation
The installation should have worked!
notes
Installation with JDK8 works:
me@workstation:~/develop/is24-java-backend-template$ sudo update-alternatives --config java
There are 2 choices for the alternative java (providing /usr/bin/java).
Selection Path Priority Status
------------------------------------------------------------
0 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1111 auto mode
1 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1111 manual mode
* 2 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081 manual mode
However, we want to use giter8 on a Jenkins build agent that is only equipped with JDK11.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Java jdk11 installation on Windows 10 problems
I have changed the environment variable (System Variables) that was set for JAVA_HOME from the path of JRE17, to my new destination path...
Read more >Installation of the JDK on Microsoft Windows Platforms
JDK Installation Troubleshooting · Open the MS-DOS shell or command prompt window. · Right-click the title bar. · Select Properties. · Select the...
Read more >Windows installer does not recognize installed JDK11 instances
When JDK11 is installed and appropriately configured on a Windows server, the Bitbucket installer still extracts and configures itself to use ...
Read more >Download and Install Java 11 (OpenJDK and Oracle JDK)
Note that you must have an Oracle account to be able to download JDK 11 installer. If not, creating one is free. Run...
Read more >How to Download and Install OpenJDK 11 on Windows 10 PC ...
This article explains how to install OpenJDK 11, without removing Oracle Java from the PC. OpenJDK (Open Java Development Kit) is a free...
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
Same here, trying to execute cs foundweekends/giter8
Environments: openjdk version “11.0.5” 2019-10-15 OpenJDK Runtime Environment (build 11.0.5+10-post-Ubuntu-0ubuntu1.118.04)
No worries @sebastiankirsch. Btw, I tested it with openjdk docker images, in particular I used 8, 11 and 17
In each of the 3, I get
g8 0.13.1
as output. I’m closing it since the actually documented installation instructions are correctly working, feel free to reopen it in case of troubles.