Posted by: Morten Nobel-Jørgensen | July 16, 2008

Using Eclipse compiler to create dynamic Java objects

In this blog I’ll describe how I used the Eclipse compiler for compiling Java source on-the-fly to create instant ‘view’ of the result.

More precisely I’ll show how to compile and invoke the following simple HalloWorld class on the fly:

public class HalloWorldTest{   
	public static void main(String[] args) {       
		System.out.println("Hallo world");   
	}
}

Read More…

Posted by: Morten Nobel-Jørgensen | June 25, 2008

Scenegraph Shell 0.2

I have updated the project to support both BeanShell and the Eclipse compiler. In other words, you can now write full Java classes with generics ( – but I have keeped the BeanShell interpreter as well). Read More…

« Newer Posts

Categories