Importing external classes

Mick Jordan mick.jordan at oracle.com
Wed Jan 15 09:25:55 PST 2014


On 1/15/14 9:22 AM, Curt Albert wrote:
> I am wanting to import a package from external project into one of my
> substitutions in com.oracle.graal.replacements .  I was using Netbeans to
> compile it and I added the library in Netbeans so it will compile correctly
> but when I try and run mx vm I get the error:
>
>
>
> Also when I try to build with mx build I get the error that the package I
> am trying to import does not exist.
>
> How can I add the external package so that mx can find it?
>
You have to add the package as a "library" in the mx/projects file. 
There are plenty of examples in the existing file for you to copy.

Mick



More information about the graal-dev mailing list