serebit
01/05/2019, 7:54 PMNo class roots are found in the JDK path: /usr/lib64/openjdk-8/jre
- Several instances of 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' option
How can I address these?Czar
01/05/2019, 8:00 PMserebit
01/05/2019, 8:08 PM/usr/lib64/openjdk-8
. I do have a proper JDK, but the scripting compiler seems to only want to use the JRE.serebit
01/05/2019, 8:12 PM/usr/lib64/openjdk-8
, that error goes away, but the inlining errors persist.serebit
01/05/2019, 8:17 PMCzar
01/05/2019, 8:58 PMScriptCompilationConfiguration
?serebit
01/05/2019, 9:05 PMNikky
01/05/2019, 9:12 PMNikky
01/05/2019, 9:13 PMCzar
01/05/2019, 9:21 PMCzar
01/05/2019, 9:27 PMMinimalScriptingExample\src\main\kotlin\example\script\ScriptEnvironmentConfiguration.kt:19
you have a spelling mistake: -jvm-targe
should be -jvm-target
in MinimalScriptingExample\src\main\kotlin\example\script\ScriptEnvironment.kt:8
fileExtension = voodoo.kts
should probably be fileExtension = kts
or omitted (unless I'm missing something and your script files look like something.voodoo.kts
)Nikky
01/05/2019, 9:27 PMNikky
01/05/2019, 9:28 PM-jvm-target 8
Nikky
01/05/2019, 9:29 PMCzar
01/05/2019, 9:29 PMNikky
01/05/2019, 9:50 PMNikky
01/05/2019, 9:51 PMNikky
01/05/2019, 9:53 PMCzar
01/05/2019, 10:01 PMhello.example.kts
, because mine worksNikky
01/05/2019, 10:01 PMNikky
01/05/2019, 10:02 PMNikky
01/05/2019, 10:03 PMNikky
01/05/2019, 10:03 PM./gradlew run
should reproduce itCzar
01/05/2019, 10:09 PMNikky
01/05/2019, 10:17 PMNikky
01/05/2019, 10:45 PMserebit
01/05/2019, 10:57 PMCzar
01/06/2019, 12:25 AMserebit
01/06/2019, 12:56 AM