Cannot Compile: org.jnode.build.BuildException does not exist
Submitted by Fred on Sat, 02/21/2004 - 14:33.
Hello,
i try to compile with your build.bat, then i have some error:
compile:
[javac] Compiling 10 source files to C:\JNodeSrc\builder\build\classes
[javac] C:\JNodeSrc\builder\src\builder\org\jnode\linker\ElfLinker.java:11:
package org.jnode.build does not exist
[javac] import org.jnode.build.BuildException;
.
.
.
I use the jnode-0.1.5.iso.gz
Any idea where is the BuildException.java ?
Fred
V+
- Login to post comments
build from CVS
Hi Fred,
jnode-0.1.5.iso.gz is the CRDOM image that you can run jnode from. Although it does contain a jnodesource.zip, that zip does not contain the builder stuff (the package org.jnode.build).
You should instead get the sources from jnode's CVS repository if you'd like to build it.
greets,
Andras
[bootimage] java.lang.OutOfMemoryError
ok, thx.
Now, i download source from CVS, but i got this error:
java-image:
[bootjar] Building jar: C:\jnode\all\build\x86\bootimage\jnode-boot.jar
[bootjar] Building boot-jar took 3184ms
[bootimage] Building for CPU: name:GenuineIntel family:0 model:0 step:0 features:FPU,PSE raw:00000001 756E6547 6C65746E
49656E69 00000000 00000000 00000000 00000009
[bootimage] java.lang.OutOfMemoryError
BUILD FAILED
C:\jnode\all\build.xml:118: Following error occured while executing this line
C:\jnode\all\build-x86.xml:180: java.lang.OutOfMemoryError
Use build.bat/sh
Use build.bat/sh or adjust the memory settings of your VM manually to somewhere like 512Mb. The build process is very memory intensive.
How to Build in Eclipse?
I download Jnode with the CVS function of Eclipse!but I can not complier it pass with Eclipse.
please tell me how to build in Eclise?and what plug-in(s) are needed,
my Eclipse version is 2.1.2,plug-in is itself!
Documentation added
See this
running Ant in an external process
Epr, how can I run Ant in an external process with Eclipse 3 M7 ?
Because I got an OutOfMemoryError, I searched and found we can specify the max heap size eclipse can use. So I call eclipse with "eclipse.exe -vmargs -Xmx512M" (I have 512Mo of RAM) but It doesn't solve my problem.
As you said in docs, I would like to run Ant in an external process. But I don't know how I can do it.
build under eclipse 3
Finally, I found the solution to my problem :
I added it to the Documentation