I was following this tutorial to build jME2 in Eclipse, and it resulted in an error in cg_setuser_type.java – “Internal compiler error java.lang.OutOfMemoryErrorJava heap space at org.eclipse.jdt.internal.compiler.util.Util.getInputStreamAsCharArray(Util.java:386)…” I’m pretty lost. What can I do to get it to build?
Sounds like an eclipse problem.
What OS and hardware are you using ?
XP, SP3. 4 gigs of RAM, core 2 duo, NVIDIA Quadro NVS 135M. It's a laptop.
Google for 'java.lang.OutOfMemoryErrorJava heap space at org.eclipse.jdt.internal.compiler'
Maybe it helps starting eclipse with a higher -Xmx value. (a setting in your eclipse.ini)
Didn’t have that in my .ini, so I grabbed a new one. That did it, thanks.
However, I now get this following that same tutorial:
java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
I think I followed it pretty closely, what could I have done wrong?
you didn't follow it closely enough
see "Resolving the Build Path Issues" -> 4. Finally, we need to tell LWJGL where to find its native implementation …
EDIT: Oh. Doy. Wrong native lib.
Thanks. I can see my sphere now.