L2JMobius

CT0 compile

dramaa · 5 · 496

Online dramaa

  • Elder
  • ****
    • Posts: 127
when i am trying to compile, it's getting error, this is the error, can you help me and tell me what is the problem?


      <javac srcdir="${src}" classpathref="classpath" destdir="${build.bin}" compiler="modern" debug="true" debuglevel="lines,vars,source" includeantruntime="false" source="21" target="21" encoding="UTF-8" />


Offline the_coca_

  • Knight
  • ***
    • Posts: 57
when i am trying to compile, it's getting error, this is the error, can you help me and tell me what is the problem?


      <javac srcdir="${src}" classpathref="classpath" destdir="${build.bin}" compiler="modern" debug="true" debuglevel="lines,vars,source" includeantruntime="false" source="21" target="21" encoding="UTF-8" />


Compatibility problems with your java version


Online dramaa

  • Elder
  • ****
    • Posts: 127

Compatibility problems with your java version

i used link from useful stuff, i had old version of java and it was showing error, so i downloaded newer from "useful stuff" page :/


Offline qazokn

  • Vassal
  • *
    • Posts: 3
when i am trying to compile, it's getting error, this is the error, can you help me and tell me what is the problem?


      <javac srcdir="${src}" classpathref="classpath" destdir="${build.bin}" compiler="modern" debug="true" debuglevel="lines,vars,source" includeantruntime="false" source="21" target="21" encoding="UTF-8" />

You are showing us the source code of build.xml and not the error from the console  :P

I had an issue compiling as well, but fixed the issue with this thread: https://l2jmobius.org/forum/index.php?topic=11939.0

Specifically, the fix for me was to do this: build.xml > Run As > External Tools Configuration... > JRE Tab > Seperate JRE: LibericaJDK-21
Screenshot: https://prnt.sc/UjxJpsWksSCU





Online dramaa

  • Elder
  • ****
    • Posts: 127
You are showing us the source code of build.xml and not the error from the console  :P

I had an issue compiling as well, but fixed the issue with this thread: https://l2jmobius.org/forum/index.php?topic=11939.0

Specifically, the fix for me was to do this: build.xml > Run As > External Tools Configuration... > JRE Tab > Seperate JRE: LibericaJDK-21
Screenshot: https://prnt.sc/UjxJpsWksSCU
thx.