From a9fcf6bf88d48c6964d0c0f6dbfdb010f041d1ee Mon Sep 17 00:00:00 2001 From: Jim Huang Date: Wed, 5 Nov 2025 21:46:01 +0800 Subject: [PATCH] Bump Eclipse Temurin 11 --- Dockerfile | 3 +-- Install.md | 4 ++-- README.md | 24 ------------------------ 3 files changed, 3 insertions(+), 28 deletions(-) diff --git a/Dockerfile b/Dockerfile index 71b3159..1f88591 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # First stage : setup the system and environment -FROM ubuntu:24.04 as base +FROM eclipse-temurin:11-jre-noble as base RUN \ apt-get update && \ @@ -7,7 +7,6 @@ RUN \ ca-certificates-java \ curl \ graphviz \ - openjdk-8-jre-headless \ gcc \ python3-dev \ && \ diff --git a/Install.md b/Install.md index 9e27054..9616a4b 100644 --- a/Install.md +++ b/Install.md @@ -15,7 +15,7 @@ Make sure you have Docker [installed](https://docs.docker.com/get-docker/) on yo The `sysprog21/chisel-bootcamp` image supports both x86-64 and Arm64 architectures. It bundles: - Ubuntu 24.04 -- OpenJDK 8 +- [Eclipse Temurin](https://adoptium.net/temurin) 8 - Scala 2.12.10 with Almond 0.9.1 kernel - Jupyter Lab - Graphviz for circuit visualization @@ -115,7 +115,7 @@ These instructions cover Windows 10 and later. Running the command prompt in Adm #### Install Java -Ensure Java 17 LTS or later is installed. Test by typing `java -version` in a command prompt. If not found, install from [Adoptium](https://adoptium.net/temurin/releases/). +Ensure Java 11 or later is installed. Test by typing `java -version` in a command prompt. If not found, install from [Adoptium](https://adoptium.net/temurin/releases/). #### Install Jupyter Jupyter recommends using the Anaconda distribution, here is the diff --git a/README.md b/README.md index 1ac90b9..3a51508 100644 --- a/README.md +++ b/README.md @@ -78,30 +78,6 @@ If you decide to write instances instead of generators, you will see fewer advan But if you take the time to learn how to write generators, then the power of Chisel will become apparent and you will realize you can never go back to writing Verilog. Learning to write generators is difficult, but we hope this tutorial will pave the way for you to become a better hardware designer, programmer, and thinker! -## FAQ - -### Kernel Crashes Upon Startup - -I get the following error upon launching a Scala notebook and Jupyter says that the kernel has crashed: - -``` -Exception in thread "main" java.lang.RuntimeException: java.lang.NullPointerException - at jupyter.kernel.server.ServerApp$.apply(ServerApp.scala:174) - at jupyter.scala.JupyterScalaApp.delayedEndpoint$jupyter$scala$JupyterScalaApp$1(JupyterScala.scala:93) - at jupyter.scala.JupyterScalaApp$delayedInit$body.apply(JupyterScala.scala:13) - ... - -Caused by: java.lang.NullPointerException - at ammonite.runtime.Classpath$.classpath(Classpath.scala:31) - at ammonite.interp.Interpreter.init(Interpreter.scala:93) - at ammonite.interp.Interpreter.processModule(Interpreter.scala:409) - at ammonite.interp.Interpreter$$anonfun$10.apply(Interpreter.scala:151) - at ammonite.interp.Interpreter$$anonfun$10.apply(Interpreter.scala:148) - ... -``` - -Make sure that you have **Java 8** selected for running Jupyter (see the instructions above). - ## Contributors - Stevo Bailey ([stevo@berkeley.edu](mailto:stevo@berkeley.edu)) - Adam Izraelevitz ([adamiz@berkeley.edu](mailto:azidar@berkeley.edu))