Jump to content

Recommended Posts

Posted

when i try to compile l2jbrick i got this error

 

[javac] C:\Documents and Settings\.......\workspace\trunk\L2Brick_Server\build.xml:45: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds

   [javac] Compiling 1590 source files to C:\Documents and Settings\........\workspace\trunk\L2Brick_Server\build\classes

   [javac] The system is out of resources.

   [javac] Consult the following stack trace for details.

   [javac] java.lang.OutOfMemoryError: Java heap space

   [javac] at com.sun.tools.javac.util.Name.append(Name.java:300)

   [javac] at com.sun.tools.javac.code.Symbol$TypeSymbol.formFullName(Symbol.java:494)

   [javac] at com.sun.tools.javac.comp.Resolve.findIdentInPackage(Resolve.java:1003)

   [javac] at com.sun.tools.javac.comp.Attr.selectSym(Attr.java:1921)

   [javac] at com.sun.tools.javac.comp.Attr.visitSelect(Attr.java:1835)

   [javac] at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:1522)

   [javac] at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:360)

   [javac] at com.sun.tools.javac.comp.Attr.visitSelect(Attr.java:1799)

   [javac] at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:1522)

   [javac] at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:360)

   [javac] at com.sun.tools.javac.comp.Attr.visitSelect(Attr.java:1799)

   [javac] at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:1522)

   [javac] at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:360)

   [javac] at com.sun.tools.javac.comp.Attr.attribType(Attr.java:390)

   [javac] at com.sun.tools.javac.comp.Attr.visitTypeArray(Attr.java:2402)

   [javac] at com.sun.tools.javac.tree.JCTree$JCArrayTypeTree.accept(JCTree.java:1675)

   [javac] at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:360)

   [javac] at com.sun.tools.javac.comp.Attr.attribType(Attr.java:390)

   [javac] at com.sun.tools.javac.comp.MemberEnter.signature(MemberEnter.java:355)

   [javac] at com.sun.tools.javac.comp.MemberEnter.visitMethodDef(MemberEnter.java:560)

   [javac] at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:639)

   [javac] at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:387)

   [javac] at com.sun.tools.javac.comp.MemberEnter.addEnumMembers(MemberEnter.java:429)

   [javac] at com.sun.tools.javac.comp.MemberEnter.finishClass(MemberEnter.java:407)

   [javac] at com.sun.tools.javac.comp.MemberEnter.finish(MemberEnter.java:1000)

   [javac] at com.sun.tools.javac.comp.MemberEnter.complete(MemberEnter.java:967)

   [javac] at com.sun.tools.javac.code.Symbol.complete(Symbol.java:386)

   [javac] at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:758)

   [javac] at com.sun.tools.javac.comp.Enter.complete(Enter.java:451)

   [javac] at com.sun.tools.javac.comp.Enter.main(Enter.java:429)

   [javac] at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:819)

   [javac] at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:727)

 

BUILD FAILED

C:\Documents and Settings\............./workspace\trunk\L2Brick_Server\build.xml:45: Compile failed; see the compiler error output for details.

 

Total time: 39 seconds

 

 

when i try to compile other project i do it with success

 

whats the problem???

 

(also project seems good)

Posted

1nf0: Lf use Eclipse must give more memory for Eclipse ( [javac] java.lang.OutOfMemoryError: Java heap space )

You can edit min/max memory for eclipse in eclipse.ini (is at eclipse.exe)

Find:

-Xms40m
-Xmx256m

 

rewrite:

-Xms40m 
-Xmx512m

 

I recomented use this guide: http://l2brick.funsite.cz/index.php?topic=147.0

if does not help contact me via private messages.

 

Good luck!

 

Amphetamine: Thanks

Posted

also i try to compile with your guide but i have a problem i have installed jdk and jre  26 version but

 

            ============

            = ERROR!!! =

            ============

 

    JAVA JDK not exists.

    Set path to JAVA JDK into JAVA_PATH in this script file or

    set JAVA_HOME variable into system variables.

 

Posted

also i try to compile with your guide but i have a problem i have installed jdk and jre  26 version but

 

           ============

           = ERROR!!! =

           ============

 

   JAVA JDK not exists.

   Set path to JAVA JDK into JAVA_PATH in this script file or

   set JAVA_HOME variable into system variables.

 

 

Build.bat:

:: SET JAVA_PATH="C:\Program Files\Java\jdk1.6.0_21"

 

Change to:

:: SET JAVA_PATH="C:\Program Files\Java\jdk1.6.0_26"

 

Posted

afff .. lol pack .. just adding configs to everything, making fail fixes and believing everything is skills


 

Just made me laught..

 

btw, you always can close your sucky project, and go learn java, you know?

Posted

afff .. lol pack .. just adding configs to everything, making fail fixes and believing everything is skills


 

Just made me laught..

 

btw, you always can close your sucky project, and go learn java, you know?

 

And what have u done or created?

Nothing i guess,at least not for community!

Guest
This topic is now closed to further replies.

×
×
  • Create New...