Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.13.x or later arguing on 0.13.8 #2164

Closed
ror6ax opened this issue Aug 18, 2015 · 5 comments
Closed

0.13.x or later arguing on 0.13.8 #2164

ror6ax opened this issue Aug 18, 2015 · 5 comments

Comments

@ror6ax
Copy link

ror6ax commented Aug 18, 2015

Error is as follows:

➜  pewpew  ./sbt -sbt-version 0.13.8
Detected sbt version 0.13.8
Starting sbt: invoke with -help for other options
Using /home/ror6ax/.sbt/0.13.8 as sbt dir, -sbt-dir to override.
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=384m; support was removed in 8.0
[ERROR] Terminal initialization failed; falling back to unsupported
java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but interface was expected
    at jline.TerminalFactory.create(TerminalFactory.java:101)
    at jline.TerminalFactory.get(TerminalFactory.java:159)
    at sbt.ConsoleLogger$.ansiSupported(ConsoleLogger.scala:123)
    at sbt.ConsoleLogger$.<init>(ConsoleLogger.scala:117)
    at sbt.ConsoleLogger$.<clinit>(ConsoleLogger.scala)
    at sbt.GlobalLogging$.initial(GlobalLogging.scala:43)
    at sbt.StandardMain$.initialGlobalLogging(Main.scala:60)
    at sbt.StandardMain$.initialState(Main.scala:69)
    at sbt.xMain.run(Main.scala:28)
    at xsbt.boot.Launch$.run(Launch.scala:55)
    at xsbt.boot.Launch$$anonfun$explicit$1.apply(Launch.scala:45)
    at xsbt.boot.Launch$.launch(Launch.scala:60)
    at xsbt.boot.Launch$.apply(Launch.scala:16)
    at xsbt.boot.Boot$.runImpl(Boot.scala:31)
    at xsbt.boot.Boot$.main(Boot.scala:20)
    at xsbt.boot.Boot.main(Boot.scala)

java.lang.IncompatibleClassChangeError: JLine incompatibility detected.  Check that the sbt launcher is version 0.13.x or later.
    at sbt.ConsoleLogger$.ansiSupported(ConsoleLogger.scala:134)
    at sbt.ConsoleLogger$.<init>(ConsoleLogger.scala:117)
    at sbt.ConsoleLogger$.<clinit>(ConsoleLogger.scala)
    at sbt.GlobalLogging$.initial(GlobalLogging.scala:43)
    at sbt.StandardMain$.initialGlobalLogging(Main.scala:60)
    at sbt.StandardMain$.initialState(Main.scala:69)
    at sbt.xMain.run(Main.scala:28)
    at xsbt.boot.Launch$.run(Launch.scala:55)
    at xsbt.boot.Launch$$anonfun$explicit$1.apply(Launch.scala:45)
    at xsbt.boot.Launch$.launch(Launch.scala:60)
    at xsbt.boot.Launch$.apply(Launch.scala:16)
    at xsbt.boot.Boot$.runImpl(Boot.scala:31)
    at xsbt.boot.Boot$.main(Boot.scala:20)
    at xsbt.boot.Boot.main(Boot.scala)
Error during sbt execution: java.lang.IncompatibleClassChangeError: JLine incompatibility detected.  Check that the sbt launcher is version 0.13.x or later.
@ror6ax
Copy link
Author

ror6ax commented Aug 18, 2015

The following script returns True:

object Tst extends App {
val terminal = jline.TerminalFactory.get
terminal.restore
println(terminal.isAnsiSupported);
}

@jsuereth
Copy link
Member

Is this using the paulp/sbt-extras launcher?

If so, can you use -d to show us what it's really running?

@ror6ax
Copy link
Author

ror6ax commented Aug 21, 2015

I'm using vanilla sbt.

@jsuereth
Copy link
Member

which launcher? -sbt-version changes the version of sbt BUT not the launcher version

@eed3si9n
Copy link
Member

Closing this since the OP has probably moved on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants