0

I am working on this IntelliJ plugin HotSwapAgent issue. I forked the code and imported it.

No matter what I do, keep having compile issues.

  • The Java code can't seem to find javax.swing.*.
  • The Kotlin code can't find java.lang.*.
  • The plugin also relies on 2 devkit classes, IdeaJdk and Sandbox, but the devkit package cannot be found.

I followed the instructions for setting up my dev environment, checking out IntelliJ CE, imported the project, similar to this.

There was a library called KotlinJavaRuntime containing the following:

<component name="libraryTable">
  <library name="KotlinJavaRuntime">
    <CLASSES>
      <root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-runtime.jar!/" />
      <root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-reflect.jar!/" />
    </CLASSES>
    <JAVADOC />
    <SOURCES>
      <root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-runtime-sources.jar!/" />
    </SOURCES>
  </library>
</component>

I changed it to something that matches the updated Kotlin plugin, but to no avail.

All I want to do right now is get this IntelliJ Plugin out of GitHub and compile it.

Does anyone have any insight into this? Thanks!

arnaldop
  • 333
  • 6
  • 17
  • Check if your SDK is properly configured. Also, it's recommended to use Gradle, not devkit – user Apr 24 '20 at 18:57
  • Is any of your java is running?. from this end, it looks like you are not configured java plugin. Please provide more details, with plugin.xml. Convert it to Gradle project it will definitely ease your development. – noobEinstien Aug 14 '20 at 05:49

0 Answers0