Re: How to solve the target:jvm-1.8 error when run start-scala-shell.sh

2021-10-30 Thread Jing Lu
Thanks, Jeff! This is very insightful. On Sat, Oct 30, 2021 at 12:15 AM Jeff Zhang wrote: > The reason is that flink-scala-shell uses scala-2.11 which uses jvm-1.6 as > its target by default, that's why it can not use any library that depends > on jvm-1.8. > > You can use Zeppelin instead which

Re: How to solve the target:jvm-1.8 error when run start-scala-shell.sh

2021-10-30 Thread Jeff Zhang
The reason is that flink-scala-shell uses scala-2.11 which uses jvm-1.6 as its target by default, that's why it can not use any library that depends on jvm-1.8. You can use Zeppelin instead which supports scala-shell of scala-2.12, I have verified that it works in Zeppelin when you use scala-2.12.