I seem to be able to compile it but i cant run it
I tried lots of ways .. I dunno what im doing really.
-bash-4.1$ java LVM logo.out
Exception in thread “main” java.lang.ArrayIndexOutOfBoundsException: 1
at LVM.main(LVM.java:20)
-bash-4.1$ java LVM
Exception in thread “main” java.lang.ArrayIndexOutOfBoundsException: 0
at LVM.main(LVM.java:20)
-bash-4.1$ java LVM < logo.out
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
at LVM.main(LVM.java:20)
..i dunno.????
]]>I see. I was just running the compiler *face palm*. Now when I hardcode in the values in “new LVM(“todo.logo”, 1);” and run LVM, I get
Exception in thread “main” java.io.StreamCorruptedException: invalid stream header: 61203C2D
]]>I see this error when I try to run something that doesn’t have a main with String[] parameter. Did you remove the String[] parameter on main?
]]>But as I mention above, using Eclipse might be easier since LVM will try to create a window.
]]>Run CompilerLoogo on your Logo source file. It’ll produce a logo.out in your project directory. Run LVM on logo.out. See to TODO comments in both these files to hardcode paths.
]]>What you use as a workspace does not matter. How does a project come into existence?
]]>The ANTLR jar file needs to be on your classpath. That can be set through an environment variable or via the java utility: java -cp /path/to/antlr.jar:. MyJavaClass.
]]>