question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Please specify proper '-jvm-target' optionkotlin(INLINE_FROM_HIGHER_PLATFORM)

See original GitHub issue

Trying to use the plugin with java 11 on OSX.

openjdk 11.0.1 2018-10-16
OpenJDK Runtime Environment 18.9 (build 11.0.1+13)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.1+13, mixed mode)

It is a simple project generate via springr.

I get the following error

Cannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6. Please specify proper '-jvm-target' optionkotlin(INLINE_FROM_HIGHER_PLATFORM)
screenshot 2018-12-28 at 03 05 39

You can reproduce using this repo https://github.com/laibulle/spring-kotlin-sample. The code run via

gradle bootRun

Best regards

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:16 (6 by maintainers)

github_iconTop GitHub Comments

6reactions
fwcdcommented, Jul 18, 2019

Fixed by #128.

5reactions
laibullecommented, Dec 28, 2018

I switch back to Java 8

java version "1.8.0_192"
Java(TM) SE Runtime Environment (build 1.8.0_192-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.192-b12, mixed mode)

and still have the same message.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I set the jvm target for android studio using gradle and ...
Cannot inline bytecode built with JVM target 1.7 into bytecode that is being built with JVM target 1.6. Please specify proper '-jvm-target' ...
Read more >
IntelliJ plugin uses wrong JVM target when Kotlin Facet is not ...
IntelliJ plugin uses wrong JVM target when Kotlin Facet is not configured. 8. Is duplicated by 2 ... Please specify proper '-jvm-target' option....
Read more >
[Solved] Can not inline bytecode built with JVM target 1.8 into ...
[Solved] Can not inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target ... Please specify proper...
Read more >
How to configure Kotlin target JVM - CUBA.Platform
Please specify proper '-jvm-target' option. Setting the proper target JVM in the project settings is possible, but doesn't seem to be a ...
Read more >
Kotlin compiler options
If you're using Gradle, specify the compiler arguments in the kotlinOptions property of the ... Automatically sets -jvm-target version .
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found