Compiling

Discussion in 'BungeeCord Plugin Development' started by Phineas, Jul 12, 2015.

  1. Hey,

    I am trying to compile a BungeeCord plugin from Maven, but I get this error in IntelliJ when I click 'package' from Lifecycle: http://pastebin.com/CCBiKYAD - and it does not dump the .jar into the Target folder.
    My pom.xml - http://pastebin.com/jy1q2SKS


    All help is appreciated!
    -Phineas
     
  2. You have to set your language level to, something. File -> Project Structure -> Project Language Level, mine is set to 7.

    And your Module: File -> Project Structure -> Module: same level.
    As long as the two are the same it is ok
     
  3. Set your JDK to 1.8 or you need to set JAVA_HOME to your jdk7 home directory, for example on Microsoft Windows:

    • "C:\Program Files\Java\jdk1.7.0_40"
    or on OS X:

    • /Library/Java/JavaVirtualMachines/jdk1.7.0_40.jdk/Contents/Home