scala crashes right after launch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
scala (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When I launch /usr/bin/scala with no arguments, it presents this welcome like I assume is normal:
```
Welcome to Scala 2.11.12 (OpenJDK 64-Bit Server VM, Java 19.0.2).
Type in expressions for evaluation. Or try :help.
```
And then a few seconds later it crashes with a very long java stack trace:
```
Welcome to Scala 2.11.12 (OpenJDK 64-Bit Server VM, Java 19.0.2).
Type in expressions for evaluation. Or try :help.
Exception in thread "Thread-1" java.lang.
at jline.internal.
at jline.console.
at jline.console.
at jline.console.
at jline.console.
at scala.tools.
at scala.tools.
at scala.tools.
at scala.tools.
at scala.tools.
at java.base/
Caused by: java.lang.
at java.base/
at java.base/
at java.base/
... 11 more
Failed to initialize compiler: NoClassDefFound
This is most often remedied by a full clean and recompile.
Otherwise, your classpath may continue bytecode compiled by
different and incompatible versions of scala.
java.lang.
at jline.internal.
at jline.console.
at jline.console.
at jline.console.
at jline.console.
at scala.tools.
at scala.tools.
at scala.tools.
at scala.tools.
at scala.tools.
at scala.tools.
at scala.tools.
at scala.tools.
at scala.reflect.
at scala.tools.
at scala.tools.
at scala.tools.
at scala.tools.
at scala.tools.
at scala.tools.
Caused by: java.lang.
... 20 more
```
That's it, that's the entire problem. It's pretty dire though.
ProblemType: Bug
DistroRelease: Ubuntu 22.10
Package: scala 2.11.12-5
ProcVersionSign
Uname: Linux 5.19.0-35-generic x86_64
ApportVersion: 2.23.1-0ubuntu3
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: XFCE
Date: Mon Mar 20 20:38:32 2023
InstallationDate: Installed on 2022-12-24 (86 days ago)
InstallationMedia: Xubuntu 18.04.5 LTS "Bionic Beaver" - Release amd64 (20200806.1)
PackageArchitec
SourcePackage: scala
UpgradeStatus: No upgrade log present (probably fresh install)