[JAVA] Internal commands when running Kotlin on IntelliJ IDEA

environment

macOS:10.13.6 IntelliJ IDEA: 2018.1.6

What i did

In such a state

スクリーンショット 2018-08-27 14.32.17.png

I just broke the command at runtime appropriately.

スクリーンショット 2018-08-27 14.32.17 2.png

Disassembly

/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/bin/java
 "-javaagent:/Applications/IntelliJ IDEA CE.app/Contents/lib/idea_rt.jar=56856:/Applications/IntelliJ IDEA CE.app/Contents/bin"
 -Dfile.encoding=UTF-8
 -classpath
  "/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/charsets.jar
   :/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/deploy.jar
   :/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/cldrdata.jar
   :/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/dnsns.jar
   :/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/jaccess.jar
   :/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/jfxrt.jar
   :/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/localedata.jar
   :/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/nashorn.jar
   :/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/sunec.jar
   :/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar
   :/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar
   :/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/ext/zipfs.jar
   :/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/javaws.jar
   :/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/jce.jar
   :/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/jfr.jar
   :/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/jfxswt.jar
   :/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/jsse.jar
   :/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/management-agent.jar
   :/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/plugin.jar
   :/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/resources.jar
   :/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/rt.jar
   :/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/lib/ant-javafx.jar
   :/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/lib/dt.jar
   :/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/lib/javafx-mx.jar
   :/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/lib/jconsole.jar
   :/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/lib/packager.jar
   :/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/lib/sa-jdi.jar
   :/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/lib/tools.jar  
   :/Users/koji/work/kotlin/myfirstkotlin/out/production/myfirstkotlin
   :/Users/koji/Library/Application Support/IdeaIC2018.1/Kotlin/kotlinc/lib/kotlin-stdlib.jar
   :/Users/koji/Library/Application Support/IdeaIC2018.1/Kotlin/kotlinc/lib/kotlin-reflect.jar
   :/Users/koji/Library/Application Support/IdeaIC2018.1/Kotlin/kotlinc/lib/kotlin-test.jar
   :/Users/koji/Library/Application Support/IdeaIC2018.1/Kotlin/kotlinc/lib/kotlin-stdlib-jdk7.jar
   :/Users/koji/Library/Application Support/IdeaIC2018.1/Kotlin/kotlinc/lib/kotlin-stdlib-jdk8.jar"
 HelloWorldKt

--Java common classpath --The target class for which the Run button was pressed --Library for running Kotlin

It seems to be the order.

Summary

image.png

Only me.

In the first place, I left it to Gradle at the time of Java, so I don't know anymore.

Recommended Posts

Internal commands when running Kotlin on IntelliJ IDEA
Relative path when running tomcat on eclipse
Error when running git push heroku master on Heroku
Precautions when running apps including Jackson on Glassfish 4.1
IntelliJ IDEA settings
Step notes until JUnit 5 works on Mac + IntelliJ IDEA
How to use java non-standard library on IntelliJ IDEA
What to see when IntelliJ doesn't start on Mac
Ruby on Rails Tutorial Troublesome notes when running on Windows