From: John C. <jc...@un...> - 2011-04-28 20:36:17
|
Hans, I tried your test class on my system and it partially compiled, but then I got the error "[04/28/11 13:05:29.608] ERROR: Oh no, XMLVM needs more memory. Try running with -Xmx1G or more." Don't know if it matters, but did you put your source file into a directory named 'test' to match the package? See the layout of my files, and the content of the Makefile, at http://unternet.net/xmlvm, and the part that xmlvm was able to complete at http://unternet.net/xmlvm/.cache/pcache/org.xmlvm.proc.out.DEXmlvmOutputProcess/ On my (Debian stable) build system, /usr/local/bin/xmlvm is a symlink to /usr/src/xmlvm-new/trunk/xmlvm/dist/xmlvm.jar On Thu, Apr 28, 2011 at 1:26 AM, hka...@go... <hka...@go...> wrote: > Hello Arno, > > currently I am again struggeling with xmlvm. I gived the xmlvm now the > second try and I am falling again... > My goal: I just want to get C/C++ code from Java. > > I cannot even get a simple example running. > 1. I checked out trunk. > 2. I created a test class, a pretty, pretty simple one > Here my test class: > package test; > > public class HelloWorld { > > public static void main(String[] args) { > System.out.println("hello world"); > } > > } > > 3. I created a launch config > Here my launch params: > --in=${workspace_loc:xmlvm-test}/bin > --out=${workspace_loc:xmlvm-test-cpp}/generated/posix/src --target=posix > --app-name=xmlvm-test > > now I get: > Exception in thread "main" java.lang.NullPointerException > at -- John Comeau <jc...@un...> http://jc.unternet.net/ "A place for everything, and everything all over the place" |